Ajax in RadWindow

6 posts, 0 answers
  1. Debashis Pyne
    Debashis Pyne avatar
    66 posts
    Member since:
    Apr 2010

    Posted 29 Jul 2010 Link to this post

    Hi,

    I have a couple of Radio buttons and drop downs in a Radwindow.
    Now since these controls have "Auto postback" set to true, the radwindow refreshes whenever the values of the drop downs or radio buttons are changed.

    How I stop these page refreshes?
    Please suggest.

    Thanks!
  2. Tom M
    Tom M avatar
    33 posts
    Member since:
    Nov 2009

    Posted 29 Jul 2010 Link to this post

    Hi Debashis,

    You could place the contents of the RadWindow in a RadAjaxPanel. This will take your postbacks and turn them into Ajax requests. Alternatively you could use the RadAjaxManager to accomplish the same.

    Regards.
    Tom
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Graham
    Graham avatar
    3 posts
    Member since:
    Jul 2010

    Posted 30 Jul 2010 Link to this post

    Hello,

    Folowing Debashis comment I am attempting to acchieve the same AJAX functionality within a RadWindow.

    I have a simple project that contains a RadWindow containing a control with a RadListBox set to AutoPostback and update a TextBox on selection changed.

    I have attempted to place the contents of the control (used within the RadWindow) inside a RadAjaxPanel however this caused some errors so I have commented that code out. I have now placed the whole RadWindowManager inside a RadAjaxPanel hower as the previous post by Debashis mentioned the RadWindow always re-loads (refreshes) on a control input click, in my example case when an item is selected from the RadListBox and the AutoPostback event is fired.

    I would like to know if it is possible to use AJAX within the RadWindow without it refreshing on control AutoPostback.

    Any advice you can provide would be greatly apreciated.

    Graham Cannell,
    Software Developer
  5. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 04 Aug 2010 Link to this post

    Hello Graham,

    I just answered your support ticket on the subject. In my reply I suggest to use RadAjaxManager that is set so the user control in RadWindow's template updates itself.


    Kind regards,
    Georgi Tunev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Daniel Gioulakis
    Daniel Gioulakis avatar
    7 posts
    Member since:
    Feb 2010

    Posted 13 Sep 2010 Link to this post

    Please elaborate if you can how to properly configure RadAjaxManager settings for content within a RadWindow.  The only way I can get loading panels to work properly are when using a RadAjaxPanel within the RadWindow.  I'd like however to maintain use of RadAjaxManager instead.
  7. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 16 Sep 2010 Link to this post

    Hi Daniel,

    Could you please provide more details about your exact setup? How are currently RadAjaxManager and RadWindow configured?

    Greetings,
    Georgi Tunev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017