Customized Radgrid filter as rad combo box for autogenerated columns true

4 posts, 0 answers
  1. Subhashini
    Subhashini avatar
    35 posts
    Member since:
    Oct 2014

    Posted 27 Mar 2015 Link to this post

    Hi,

    I would like to create filter exactly as shown in the upper grid here - http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/filtering/filter-templates/defaultvb.aspx 
    I succeeded in creating the rad combo radgrid filters  for autogenerated columns = false, but I have no idea on how to do it for autogenerated columns. There are about 40 columns and I need to apply filters for 3 columns. For the inbuilt radgrid filter, I handle radgrid's columncreated(). But I have no clue on how to replace these with the customized rad combo filter.

    I have 40 columns in the table. I used the exact radcombo aspx code in above mentioned demo and made radgrid's datasource as "select * from table", it worked perfectly but the columns are repeated, meaning, col1 and col5 are the columns that has combo filters. When using autogenerated columns, the radgrid is displayed with col1 and col5 and all 40 columns(col1 thru col40).
  2. Eyup
    Admin
    Eyup avatar
    3012 posts

    Posted 01 Apr 2015 Link to this post

    Hi Subahshini,

    I am sending a sample RadGrid web site to demonstrate how you can achieve the requested functionality. Please run the application and let me know if it helps you.

    Regards,
    Eyup
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Subhashini
    Subhashini avatar
    35 posts
    Member since:
    Oct 2014

    Posted 03 Apr 2015 Link to this post

    Thanks Eyup. 

    I made the columns invisible but I will try your sample solution and will let you know the result.

    But meanwhile, I noticed the error I posted in this thread "Radgrid Date column swapped century and year values 2015 as 1520" - http://www.telerik.com/forums/radgrid-date-column-swapped-century-and-year-values-2015-as-1520 

  5. Eyup
    Admin
    Eyup avatar
    3012 posts

    Posted 08 Apr 2015 Link to this post

    Hi Subhashini,

    Please take your time to try the approach. As for the swapping issue, it is not related to your initial request and it will be handled separately in the mentioned second thread.

    Regards,
    Eyup
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
Back to Top