-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Aspnetstarter1
Message 5 in Discussion
Hi pooran prasad / all I have used as you said. but there is some problem here it
is. I have used a html button control with runat attribute. On click of it i'm
calling a function called "OpenCOuntypage()" function OpenCountyPage(){
var strResult
strResult=window.showModalDialog("addCounty.aspx","","dialogHeight: 200px;
dialogWidth: 400px; dialogTop: 53px; dialogLeft: 28px; edge: Raised; center: Yes;
resizable: no; status: Yes;");
alert("The value returned is : " + strResult);
} It's showing the aspx page , which contains text box (web control), dropdownlist
and html button control with runat attribute and reset button. When Save is clicked
i'm checking in the codebehind module, whether the user entered the values and saving
into the database. After this successful database addition, i'm calling the below
stmt. RegisterStartupScript("closewindow", "<script language=javascript>
window.returnValue = """ & txtCounty.Text & """; window.close(); </script>") But this
modal dialog doesn't close and return the value back to the Calling page , instead it
showing the same page and closes (like flash) but the modal dialog window remains as
it is. Can anyone help me out ? Thanks in advance.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]