Merging 2 columns and displaying in the radgrid

2 posts, 1 answers
  1. Sima
    Sima avatar
    29 posts
    Member since:
    Jul 2012

    Posted 31 Jul 2012 Link to this post

    Hi I have a requirement where I have to  "Employee start date will be " + Startdate + "Enddate will be on" + enddate

    both Startdate and enddate are coming from the database. 

    I tried adding datafield = "Employee start date will be " + '<%# Bind("Startdate") %>' + Enddate will be on + '<%# Bind("Startdate") %>' 

    That didn't work, How can I do that?

  2. Answer
    Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 03 Aug 2012 Link to this post

    Hello Sima,

    You can refer to the following online example for more information about how to configure RadGrid to show MultiColumn headers:
    http://demos.telerik.com/aspnet-ajax/grid/examples/programming/multicolumnheaders/defaultcs.aspx

    Kind regards,
    Zdravko
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. DevCraft banner
Back to Top