Ajax based navigation scheme

Last post 08-06-2007 9:56 PM by gt1329a. 1 replies.

Sort Posts:

  • Ajax based navigation scheme

    08-06-2007, 6:55 PM
    • Member
      point Member
    • isg8
    • Member since 12-28-2006, 1:53 AM
    • Posts 5

    Hello,

     

    I am trying to implement Ajax based navigation schema for a complex web application.

    Basically, I will have a tree on the left. When item is clicked I want the content area on the page to load some content via Ajax (instead of refreshing the whole page).

    I got somewhat far with having an update panel around content area and loading content via custom user controls (e.g. panel.Controls.Add(Page.LoadControl("blah.ascx")) ). However, I am running into some issues with this approach (for complex controls it appears this dynamic loading is breaking javascript etc). Can someone suggest any other mechanism one might use to implement this? Keep in mind, controls cannot be hardcoded on the page and need to come from an external file (e.g. the tree would load from xml file that specifies which controls correspond to which item on the tree).

     

    Thanks

  • Re: Ajax based navigation scheme

    08-06-2007, 9:56 PM
    Answer
    • Star
      13,541 point Star
    • gt1329a
    • Member since 06-24-2002, 12:53 AM
    • Atlanta
    • Posts 2,236
    • ASPInsiders
      TrustedFriends-MVPs
    Unless I'm missing something, it sounds like you'd be better off using an IFRAME for your content area and just change it's .src with the navigation system.
    Encosia - ASP.NET, jQuery, AJAX, and more.

    Latest article: Emulate ASP.NET validation groups with jQuery validation
Page 1 of 1 (2 items)