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
Ellen Hu
NA
63
0
How can get control ID when it is within UpdatePanel, and original its visible is false?
Sep 2 2009 6:34 PM
Hi All, If someone could help me on the following? I have a master page with update panel, on this master page there are 2 conrol (all are inside updatepanel): 1)ucTitle -- a label will display title from db, and edit button next to it 2)ucEditTitle -- a txtBox and save button, visible= false Once user clicks edit button, ucTitle becomes not visible and ucEditTitle will be visible Now on one of my pages, I need to get that txtBox id because my task is to warn the user if inputs bad word. This can be accomplished by ScriptManager.RegisterStartupScript(this, this.GetType(), "myscript", strScript, true); however I cannot get that control's id, it is not included in source (via view source) I tried made the ucEditTitle visible to true, then view source I can see the txtBox id; but once I set the visible to false at master page, even at Edit mode I cannot see ucEditTitle at all. Thank you for your time. Ellen
Reply
Answers (
2
)
Getting values from dynamically created template columns in gridview
Play audio on button Click event in asp.net web form?