Wednesday, March 28, 2012

What is smart navigation

I thought that the term, was referring to the browser remembering for
example the scroll bar position

However my page's SmartNavigation property is set False but the feature seem
to work

Thank you for your advice,

Samuelthe "remember the scrool bar position" is set under the Page declerative,
like:

<%@. Page MaintainScrollPositionOnPostback="true" ...

--

Bruno Alexandre
(a Portuguese in Kbenhanv, Danmark)

"Samuel Shulman" <samuel.shulman@.ntlworld.com> escreveu na mensagem
news:OhVHb8wjGHA.984@.TK2MSFTNGP04.phx.gbl...
>I thought that the term, was referring to the browser remembering for
>example the scroll bar position
> However my page's SmartNavigation property is set False but the feature
> seem to work
> Thank you for your advice,
> Samuel
I actually noticed that it will keep the scroll position between posbacks
only if the property be set to True
But I thought that it is necessary to remember the page number where the
Datagrid has more than one page and in fact it seems to remember without

Samuel

"Samuel Shulman" <samuel.shulman@.ntlworld.com> wrote in message
news:OhVHb8wjGHA.984@.TK2MSFTNGP04.phx.gbl...
>I thought that the term, was referring to the browser remembering for
>example the scroll bar position
> However my page's SmartNavigation property is set False but the feature
> seem to work
> Thank you for your advice,
> Samuel
The Page.SmartNavigation property is deprecated in ASP.NET 2.0.

http://msdn2.microsoft.com/en-us/sy...navigation.aspx

Also, see :
http://msdn.microsoft.com/netframew...aspx#System.Web

The recommended alternatives are Page.SetFocus and Page.MaintainScrollPositionOnPostBack.

There's a new property which replaces it : pagesSection.SmartNavigation
http://msdn2.microsoft.com/en-us/li...vigat ion.aspx

http://msdn2.microsoft.com/en-us/li...gessection.aspx

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Samuel Shulman" <samuel.shulman@.ntlworld.com> wrote in message
news:OhVHb8wjGHA.984@.TK2MSFTNGP04.phx.gbl...
>I thought that the term, was referring to the browser remembering for example the scroll bar
>position
> However my page's SmartNavigation property is set False but the feature seem to work
> Thank you for your advice,
> Samuel

0 comments:

Post a Comment