.NETGURU
Ankers
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngnl' list.


Fredje
Hallo,

Kan mij iemand uitleggen hoe je gebruikt maak van ankers in asp.net. Of
als dit niet meer mogelijk is hoe je in asp.net naar een bepaalde
positie in je pagina springt...

Bedankt allemaal...
Reply to this message...
 
    
m.j.a.jansen@kpn.com
SmartNavigation:

MSDN:

SmartNav (SmartNavigation) is an easily applied feature that improves
ASP.Net user experience in IE 5.0 or higher by performing the following.

Eliminating page flash caused by navigation/postback:

Depending on a user's video card and settings, a small flash can occur when
navigating from one page to the next. This occurs because the old page is
destroyed and the new one is created on a blank screen. When the visual
content doesn't change drastically between navigations, this small flash
becomes much more obvious. Because ASP.Net pages postback to the server
frequently and return with only small visual changes, in comparison, the
flash can be very noticeable. Using what is effectively a double-buffering
technique, SmartNav prevents this from happening.

Persisting scroll position between postbacks:

Normally, the position in an ASP.Net page to which a user has scrolled will
be lost after a postback to the server. IE will automatically persist this
position when navigating back to a page that has already been visited.
However, when posting back to the server with an ASP.Net page, there is no
mechanism in the browser to return to the appropriate scroll position.
With SmartNav enabled, this scroll position persists between postbacks to
the server.

Persisting element focus between postbacks:

When a postback occurs in an ASP.Net page, the active element (button,
etc.) loses focus. IE automatically returns focus to the last active
element when navigating back to a page that has already been visited. With
normal navigation, there is no mechanism built into the browser to persist
focus. With SmartNav, however, this focus is preserved when posting back.

Prevents each navigation from being saved in the browser history:

Normally, each "state" of an ASP.Net page's life will be saved in history.
For example, if a server-side treeview control were incorporated into an
ASP.Net page, every interaction with the tree that caused a postback would
add an item to the browser history. SmartNav prevents this from happening,
causing only the last page "state" to be saved in the browser's history.

Enabling SmartNav on an ASP.Net Page

SmartNav is turned on at the server on ASP.Net pages in one of two ways.
It can be done through a page directive directly in the ASP.Net page with
the syntax below:

< %@Page SmartNavigation = true %>

Note: When a page author enables SmartNav through VS.Net, this is the
method used.

Or, through the web.config file, SmartNav can be applied to all pages on a
server or a directory on the server with the following syntax:

<configuration>
<system.web>
<pages smartNavigation="true">/
</system.web>
</configuration>"

Hou er overigens rekening mee, dat dit alleen werkt vanaf IE 5.0....

Ik zou dus gewoon ook HTML bookmarks gebruiken <A Name=Bookmark></a> <A
href="pagina.asp#bookmark">link</A>

Martin

-----Oorspronkelijk bericht-----
Van: Fredje [mailto:Click here to reveal e-mail address]
Verzonden: dinsdag 19 februari 2002 17:19
Aan: aspngnl
Onderwerp: [aspngnl] Ankers

Hallo,

Kan mij iemand uitleggen hoe je gebruikt maak van ankers in asp.net. Of als
dit niet meer mogelijk is hoe je in asp.net naar een bepaalde positie in je
pagina springt...

Bedankt allemaal...
| [aspngnl] member Click here to reveal e-mail address = YOUR ID |
http://www.asplists.com/asplists/aspngnl.asp = JOIN/QUIT

Reply to this message...
 
    
Mil Nec
<html><div style='background-color:'><DIV>
<P>Hoi allemaal, </P>
<P>Ik heb een klein probleem in ASP. Nadat de internet Explorer is opgestart, zie ik het resultaat van het ASP pagina. Als ik de browser met de muis kleiner of groter maak, dan verschuiven de tekst en de tekstvakken mee. Dit gebeurt alleen als ik het in de breedte verklein. In de lengte is er niks aan de hand. De tekst schuift niet.</P>
<P>Weet er iemand hier antwoord op!</P>
<P> </P>
<P>Groetjes, </P>
<P>Ă–mer <BR><BR></P></DIV></div><br clear=all><hr>Meld je aan bij de grootste e-mailservice wereldwijd met MSN Hotmail. <a href='http://g.msn.com/1HM109201/N'>Klik hier</a><br></html>

Reply to this message...
 
    
Fredje
Je bent echt hartelijk bedankt voor de informatie.

Het werkt heel goed maar ik krijg de eerste keer wanneer de pagina
herlaad de volgende error -> Unable to find script library
'/aspnet_client/system_web/1_0_3705_0/WebUIValidation.js'. Maar die
script file staat wel in de map ik heb ook al 'asp_net_regiss -C' gerund
en dit verhelpt de fout niet. Weet jij soms hiermee raad?

Nogmaals hartelijk bedankt en groetjes Fredje...

-----Oorspronkelijk bericht-----
Van: Click here to reveal e-mail address [mailto:Click here to reveal e-mail address]
Verzonden: woensdag 6 maart 2002 7:52
Aan: aspngnl
Onderwerp: [aspngnl] RE: Ankers

SmartNavigation:

MSDN:

SmartNav (SmartNavigation) is an easily applied feature that improves
ASP.Net user experience in IE 5.0 or higher by performing the following.

Eliminating page flash caused by navigation/postback:

Depending on a user's video card and settings, a small flash can occur
when
navigating from one page to the next. This occurs because the old page
is
destroyed and the new one is created on a blank screen. When the visual

content doesn't change drastically between navigations, this small flash

becomes much more obvious. Because ASP.Net pages postback to the server

frequently and return with only small visual changes, in comparison, the

flash can be very noticeable. Using what is effectively a
double-buffering
technique, SmartNav prevents this from happening.

Persisting scroll position between postbacks:

Normally, the position in an ASP.Net page to which a user has scrolled
will
be lost after a postback to the server. IE will automatically persist
this
position when navigating back to a page that has already been visited.
However, when posting back to the server with an ASP.Net page, there is
no
mechanism in the browser to return to the appropriate scroll position.
With SmartNav enabled, this scroll position persists between postbacks
to
the server.

Persisting element focus between postbacks:

When a postback occurs in an ASP.Net page, the active element (button,
etc.) loses focus. IE automatically returns focus to the last active
element when navigating back to a page that has already been visited.
With
normal navigation, there is no mechanism built into the browser to
persist
focus. With SmartNav, however, this focus is preserved when posting
back.

Prevents each navigation from being saved in the browser history:

Normally, each "state" of an ASP.Net page's life will be saved in
history.
For example, if a server-side treeview control were incorporated into an

ASP.Net page, every interaction with the tree that caused a postback
would
add an item to the browser history. SmartNav prevents this from
happening,
causing only the last page "state" to be saved in the browser's history.

Enabling SmartNav on an ASP.Net Page

SmartNav is turned on at the server on ASP.Net pages in one of two ways.

It can be done through a page directive directly in the ASP.Net page
with
the syntax below:

< %@Page SmartNavigation = true %>

Note: When a page author enables SmartNav through VS.Net, this is the
method used.

Or, through the web.config file, SmartNav can be applied to all pages on
a
server or a directory on the server with the following syntax:

<configuration>
<system.web>
<pages smartNavigation="true">/
</system.web>
</configuration>"

Hou er overigens rekening mee, dat dit alleen werkt vanaf IE 5.0....

Ik zou dus gewoon ook HTML bookmarks gebruiken <A Name=Bookmark></a>
<A
href="pagina.asp#bookmark">link</A>

Martin

-----Oorspronkelijk bericht-----
Van: Fredje [mailto:Click here to reveal e-mail address]
Verzonden: dinsdag 19 februari 2002 17:19
Aan: aspngnl
Onderwerp: [aspngnl] Ankers

Hallo,

Kan mij iemand uitleggen hoe je gebruikt maak van ankers in asp.net. Of
als dit niet meer mogelijk is hoe je in asp.net naar een bepaalde
positie in je pagina springt...

Bedankt allemaal...
| [aspngnl] member Click here to reveal e-mail address = YOUR ID |
http://www.asplists.com/asplists/aspngnl.asp = JOIN/QUIT

| [aspngnl] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngnl.asp = JOIN/QUIT

Reply to this message...
 
    
m.j.a.jansen@kpn.com
Mmm...

Gaf asp_net_regiss -c geen foutmelding ? Het is namelijk aspnet_regiis -c
.....

Ten tweede is het wel vaak een directory issue....ben je er dus zeker van,
dat het een subdirectory is van je wwwroot ?

Check ook even de rechten op die directory....

Succes,

Martin

[Original message clipped]

Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification