This is a migrated thread and some comments may be shown as answers.

RadListView's Rebinding

4 Answers 72 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Duy
Top achievements
Rank 1
Duy asked on 08 Apr 2014, 07:37 AM

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

4 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 11 Apr 2014, 07:31 AM
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.

 
0
Duy
Top achievements
Rank 1
answered on 11 Apr 2014, 07:43 AM
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
0
Accepted
Eyup
Telerik team
answered on 16 Apr 2014, 03:40 PM
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.

 
0
Duy
Top achievements
Rank 1
answered on 17 Apr 2014, 09:13 AM
Thanks Eyup for the example code.  By the way, I resolved the problem with rebind due to ajaxifying was not correctly.

Regards,

Duy
Tags
ListView
Asked by
Duy
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Duy
Top achievements
Rank 1
Share this question
or