Hi,
I have a main.aspx page, when a user clicks on a link button in a gridView a RadWindow is displayed with a EditIncident.aspx page inside of it.
I have 3 buttons on the Incident.aspx page (Save, Clear and Cancel) This all works great but once the RadWindow is open no matter which button i click on the RadWindow Will close. How can i prevent this. I have looked through some of the examples and none have seemed to work for me.
Script i am using to open the window
RadWindow
I have a main.aspx page, when a user clicks on a link button in a gridView a RadWindow is displayed with a EditIncident.aspx page inside of it.
I have 3 buttons on the Incident.aspx page (Save, Clear and Cancel) This all works great but once the RadWindow is open no matter which button i click on the RadWindow Will close. How can i prevent this. I have looked through some of the examples and none have seemed to work for me.
Script i am using to open the window
function ShowEditForm(id, rowIndex) { var grid = $find("<%= grdIncidents.ClientID %>"); var rowControl = grid.get_masterTableView().get_dataItems()[rowIndex].get_element(); grid.get_masterTableView().selectItem(rowControl, true); window.radopen("EditIncidents.aspx?IncidentID=" + id, "IncidentListDialog"); return false;}RadWindow
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="True" RestrictionZoneID="RadPane1" ReloadOnShow="true" ><Windows><telerik:RadWindow ID="IncidentListDialog" runat="server" Title="Incident" Modal="false" ReloadOnShow="true" ShowContentDuringLoad="false" Width="900px" Height="760px" Top="80px" Left="100px" ></telerik:RadWindow> </Windows></telerik:RadWindowManager>