or
Message: Unable to cast object of type 'System.Int32' to type 'System.Collections.Generic.Dictionary`2[System.String,System.Object]'. Source: Telerik.Web.UI Form: ctl00_ctl00_RadScriptManager1_HiddenField=&__EVENTTARGET=&__EVENTARGUMENT=&__LASTFOCUS=&__VIEWSTATE=% etc etc
QueryString: Ref=gaw
Target site: Boolean LoadPostData(System.String, System.Collections.Specialized.NameValueCollection)

<asp:SqlDataSource runat="server" ID="SqlDataSource2" ConnectionString="<%$ ConnectionStrings:DEV_3.1ConnectionString %>" OldValuesParameterFormatString="original_{0}" SelectCommand="SELECT * FROM [M9999_Table]"></asp:SqlDataSource><telerik:RadGrid ID="RadGrid2" runat="server" > <MasterTableView AllowSorting="true"> </MasterTableView>
</telerik:RadGrid>
protected void Page_Load(object sender, EventArgs e){ this.RadGrid2.DataSourceID = this.SqlDataSource2.ID;}protected void Page_Load(object sender, EventArgs e){ this.RadGrid2.NeedDataSource += new GridNeedDataSourceEventHandler(RadGrid2_NeedDataSource);}void RadGrid2_NeedDataSource(object source, GridNeedDataSourceEventArgs e){ this.LoadData();}private void LoadData(){ this.RadGrid2.DataSource = this.SqlDataSource2; }
|
Column A |
Column B |
|
|
|
protected void RadGrid1_ExcelMLExportRowCreated(object source, GridExportExcelMLRowCreatedArgs e) { if (e.RowType == GridExportExcelMLRowType.HeaderRow) { for (int i = 0; i < e.Row.Cells.Count; i++) { e.Row.Cells[i].Data.DataItem = e.Row.Cells[i].Data.DataItem.ToString().Replace("<br />", "\r\n"); } } }