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
Pramod Kumar Nandagiri
NA
484
0
how to write the code in chechk_checkedchanged event when the check box is dynamically created
May 19 2010 8:04 AM
hi i created one check box dynamically and added to table like bellow
CheckBox chk=new CheckBox();
chk.AutoPostBack = true;
chk.CheckedChanged += new EventHandler(chk_CheckedChanged);
tbcell3.Controls.Add(chk);
tbrow1.Cells.Add(tbcell3);
tbl.Controls.Add(tbrow1);
this.Controls.Add(tbl);
like this the check box was created dynamically now i want to write the code in chk_checkedchanged event
how to write that, i tried like bellow but i didn't get result
void chk_CheckedChanged(object sender, EventArgs e)
{
tbl.BackColor = Color.Black;
}
Reply
Answers (
2
)
clearing browser history
problem with script error when session state mode as state server and session