Search Results

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: wilch ; Forum: ASP.NET and child forums
Forum: ASP.NET Aug 19th, 2009
Replies: 6
Views: 921
Posted By wilch
How about this:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
FirstTextBox.Attributes.Add("id", "txtbx1")
...
Forum: ASP.NET Aug 19th, 2009
Replies: 6
Views: 921
Posted By wilch
I have replaced textbx2.focus with txtbx1.focus

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
FirstTextBox.Attributes.Add("onkeyup",...
Forum: ASP.NET Aug 19th, 2009
Replies: 6
Views: 921
Posted By wilch
Since the compiler runs in a top-down fashion, the last code executed on page load, is the setting of focus on textbox2. Which means textbox1 will not get focus unless you shift tab to it.

I think...
Showing results 1 to 3 of 3

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC