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
mnakaoka
NA
1
0
Multiple dynamically created web controls, one event handler
Sep 17 2004 2:55 PM
Hello all.. I have a table where one column has DropDownList controls. Rows are added dynamically using a LinkButton. Each new row creates a new DropDownList control. I have one SelectedIndexChanged event handler that I associated each DropDownList control with. I recreate my table from cache on each postback. The DropDownList controls do seem to call my SelectedIndexChanged event, but I cannot even assign text to a Label I have statically set on my web form. I also cannot use Response.Write in my event handler as I am told by ASP.NET that "Response is not available in this context". So I get a vague message that has no other useful information. Is there something wrong with using numerous dynamically generated DropDownLists in a table column and a single even handler to handle all their SelectedIndexChanged events? Is there maybe some referencing issue with the DropDownLists? Any help or advise would be appreciated. Thank you.
Reply
Answers (
0
)
Missing mscpv71.dll file
Includes and templating.