Sep 12, 2008, 10:19 AM
[CLOSED] How to open a window with client-side code
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
Mikael Jürke
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 regardsMikael Jürke