Community & Support
Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Grid > These columns don't currently have unique values.
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered These columns don't currently have unique values.

Feed from this thread
  • Javed Hussain avatar

    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()

  • Sebastian Sebastian admin's avatar

    Posted on Nov 29, 2005 (permalink)

    Hi Javed,

    The reason for this problem can be that you have cells in a grid column with the same text but with different captions. We suggest you to set the RadGridInstance.GroupSettings.CaseSensitive option of the grid to false. Another option is to ensure that there are no grid items with equal text (no matter their letter size).

    Best regards,
    Stephen
    the telerik team

  • Brett Parkhurst avatar

    Posted on May 17, 2006 (permalink)

    What do you mean "ensure that there are no grid items with equal text"? Can I have the same text in the same column or accross multiple columns?

  • Sebastian Sebastian admin's avatar

    Posted on May 18, 2006 (permalink)


    Hello Brett,

    This means that you must avoid having equal text fields in the same column, not across multiple columns.

    Kind regards,
    Stephen
    the telerik team

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Grid > These columns don't currently have unique values.