Hi,
I have a grid:
| <telerik:RadGrid ID="radGridUsers" runat="server" |
| AllowAutomaticDeletes="false" |
| AllowAutomaticInserts="false" |
| AllowAutomaticUpdates="false" |
| AllowCustomPaging="false" |
| AllowMultiRowSelection="true" |
| AllowPaging="true" |
| AllowSorting="true" |
| AutoGenerateColumns="false" |
| AutoGenerateDeleteColumn="false" |
| AutoGenerateEditColumn="false" |
| GroupingEnabled="false" |
| PageSize="20" |
| ShowFooter="false" |
| ShowGroupPanel="false" |
| ShowHeader="true" |
| ShowStatusBar="false" |
| Skin="Vista" |
| style="width:auto" |
| > |
| <ClientSettings AllowColumnHide="false" AllowColumnsReorder="false" AllowDragToGroup="false" AllowExpandCollapse="false" AllowRowHide="false" AllowRowsDragDrop="false" EnablePostBackOnRowClick="false" EnableRowHoverStyle="true" ReorderColumnsOnClient="true"> |
| <ClientEvents /> |
| <ClientMessages /> |
| <Selecting AllowRowSelect="true" EnableDragToSelectRows="true" /> |
| <Resizing AllowColumnResize="true" AllowRowResize="false" ClipCellContentOnResize="true" EnableRealTimeResize="true" ResizeGridOnColumnResize="false" /> |
| <Scrolling AllowScroll="false" /> |
| </ClientSettings> |
| <MasterTableView ClientDataKeyNames="Username"> |
| <Columns> |
| <telerik:GridClientSelectColumn CommandName="Select" DataType="System.Boolean"> |
| <HeaderStyle Width="20" /> |
| <ItemStyle Width="20" /> |
| </telerik:GridClientSelectColumn> |
| <telerik:GridTemplateColumn HeaderText="Status" UniqueName="userIcon"> |
| </telerik:GridTemplateColumn> |
| <telerik:GridBoundColumn DataField="Username" AllowSorting="true" AllowFiltering="false" |
| DataType="System.String" Display="true" HeaderText="Username" ReadOnly="true" Resizable="true" ShowSortIcon="true" UniqueName="Username"></telerik:GridBoundColumn> |
| <telerik:GridTemplateColumn UniqueName="windowsAccount" HeaderText="Windows Account"> |
| </telerik:GridTemplateColumn> |
| <telerik:GridBoundColumn DataField="FirstName" AllowSorting="true" AllowFiltering="false" |
| DataType="System.String" Display="true" HeaderText="First Name" ReadOnly="true" Resizable="true" ShowSortIcon="true" UniqueName="Username"></telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="LastName" AllowSorting="true" AllowFiltering="false" |
| DataType="System.String" Display="true" HeaderText="Last Name" ReadOnly="true" Resizable="true" ShowSortIcon="true" UniqueName="Username"></telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="Position" AllowSorting="true" AllowFiltering="false" |
| DataType="System.String" Display="true" HeaderText="Position" ReadOnly="true" Resizable="true" ShowSortIcon="true" UniqueName="Username"></telerik:GridBoundColumn> |
| </Columns> |
| </MasterTableView> |
| </telerik:RadGrid> |
The user can display Windows which can be used to modify the settings of the items. When the RadWindows close, I have some JavaScript firing. I would like this JavaScript to refresh the grid to reflect the change, preferably in an AJAXy way.
How would you recommend doing this? I could put it in an RadAjaxPanel, but wouldn't that be expensive, bandwidth-wise?