New Message on dotNET User Group Hyd

Doing Modal Webforms, Client side Dialog s

Reply
  Reply to Sender   Recommend Message 3 in Discussion
From: mvkssuresh

Hi sagar,<o:p></o:p>

<o:p> </o:p>

In the following code Response.write("<script language='_javascript_"> window.open("popup.aspx","height=200,width=100")</script>)<o:p></o:p>

<o:p> </o:p>

Replace window.open with window.showModalDialog<o:p></o:p>

Try this.<o:p></o:p>

<o:p> </o:p>

And for the Second one try the following one<o:p></o:p>

<o:p> </o:p>

Use _javascript_ confirm method for your requirement.<o:p></o:p>

<o:p> </o:p>

If(confirm(“Are you sure you want to delete this record ?”))<o:p></o:p>

{<o:p></o:p>

            // write your code for if the user press ok           <o:p></o:p>

Alert(“Yes”);<o:p></o:p>

}<o:p></o:p>

Else<o:p></o:p>

{<o:p></o:p>

// write your code for if the user press cancel<o:p></o:p>

            Alert(“No”);<o:p></o:p>

}<o:p></o:p>

<o:p> </o:p>

<o:p> </o:p>

Thanks & regards,<o:p></o:p>

MVKS Suresh<o:p></o:p>

Intelligroup Asia Pvt. Ltd.<o:p></o:p>

<o:p> </o:p>


From: ba_sagar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 8:19 PM
To: dotNET User Group Hyd
Subject: Doing Modal Webforms, Client side Dialog s
<o:p></o:p>

<o:p> </o:p>

<o:p></o:p>

<o:p></o:p>

New Message on dotNET User Group Hyd<o:p></o:p>

<o:p></o:p>

<o:p> </o:p>

Doing Modal Webforms, Client side Dialog s<o:p></o:p>

Reply
<o:p></o:p>

 <o:p></o:p>

Reply to Sender   Recommend <o:p></o:p>

Message 1 in Discussion <o:p></o:p>

<o:p></o:p>

From: ba_sagar <o:p></o:p>

<o:p> </o:p>

Trouble again !

How to open a modal webforms ? When I want click on my aspx button, I want to show a pop up window ( a webform). The user cannot come back to the main webform without closing the popup. How ?

I was trying something like

Response.write("<script language='_javascript_"> window.open("popup.aspx","height=200,width=100")</script>) <o:p></o:p>

Does anyone have working code on this issue ?<o:p></o:p>

 <o:p></o:p>

 <o:p></o:p>

And again, How to do a asp.net equivalent of the following VB6 code<o:p></o:p>

if vbyes = msgbox("Are you sure you want to delete this record ?",vbyesno) then<o:p></o:p>

' go ahead<o:p></o:p>

else<o:p></o:p>

'do nothing<o:p></o:p>

end if<o:p></o:p>


How to write a ClientSide code ( _javascript_) for the above functionalty in a aspx page ?

Thanks,
Anand Sagar.<o:p></o:p>

<o:p></o:p>


View other groups in this category.


View other groups in this category.

Click here!
Also on MSN:
Start Chatting | Listen to Music | House & Home | Try Online Dating | Daily Horoscopes

To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.

Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.

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.
Remove my e-mail address from dotNET User Group Hyd.

Reply via email to