RadListView's Rebinding

5 posts, 1 answers
  1. Duy
    Duy  avatar
    68 posts
    Member since:
    Apr 2009

    Posted 08 Apr 2014 Link to this post


    Hi,

    On template item, I have a few controls related RadToolTipManager that is be done on ItemDataBound however if I have added a new item, ajax and rebind the list it does not invoke ItemDataBound.  (_NeedDataSource is implemented)

    Can I implement UserControl into InsertItemTemplate and EditItemTemplate?   How can I find its control ID?


    May I have your suggest?

    Cheers,

    Duy
  2. Eyup
    Admin
    Eyup avatar
    3014 posts

    Posted 11 Apr 2014 Link to this post

    Hi Duy,

    Generally, you can place the UserControl definition inside the mentioned templates and in the UserControl implement a similar approach to this one:
    http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/edit-form-types/defaultcs.aspx

    Hope this helps. If you have different requirements or further instructions, please elaborate on your specific scenario and send us sample screenshots or video demonstrating the desired behavior.

    Regards,
    Eyup
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Duy
    Duy  avatar
    68 posts
    Member since:
    Apr 2009

    Posted 11 Apr 2014 in reply to Eyup Link to this post

    Hi Eyup,

    Thanks having your message. I would like to find control ID of UserControl upon inserting new item or updating, what is your suggestions?

    In my previous message I also mentioned about rebind of RadListView that does not go through ItemDataBound.  May I have your tips?

    Kind Regards,

    Duy
  5. Answer
    Eyup
    Admin
    Eyup avatar
    3014 posts

    Posted 16 Apr 2014 Link to this post

    Hi Duy,

    I have created a sample RadListView web site to demonstrate how you can access the generated UserControl programmatically. Please run the attached application and let me know if it helps you.

    Regards,
    Eyup
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  6. Duy
    Duy  avatar
    68 posts
    Member since:
    Apr 2009

    Posted 17 Apr 2014 in reply to Eyup Link to this post

    Thanks Eyup for the example code.  By the way, I resolved the problem with rebind due to ajaxifying was not correctly.

    Regards,

    Duy
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017