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

Controls in JQuery Postbacks in MVC Views

3 Answers 146 Views
UI for ASP.NET AJAX in ASP.NET MVC
This is a migrated thread and some comments may be shown as answers.
Brian Mains
Top achievements
Rank 1
Brian Mains asked on 30 Nov 2009, 08:36 PM
Hello,

I postback MVC views using JQuery.  I have a RadComboBox control within this MVC view that posts back, and replaces the UI, with JQuery code.  The control works, but when I replace the content returned from JQuery, the RadComboBox stops working.  I'm assuming I need to call $create to make this work... any advice on that?

Thanks.

3 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 01 Dec 2009, 01:40 PM
Hi Brian Mains,

Try to call Sys.Application.initialize(); before closing </Form> tag.

Sincerely yours,
Georgi Krustev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Brian Mains
Top achievements
Rank 1
answered on 01 Dec 2009, 04:58 PM
I was calling it in the $.post operation callback, after the content gets replaced, and nothing happened... is that the same thing?  If it is, it isn't working...
0
Georgi Krustev
Telerik team
answered on 04 Dec 2009, 04:10 PM
Hi Brian Mains,

Could you please provide code snippet showing your current implementation? Thus I will be able to create a working test project and send it to you.

Greetings,
Georgi Krustev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
UI for ASP.NET AJAX in ASP.NET MVC
Asked by
Brian Mains
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Brian Mains
Top achievements
Rank 1
Share this question
or