Web App with a header, treeview & contents


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Web App with a header, treeview & contents

  1. #1
    Join Date
    Jun 2005
    Posts
    1

    Web App with a header, treeview & contents

    Im building a web app which will have a header with some menus. a treeview whose items come from a database. based on the node selection a contents page with a grid view.

    i have used master pages to design the app and everything works fine. im using navigateurl to use the treeview and then to display data for the gridview.

    the problem im having is that the entire page refreshes everytime a user clicks on a different node and the tree gets reloaded again.

    so this refresh thing is killing the app as it looks slow...

    what other ways to acheive this ? frames may be. anyone has any other ideas.
    or may be say if frames is a good solution or not to keep the treeview and other static ?

    Any help is appreciated...

    Thanks
    SJ

  2. #2
    Join Date
    May 2005
    Location
    UK
    Posts
    278
    Your choice of Iframes is the most apt for this problem. I am using the same kind of a design and it works like magic. I know I am not explaining in detail but I can say you are right out of experience

  3. #3
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Another option is to use XmlHttpRequest to request the page contents when the user clicks a treeview node. For more information, see http://www.15seconds.com/issue/050526.htm .
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center