Results 1 to 4 of 4

Thread: How using update panel with multiple content pages and single master page

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Thumbs up How using update panel with multiple content pages and single master page

    Hi friends,

    I have a doubt and in confusion. I am using single master pages and multiple content pages. In this content pages, multiple control i am using in every content pages. In my master page i put treeview . while i click one link in one content page its refresh. For eg.,

    frmcontentone ---> Link 1
    frmContentTwo---> Link 2
    frmMasterPage.Master ---> Tree view, Link1 and Link 2

    frmContentOne--> i give set as start page in my application.

    While i click Link 2 it goes to frmContentTwo.aspx.At that time my whole page is refreshed. ie First frmContentOne.aspx i click link it goes to frmContentTwo.aspx.

    Data loaded in Treeview.Now i click data treeview its nothing happen.Because
    the data of treeview is in frmContentOne. How can i solve this problem. I am using updatepanel and put control in the update panel(Master page). Its also
    refreshed.

    My problem is its affect master page.Please give me any idea or give any useful link for Multiple content pages using update panel and single master page,

    Hope ur's reply.

    Thanks
    Failing to plan is Planning to fail

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: How using update panel with multiple content pages and single master page

    I've had a lot of trouble understanding your post so I'm going to answer you with what I've understood...

    You can't share data like that between pages. If you want the treeview to be similar across the pages, the data needs to be stored in session or in database so that on each page load, regardless of where it is, the control can request that data. This can help maintain 'state' across the pages.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Thumbs up Re: How using update panel with multiple content pages and single master page

    Hi mendhak,

    Thanks for ur's reply.But i don't need session. Actually one contentpage move to another content page that the whole page is refreshed.This is my problem.

    Thanks
    Failing to plan is Planning to fail

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: How using update panel with multiple content pages and single master page

    Are you saying you load different pages into the same UpdatePanel? That still counts as a page change and the only way to persist data is still the session variable.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width