This is a migrated thread and some comments may be shown as answers.
Partial, cannot click on telerik component
1 Answer 24 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Denis
Top achievements
Rank 1
Denis asked on 16 May 2011, 01:10 PM

Hello,

I've build a site with multiple pages and telerik component instances.

So, i've a div that i load dynamically by a ajax request. The partial view is correctly displayed into the div, but i'can't click on the Telerik controls.

The ScriptRegistrar is done when the page is loaded.
The partial view is built dynamically on user request.

I've add a second ScriptRegistrar into the partial view, but there is no effect.

I don't understand this behavior.

What should i do?

Context: ASP MVC3 Razor

$.ajax({
    url: 'MyController/MyAction/' + key,
    type: 'GET',
    success: function (data) { document.getElementById('divNewPane').innerHTML = data; },
    error: OnClientError
});

1 Answer, 1 is accepted

Sort by
0
John DeVight
Top achievements
Rank 1
answered on 18 May 2011, 02:20 PM
There is a series of wiki pages that explain how to handle this with Partial Views containing Telerik controls on dynamically created tabs complete with sample code to download using the RAZOR View Engine or the ASPX View Engine:

Telerik MVC : Dynamically Add a Tab to the TabStrip

Telerik MVC : jQuery.ajax, Partial View and the Telerik Grid

Telerik MVC : jQuery.ajax, Partial View and Telerik Controls

Telerik MVC : Save Data From Telerik Controls Using jQuery.ajax

There is also a page that lists a series of wiki pages related to Telerik MVC at:

Telerik MVC Series

Please let me know if this solves your problem or if you need additional help!

Regards,

John DeVight
ASP.NET Wiki
Practical Solutions for ASP.NET Developers
http://aspnet.wikidot.com
Tags
General Discussions
Asked by
Denis
Top achievements
Rank 1
Answers by
John DeVight
Top achievements
Rank 1
Share this question
or