or
Dim gridSettings() As Object = CType(formatter.Deserialize(reader), Object())
<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); |
| } |
| } |