| <telerik:RadAjaxManager EnableAJAX="true" ID="RadAjaxManager1" runat="server"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="RadGrid1"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| <telerik:AjaxSetting AjaxControlID="Button1"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManager> |
| |
| |
| <telerik:RadGrid ID="RadGrid1" runat="server" OnItemDataBound="RadGrid1_ItemDataBound" |
| AllowFilteringByColumn="True" AllowSorting="True" |
| GridLines="None" Skin="Office2007" Width="400px" |
| OnNeedDataSource="RadGrid1_NeedDataSource" |
| OnUpdateCommand="RadGrid1_UpdateCommand" OnInsertCommand="RadGrid1_InsertCommand" |
| OnItemCommand="RadGrid1_ItemCommand" |
| > |
| |
| <MasterTableView autogeneratecolumns="False" AllowFilteringByColumn="True" commanditemdisplay="Top" editmode="InPlace" DataKeyNames="zone_id" > |
| <RowIndicatorColumn Visible="False"> |
| <HeaderStyle Width="20px"></HeaderStyle> |
| </RowIndicatorColumn> |
| |
| <ExpandCollapseColumn Visible="False" Resizable="False"> |
| <HeaderStyle Width="20px"></HeaderStyle> |
| </ExpandCollapseColumn> |
| |
| <Columns> |
| <telerik:GridEditCommandColumn> |
| </telerik:GridEditCommandColumn> |
| <telerik:GridCheckBoxColumn DataField="status" DataType="System.Boolean" ItemStyle-HorizontalAlign="Center" |
| HeaderText="status" SortExpression="status" UniqueName="status" > |
| <ItemStyle HorizontalAlign="Center"></ItemStyle> |
| </telerik:GridCheckBoxColumn> |
| <telerik:GridBoundColumn DataField="order_by" DataType="System.Int32" ItemStyle-Width="30px" |
| HeaderText="order_by" SortExpression="order_by" UniqueName="order_by" |
| AllowFiltering="False"> |
| <ItemStyle Width="30px"></ItemStyle> |
| </telerik:GridBoundColumn> |
| <telerik:GridTemplateColumn HeaderText="Category Name" |
| SortExpression="category_name" UniqueName="category_name" |
| AllowFiltering="False" > |
| <ItemTemplate> |
| <asp:Label runat="server" ID="lbCategory" Text='<%#Eval("category_name") %>' /> |
| </ItemTemplate> |
| <EditItemTemplate> |
| <asp:DropDownList ID="ddlCategory" runat="server" Width="150px" /> |
| </EditItemTemplate> |
| </telerik:GridTemplateColumn> |
| <telerik:GridBoundColumn DataField="zone_id" DataType="System.Int32" |
| HeaderText="zone_id" ReadOnly="True" SortExpression="zone_id" |
| UniqueName="zone_id" Display="false" > |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="loc_id" DataType="System.Int32" |
| HeaderText="loc_id" SortExpression="loc_id" UniqueName="loc_id" Display="false" > |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="loc" HeaderText="loc" ItemStyle-Width="60px" |
| SortExpression="loc" UniqueName="loc" ReadOnly="True" AllowFiltering="False"> |
| <ItemStyle Width="60px"></ItemStyle> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="id_type" HeaderText="id_type" ItemStyle-Width="60px" |
| SortExpression="id_type" UniqueName="id_type" ReadOnly="true"> |
| <ItemStyle Width="60px"></ItemStyle> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="category_id" DataType="System.Int32" |
| HeaderText="category_id" SortExpression="category_id" UniqueName="category_id" |
| Display="false"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="site_name" HeaderText="site_name" ReadOnly="true" |
| SortExpression="site_name" UniqueName="site_name"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="site_id" DataType="System.Int32" |
| HeaderText="site_id" SortExpression="site_id" UniqueName="site_id" |
| Visible="False"> |
| </telerik:GridBoundColumn> |
| |
| |
| |
| |
| |
| </Columns> |
| |
| |
| |
| <EditFormSettings EditFormType="WebUserControl" UserControlName="AdminUC/BannerZoneInsert.ascx"> |
| <EditColumn UniqueName="EditCommandColumn1"></EditColumn> |
| |
| <PopUpSettings ScrollBars="None"></PopUpSettings> |
| </EditFormSettings> |
| </MasterTableView> |
| </telerik:RadGrid> |