PDA

View Full Version : [CLOSED] How to open a window with client-side code



Jurke
Sep 12, 2008, 10:19 AM
Hi
I have a window, that I want to open with client-side code. How do I do that.
This is how its done in the code behind


protected void btnChangeCharter_Click(object sender, AjaxEventArgs e){
window1.Show();
}


but I want to do it html/javascript, like this


<input value='test' type='button' onclick='window1.show();'>

How do I do that?




<ext:Window ID="window1" Width="615" Height="600" Modal="true" runat="server" Showonload="false" Collapsible="false" Icon="Application" Title="Alter charter" >


Best regards
Mikael Jürke

Vladimir
Sep 12, 2008, 10:33 AM
Please see next posts

http://forums.ext.net/showthread.php?threadid=1506-4-1.aspx
http://forums.ext.net/showthread.php?threadid=1293-16-1.aspx
http://forums.ext.net/showthread.php?threadid=1250-4-1.aspx

Jurke
Sep 12, 2008, 10:38 AM
Hi
Thank you, sorry for not finding them myself.

Best regards
Mikael Jürke