I have an ASP.Net AJAX RadEditor control in a ViewUserControl. When I do Html.RenderPartial("~/RadEditor/RadEditor.ascx") on a view, all other functionality on the page that uses javascript or jquery fails.
1 Answer, 1 is accepted
0
Marin Bratanov
Telerik team
answered on 30 Jan 2014, 09:26 AM
Hello Rangnath,
Our controls are IScriptControls based on MS AJAX and thus, the framework must have their $create() statements in order to instantiate their client-side objects and functionality. This cannot happen when only the simple HTML is rendered for the user control. Thus, when this initialization has not taken place, there will be JavaScript errors thrown.
Moreover, they are created around the webforms paradigm and they are not supported in MVC and especially Razor.
Regards,
Marin Bratanov
Telerik
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 UI for ASP.NET AJAX, subscribe to the blog feed now.