radGrid adds extra columns

4 posts, 0 answers
  1. Elad
    Elad avatar
    13 posts
    Member since:
    Jan 2009

    Posted 30 Jun 2009 Link to this post

    Hello,
    I am trying to use radGrid inside a SharePoint web part to bind to a list.
    I am using SPDataSource to connect to the list, and I set the grid's DataSourceID.
    Everything works fine but for tow extra columns that are being added to the grid by themselves.
    The columns are "UseInternalName" and "IncludeHidden" which are 2 public properties of the SPDataSource control, but have nothing to do with the list.
    Needless to say I am explicitly setting AutoGenerateCullomns to False, and I manually add my columns.
    What's more interesting, is that if I bind to ASP's GridView using the exact same syntax, I got expected behavior, without the 2 extra columns.

    Any suggestions?

    Thanks,
    Elad.
  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 02 Jul 2009 Link to this post

    Hello Elad,

    Could you please provide more information about this case. It will be really helpful if you can post the WebPart code and the data source structure. Thus we will try to replicate the problem locally and advice you further.

    Regards,
    Georgi Krustev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

  3. Elad
    Elad avatar
    13 posts
    Member since:
    Jan 2009

    Posted 05 Jul 2009 Link to this post

    We have managed to resolve the issue. It was a problem with our code.
    Thanks anyway
  4. Mario
    Mario avatar
    6 posts
    Member since:
    Oct 2008

    Posted 30 Aug 2009 Link to this post

    Hello Elad or Georgi,

    Could you fill us in how you altered the code to get rid of the 2 extra columns.
    We are experiencing the same issue.

    Kind regards,
    Mario
Back to Top