OK everybody - let me try this again:
I've got a control that isn't visible all the time - it's in a panel. When
the user clicks a button, I make the panel visible and I want to scroll to a
control on the panel. I can set the focus to the control but that doesn't
scroll to the control. I've tried setting
Page.MaintainScrollPositionOnPostBack = true; but that just scrolls back to
the place it was before - not to the control I need it to go to.
Any ideas?
TIA - Jeff.
"David Wier" <dw@dw.comwrote in message
news:Oj**************@TK2MSFTNGP05.phx.gbl...
If you are creating the control dynamically, make sure it gets created
each time the page reloads
If you're talking visiblity, then, just make sure the control or panel in
which it's contained is visible, based on the event handler necessary for
this.
David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with
no bloated markup
"Mufasa" <jb@nowhere.comwrote in message
news:Oc**************@TK2MSFTNGP04.phx.gbl...
>>I have a control on a page that appears when there's something somebody
needs to enter. No problem - part of a panel and when they need to enter
into it, I set the focus for the control. Problem is, it's not on the
page. How can I get the control to be on the page when the page reloads?
TIA - Jeff.