I have a Radgrid name grdActionList displaying data records.
I have a buttton as BtnAdd which, when clicked, opens a RadWindow which in turn has a NavigateUrl property set to AddData.aspx.
The AddData.aspx has a few textboxes and a "Add records" button named BtnAddRecords.
When the BtnAddRecords is clicked, the data from the textfields are stored in the DB and the RadWindow is closed.
How can I:
- After the RadWindow is closed, the RadGrid is refresh / rebind.
- All a message is displayed in the label just above the radgrid.
I have written a JS in the base page as to refresh the radgrid:
I have defined the RadWindow as:
<telerik:RadWindow ID="Window1" runat="server" EnableViewState="false" NavigateUrl="ActionPopup.aspx" Modal="true" Animation="Fade" VisibleStatusbar="false" Title="Manage Action" OnClientClose="OnClientClose" Behaviors="Close"></telerik:RadWindow>
This doesnot work!