Ask a Question related to ASP.NET General, Design and Development.
-
Ken Cox [Microsoft MVP] #1
Re: launching modal IE window from server code
Hi Zeng,
You might want to add a Literal control just before your closing </form> tag.
On the linkbutton click you can output client-side code to make the modal
window appear.
Something like this:
Private Sub LinkButton1_Click _
(ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles LinkButton1.Click
' Do stuff on the server
LinkButton1.Text = "Okay, I was clicked."
Literal1.Text = "<script>showModalDialog('http://www.gc.ca/');</script>"
End Sub
Does this help?
Ken
MVP [ASP.NET]
"Zeng" <zzy@nonospam.com> wrote in message
news:ONBFZFLUDHA.2260@TK2MSFTNGP12.phx.gbl...
Hi,
I working on a page (let's call it page A). Page A contains a link button
that when user clicks on it, my handler in the server (must be in the
server) will process the event then launch another IE window in modal mode
and display page B. Does anyone know how to do that?
Ken Cox [Microsoft MVP] Guest
-
Parent window for modal dialog
What is the best way to get a parent window for a modal dialog? Currently, I am using the following code: HWND hParent =... -
The PopUpManager does not seem to be a real Modal Window
I really do not forget to specify the thrid parameter to "true" when i popup the window. pop = mx.managers.PopUpManager.createPopUp(pnl,... -
Modal Window in Safari 1.2 \1.3
Hi All, The 'Modal' window in my web applications does not work in Safari. Is there any way to make this function work in Safari ? or can any one... -
Modal window
I have a Flash form (form A) with lots of buttons and other components such as comboboxes on it. Another Flash form (form B) can be opened from the... -
Popup Modal Window
try this ... private void popup(string param1, string param2) { string sWindow = "mywindow"; string jscript; jscript = "<script... -
Saravana #2
Re: launching modal IE window from server code
Check out this article, here i am using button to launch the IE window.
[url]http://www.microsoft.com/india/msdn/articles/PopupCalendarinASP.aspx[/url]
--
Saravana
Microsoft India Community Star,
MCAD,SE,SD,DBA.
"Zeng" <zzy@nonospam.com> wrote in message
news:ONBFZFLUDHA.2260@TK2MSFTNGP12.phx.gbl...> Hi,
>
> I working on a page (let's call it page A). Page A contains a link button
> that when user clicks on it, my handler in the server (must be in the
> server) will process the event then launch another IE window in modal mode
> and display page B. Does anyone know how to do that?
>
>
>
Saravana Guest



Reply With Quote

