asp.net + ajax issue

i made a simple website which i needs to convert in ajax using atlas

Scenario:::::::::::::::

my all pages are using single master page and in header of master page i have menu and sub menu bars

and simple footer and ofcourse only one content place holder in between header and footer

problem::::::::::::::::::

1. i want when i need to redirect to another page i get that page on the same page means i don't wanna redirect i want to view that page on the same page

now please tell me where i put script manager and where where i need to put update panels and what technique i use to load page on the same page (except iframe) and what property i set to update panel means conditional or always plz tell me in details as i m newbie ;)




Answer this question

asp.net + ajax issue

  • saleyoun

    in fact i want that when i redirect to another page just another pages content get update not master page contents and url also don't get change


  • anothernewVBguy

    Muhamad,

    Could you explain me a little bit more what's the effect you want to achive with this .

    I mean... the posibilities you have to load a page inside another is using either iframes or Server.Execute method... but I think that this will cause something not expected... because you will load a page inside another... and as all your pages have the same master page you will have nested master content (header and menu nested with parent header and menu).....

    Regards

    Rodrigo


  • Richard78

    Ok... URL is easy.... use Server.Transfer and not Response.Redirect.

    Regarding re-load... I hate that master page's content is reloaded each time..... I guess so do you....

    I found a way to avoid the efect of reloading.... but it is just an "illusion"... using page transitions (it works in IE 6).

    Try it.... inside the Master page's <head></head> insert this:

    <meta http-equiv="Page-Enter"

    content="progid:DXImageTransform.Microsoft.Fade(duration=0.5)">

    <meta http-equiv="Page-Exit"

    content="progid:DXImageTransform.Microsoft.Fade(duration=0.5)">

    This will create the transition effect and the master page's header's and footers seems not to be re-loaded.

    But remember... this changes just the way it looks like.... if you must avoid for example master pages' "Page_Load" for example or something in the code, of course it won't work...

    Hope it helps,

    Rodrigo


  • asp.net + ajax issue