By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,556 Members | 1,633 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,556 IT Pros & Developers. It's quick & easy.

Tab Control

P: n/a
Hello All,

In VB or Access I'd use the SetFocus method to start the user at a specific
control or move them to a specific control during validation. Is there a way
to do this in ASP.NET?

Thanks, Herb

Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Herb Stull" <st*****@nauticom.net> schrieb
In VB or Access I'd use the SetFocus method to start the user at a
specific control or move them to a specific control during
validation. Is there a way to do this in ASP.NET?


I don't know ASP.NET but the ASP.NET people do:
microsoft.public.dotnet.framework.aspnet
--
Armin

Nov 20 '05 #2

P: n/a
Cor
Don't pay too much attention to Armins answer.
He has no money for a television spot, so he uses this newsgroup to tell
everybody that he knows nothing from
VB.net webapplications and thinks that all what has something to do with an
asp.net server is for that newsgroup.

But to the dotnet.VB.language subject.
I cannot find it too.

I did read that and test that standaard is the focus on the url and after
that to the tabindexes from 1 to y.
I did found nothing to change this stupid behaviour.

I have a piece of JavaScript with what you can put the focus on the first
control that you want.
Maybe you know it already, but if not you have it.
\\\\
<script language="JavaScript">
document.all.item("Textbox1").focus()
</script>
////

(If you did not know this already, the best place to put this in the apx
page is right before the </html> tag)

But I cannot set or change the focus with VB.

If you found a VB.net solution, you never know maybe in the asp.net group,
but I think this is the best place for that, will you tell it than here.

There is also a public microsoft newsgroup webcontrols, maybe they know it,
but to control it like you described, you will need vb.net code.

I hope it helps you a little bit

Cor

Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.