TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
yibing26
NA
26
0
how to make my textbox focus in an editable datagrid?
Oct 21 2004 9:24 PM
there is my code for update command.. Public Sub DataUpdate(ByVal Sender As Object, ByVal E As DataGridCommandEventArgs) If CheckTime(CType(E.Item.FindControl("txtStd"), TextBox).Text) = "Error" Then Response.Write(msgbox("Invalid Input!!")) setFocus(CType(E.Item.FindControl("txtStd"), TextBox)) Exit Sub End If end sub here is my setfocus functions.. Private Sub setFocus(ByVal ctrl As System.Web.UI.Control) Dim s As String = "" RegisterStartupScript("focus", s) End Sub the setfocus function is working properly when the control is outside the datagrid.. but i cant make it focus in my editable datagrid.. anyone knows what's going wrong??
Reply
Answers (
0
)
using LOG4NET
updating active directory user profiles with.net