or
<telerik:RadGrid ID="rgAppSearch" EnableEmbeddedSkins="false" ShowHeader="true" AllowFilteringByColumn="true" EnableLinqExpressions="true" AutoGenerateColumns="False" Skin="Default" PageSize="10" AllowSorting="True" GridLines="None" runat="server" AllowPaging="true"><PagerStyle AlwaysVisible="true" /></telerik:RadGrid ><telerik:RadNumericTextBox runat="server" ID="Longitude" Width="75" EmptyMessage="Lon" Skin="Vista" AllowOutOfRangeAutoCorrect="False" MaxValue="0" DataType="System.Decimal" EnableSingleInputRendering="True"> <NumberFormat AllowRounding="False" DecimalDigits="4" KeepNotRoundedValue="True" KeepTrailingZerosOnFocus="True" /></telerik:RadNumericTextBox>| protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) |
| { |
| if (e.Item is GridDataItem ) |
| { |
| e.Item.Attributes.Add("onmouseover", "this.style.backgroundColor='Silver'"); |
| e.Item.Attributes.Add("onmouseout", "this.style.backgroundColor='#FFF'"); |
| e.Item.Attributes["onclick"] = Page.ClientScript.GetPostBackClientHyperlink(this.RadGrid1, "Select$" + e.Item.ItemIndex,true); |
| } |
| } |
Line 7190: try(B=a.parseJSON(z.body.innerHTML);Line 7191: } catch(A){j(y);protected void dd_RptDate_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e){ if (e.Value == "DAILY") Session["s_datePickers"] = "true"; else Session["s_datePickers"] = "false";}<telerik:RadGrid ID="RadGrid1" runat="server" Skin="Office2007" AllowPaging="false" Width="100%" EnableLinqExpressions="true" AllowCustomPaging="false" AutoGenerateColumns="False" GridLines="None" AllowSorting="true" AllowFilteringByColumn="false" AlternatingItemStyle-BackColor="#eeeeee" ShowGroupPanel="False" ShowStatusBar="True" OnNeedDataSource="RadGrid1_NeedDataSource"> <AlternatingItemStyle BackColor="#EEEEEE"></AlternatingItemStyle> <MasterTableView Width="100%" DataKeyNames="DocumentLogID" PagerStyle-Mode="NextPrevNumericAndAdvanced" ClientDataKeyNames="DocumentLogID"> <GroupByExpressions> <telerik:GridGroupByExpression> <SelectFields> <telerik:GridGroupByField FieldAlias="" HeaderText=" " FieldName="AccessPerson" HeaderValueSeparator="" /> </SelectFields> <GroupByFields> <telerik:GridGroupByField FieldName="AccessPerson" HeaderText="Access Person" SortOrder="Ascending" /> </GroupByFields> </telerik:GridGroupByExpression> </GroupByExpressions> <Columns> <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn"> </telerik:GridEditCommandColumn> <telerik:GridTemplateColumn UniqueName="PrintDoc" HeaderText="Print"> <HeaderTemplate> <asp:CheckBox ID="headerChkbox" OnCheckedChanged="ToggleSelectedState" AutoPostBack="True" runat="server"></asp:CheckBox> </HeaderTemplate> <ItemTemplate> <asp:CheckBox ID="PrintCheckBox" runat="server" OnCheckedChanged="ToggleRowSelection" AutoPostBack="true" Visible="true"></asp:CheckBox> </ItemTemplate> </telerik:GridTemplateColumn> <telerik:GridBoundColumn DataField="DocumentLogID" Visible="false" UniqueName="DocumentLogID" /> <telerik:GridBoundColumn DataField="ClientID" Visible="false" /> <telerik:GridBoundColumn DataField="AccessPersonID" Visible="false" /> <telerik:GridBoundColumn DataField="ReportID" Visible="false" /> <telerik:GridBoundColumn SortExpression="ReportName" DataField="ReportName" HeaderText="Report Name" /> <telerik:GridBoundColumn SortExpression="StatusDescription" DataField="StatusDescription" HeaderText="Status" /> <telerik:GridBoundColumn DataField="DocumentStatusID" UniqueName="DocumentStatusID" Groupable="False" Visible="False" /> <telerik:GridBoundColumn SortExpression="SentBy" DataField="SentBy" HeaderText="Sent By" AllowFiltering="false" /> <telerik:GridBoundColumn SortExpression="DateSent" DataField="DateSent" HeaderText="Date Sent" DataType="System.DateTime" DataFormatString="{0:MM/dd/yyyy}" AllowFiltering="false" /> <telerik:GridBoundColumn SortExpression="DueDate" DataField="DueDate" HeaderText="Date Due" DataType="System.DateTime" DataFormatString="{0:MM/dd/yyyy}" AllowFiltering="false" /> <telerik:GridBoundColumn SortExpression="PrintReason1" DataField="PrintReason1" HeaderText="Print Reason" AllowFiltering="false" /> <telerik:GridBoundColumn SortExpression="StartDate" DataField="StartDate" HeaderText="Start Due" DataType="System.DateTime" DataFormatString="{0:MM/dd/yyyy}" AllowFiltering="false" /> <telerik:GridBoundColumn SortExpression="EndDate" DataField="EndDate" HeaderText="End Due" DataType="System.DateTime" DataFormatString="{0:MM/dd/yyyy}" AllowFiltering="false" /> <telerik:GridBoundColumn SortExpression="Version" DataField="Version" HeaderText="Version" AllowFiltering="false" /> </Columns> <EditFormSettings UserControlName="Controls/PrintDocDetails.ascx" EditFormType="WebUserControl"> <EditColumn UniqueName="EditCommandColumn1"> <ItemStyle Width="100%" /> </EditColumn> </EditFormSettings> </MasterTableView> <ClientSettings> <ClientEvents OnRowDblClick="RowDblClick" /> </ClientSettings> <FilterMenu Skin="Office2007" EnableTheming="True"> <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> </FilterMenu> </telerik:RadGrid>