asp.netPRO Cover Article and SmartNavigation

Has anyone seen the current issue of asp.netPRO, and the cover article - 10 Rock-Solid UI Tips?  Here’s the link to the article, but you need to have a subscription to see it.  I’ve got a couple problems with the article, but my main complaint is Tip 1, Use SmartNavigation.  SmartNavigation is supposed to eliminate the repainting of web pages between posts on uplevel browsers using a hidden iframe.  If you have ever tried using SmartNavigation in your pages, you would find that it does not work if you are using a more traditional HTML/CSS page model (apposed to the VB-like model VS.Net tries to force you to use).  Just do a search of the MS newsgroups on SmartNavigation, and you will see hundreds of problems with this technology, and a lot of recommendations that it should not be used (especially with external CSS).  My problem with the article is that nowhere is it acknowledged that SmartNavigation is known to cause problems.  As the author you have a responsibility to alert your readers to any known issues of the technology you are using, and this tip is very misleading.  IMHO. use SmartNavigation in only the most basic WebForms, and becareful using it with any advanced browser technologies (i.e. Element Behaviors, CSS, Scripting).

Don XML

5 Comments

  • Brad,





    Glad you didn't take my comments too hard. I understand where you are coming from, just thought a couple words on the potential problems of SN were warranted, even if you couldn't go into details. The beginner individuals are exactly the people that need the most hand holding, and the ones that complain the loudest on the discussion groups.





    Don XML

  • Hi,



    I have a problem in my code when SN=true. Here is the code :

    private void InitializeComponent()

    {

    this.LinkButtonSave.Click += new System.EventHandler(this.LinkButtonSave_Click);

    }

    protected void LinkButtonSave_Click(object sender, System.EventArgs e)

    {

    // App_id & details are defined earlier..

    SaveApplication(App_id, Details);

    }





    SaveApplication()

    {

    ..........

    }



    now.. When the SN is true, then when I click save, it Calls the LinkButtonSave_Click TWICE!@!



    Is there any way to avoid this (Except turn off Smartnav !)



    thanks

    jay

    netjkus@yahoo.com

  • Thank you very much Dennis Zweigle!

  • i have a problem...

    if i use smart navigation it works a little.

    the screen doesnt go all the way up but it still goes up a little bit.

    is there a way for the page not to move at all.



  • Thank you very much! It works.

Comments have been disabled for this content.