Controls in JQuery Postbacks in MVC Views

Thread is closed for posting
4 posts, 0 answers
  1. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 30 Nov 2009 Link to this post

    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.
  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 01 Dec 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 01 Dec 2009 Link to this post

    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...
  5. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 04 Dec 2009 Link to this post

    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.
Back to Top