updatepanel problem

Last post 07-24-2008 3:24 AM by Vince Xu - MSFT. 5 replies.

Sort Posts:

  • updatepanel problem

    07-22-2008, 7:47 PM
    • Loading...
    • barrysuku
    • Joined on 05-23-2007, 12:02 AM
    • Posts 71



    Hi guys in my apsx page i got updatepanel with button.
    Page works fine if Browser Javascript is enable but didn't work after disabling it..

    Any way to solve it?

  • Re: updatepanel problem

    07-22-2008, 9:13 PM
    • Loading...
    • sumitrawat
    • Joined on 07-20-2008, 2:58 PM
    • baltimore
    • Posts 13

    Ajax Update Panel uses javascript to refresh the content of all the elements inside the panel. If javascript is disabled on the browser then there is no way to refresh the panel.

    sumit rawat
  • Re: updatepanel problem

    07-23-2008, 12:14 AM
    • Loading...
    • sanjaysantra
    • Joined on 09-28-2006, 2:01 PM
    • Kolkata
    • Posts 47

    Hi,
    ASP.NET AJAX uses JavaScript in background to create partial postback so that the whole data of the page should not post back to the web server. So, JavaScript should be enabled in browser otherwise there is no meaning to use AJAX in web applications.

    saanj
    Either you love IT or leave IT.....
  • Re: updatepanel problem

    07-23-2008, 5:34 PM
    • Loading...
    • barrysuku
    • Joined on 05-23-2007, 12:02 AM
    • Posts 71

    That i know what Ajax means...Am asking for other way out 

  • Re: updatepanel problem

    07-23-2008, 7:12 PM
    Answer

    barry,

    You may need to fork your site if you want it to work with and without ajax.  Test for javascript support at the top of your page (in the non-javascript version) and redirect, using javascript, to your ajax version if javascript is supported.  It's cumbersome, but I think this is the cleanest way to do it.

    James

    James Ashley, Magenic Technologies
    (james.ashley.magenic@gmail.com)
  • Re: updatepanel problem

    07-24-2008, 3:24 AM
    Answer

    Hi,

    Asp.Net AJAX is based on JavaScript. If you want to achieve no-JavaScript AJAX, you can try widgets

    http://www.freesoftwaremagazine.com/articles/gaia_ajax_widgets

    If you have any question about widgets, you can post it to this forum: http://www.widsets.com/forum

    Sincerely,
    Vince Xu
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as
    Answer” if a marked post does not actually answer your question.
Page 1 of 1 (6 items)
Microsoft Communities
Page view counter