Results 1 to 5 of 5

Thread: [2005] How to make the treeview do not post back

  1. #1

    Thread Starter
    Hyperactive Member nUflAvOrS's Avatar
    Join Date
    Jul 2007
    Location
    Malaysia/ Currently at Singapore
    Posts
    372

    [2005] How to make the treeview do not post back

    Currently I work on master page.

    In my masterpage I planned to have a static treeview.

    My treeview will be my page menu.

    When I clicked on the treeview the page will directing to another page but the postback only happen in contentplaceholder. The treeview is remain unchanged.

    So do I need a updatepanel ?

    How can I accomplish this ?
    Where there is no hope, there can be no endeavor.

    There are two ways of rising in the world, either by your own industry or by the folly of others.

  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: [2005] How to make the treeview do not post back

    Set the selectaction of the treeview nodes to nothing or none (can't remember which). Do you have hyperlinks as the nodes?

  3. #3
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    Re: [2005] How to make the treeview do not post back

    Isn't he asking how to maintain the state of the treeview between ?
    The treeview is remain unchanged
    ... not sure, but don't see question marks where it matters.

  4. #4

    Thread Starter
    Hyperactive Member nUflAvOrS's Avatar
    Join Date
    Jul 2007
    Location
    Malaysia/ Currently at Singapore
    Posts
    372

    Re: [2005] How to make the treeview do not post back

    Yes correct ! Currently I using viewstate to hold the position but the result is not good because it would not release the memory.
    Where there is no hope, there can be no endeavor.

    There are two ways of rising in the world, either by your own industry or by the folly of others.

  5. #5
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    Re: [2005] How to make the treeview do not post back

    Dunno....I'm basically back to noob status. Check this, hope it help.

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