Posted
on Nov 29, 2005
(permalink)
Hi, I have facing very mysterious problem. I have a page and search is implemented on the page When I bind Rad grid on the page event with give default criteria grid shows data correctly. After rendering the page when I press search button without chainging criteria then the below exception is thrown although samecode is being executed in both scenarios. Please help me out I am stuck! :(
at System.Data.DataRelationCollection.Add(DataRelation relation) at System.Data.DataRelationCollection.Add(String name, DataColumn[] parentColumns, DataColumn[] childColumns) at Telerik.WebControls.x936d64d2992e04e9.x07048dc48e8fd65b(ArrayList x3c79d625e9928f80, ArrayList x6577ec0de3901b5b, DataTable xde32202671150dfd, DataTable x2abc9f206cbeb7c0, Boolean xc334cf3bcb394905) at Telerik.WebControls.x936d64d2992e04e9.xe6cf858d677fdc3e() at Telerik.WebControls.x936d64d2992e04e9.TransformEnumerable() at Telerik.WebControls.GridTableView.CreateControlHierarchy(Boolean useDataSource) at Telerik.WebControls.GridTableViewBase.OnDataBinding(EventArgs e) at Telerik.WebControls.GridTableViewBase.DataBind() at Telerik.WebControls.GridTableView.DataBind() at Telerik.WebControls.RadGrid.DataBind() at CommandXS.View.frmClientBillingDetail.BindDataToGrid(DataView dvFiles, Int32 currentPageIndex, Boolean toggleSort) in c:\inetpub\wwwroot\commandxs\view\frmclientbillingdetail.aspx.cs:line 185 at CommandXS.View.frmClientBillingDetail.Search(Int32 currentPageIndex, Boolean toggleSort) in c:\inetpub\wwwroot\commandxs\view\frmclientbillingdetail.aspx.cs:line 168 at CommandXS.View.frmClientBillingDetail.btnSearch_ServerClick(Object sender, EventArgs e) in c:\inetpub\wwwroot\commandxs\view\frmclientbillingdetail.aspx.cs:line 111 at System.Web.UI.HtmlControls.HtmlInputButton.OnServerClick(EventArgs e) at System.Web.UI.HtmlControls.HtmlInputButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain()