DropDownList moves to top of page on PostBack

R

Roger Helliwell

Probably an easy fix I'm overlooking, but when I select an item from a
DropDownList (AutoPostBack="true"), the dropbox jumps to the top of
the page. Any idea how to stop this behaviour?

Roger
 
M

Mohamed El Ashmawy

Do you mean that the page gets back to its top on postback (due to the
combobox selection)?
If you set smartnavigation to true (in the aspx page object), the page
won't jump up on postbacks.
Please review the defintion of smart navigation at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfSystemWebUIPageClassSmartNavigationTopic.asp

Regards
Mohamed El Ashmawy
MEA Developer Support Center
ITWorx on behalf of Microsoft EMEA GTSC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top