Adding custom column dynamically

Thread is closed for posting
5 posts, 0 answers
  1. 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD avatar
    1572 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. F3748F8C-FC49-4C29-BB4A-9D21188F6227
    F3748F8C-FC49-4C29-BB4A-9D21188F6227 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. 23C72464-8FC9-43C3-9A12-B431B37B7758
    23C72464-8FC9-43C3-9A12-B431B37B7758 avatar
    11 posts
    Member since:
    Dec 2013

    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. 7AB116F5-176D-4E49-9FF6-D44A69ED24AE
    7AB116F5-176D-4E49-9FF6-D44A69ED24AE 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. 23C72464-8FC9-43C3-9A12-B431B37B7758
    23C72464-8FC9-43C3-9A12-B431B37B7758 avatar
    11 posts
    Member since:
    Dec 2013

    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

This Code Library is part of the product documentation and subject to the respective product license agreement.