Adding custom column dynamically

Thread is closed for posting
5 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1679 posts
    Member since:
    Oct 2004

    Posted 19 Jan 2007 Link to this post

    Requirements

    RadGrid for ASP .NET version

    RadControls for ASP .NET AJAX version

    4.5.0 and later


    2008.1.415 and later

    .NET version

    2.0 and later

    Visual Studio version

    2005 and later

    Programming language

    C#

    Browser support

    all supported by RadGrid for ASP .NET


    all browsers supported by RadControls for ASP .NET AJAX


     
    PROJECT DESCRIPTION
    This project demonstrates how to add custom columns dynamically based on a criteria (an array of data fields in this case). Custom column extends a Template column and shows a textbox bound to a data field instead of just text.
    At runtime the auto-generated GridBoundColumns are replaced by these custom columns, bound to the same data field as the GridBoundColumn.
  2. bill
    bill avatar
    1 posts
    Member since:
    Dec 2007

    Posted 20 Dec 2007 Link to this post

    Could you please provide me the example on visual basic code?

    regards,
    Bill
  3. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 20 Dec 2007 Link to this post

    Hello,

    You can use our code converter, to convert the code to VB, as per your requirements.

    Best wishes,
    Yavor
    the telerik team
  4. Johannes H
    Johannes H avatar
    15 posts
    Member since:
    Jul 2012

    Posted 01 Jul 2009 Link to this post

    Hi bill,

    after a bit work (because the telerik converter doesn't work 100% (you have to edit the converted VB code)) I moved this project to VB.NET with the latest stable release of Telerik.

    I dunno why but I can't attach sth. here so I provide you a download link:

    http://www.speedyshare.com/278416555.html

    Good luck with this solution. (VB.NET / Visual Studio 2008 Project)


    Regards,

    Johannes



  5. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 01 Jul 2009 Link to this post

    Hello Johannes,

    Thank you for sharing your code with the community.
    I have updated your Telerik points for your involvement.

    All the best,
    Yavor
    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.
Back to Top