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
faraz akram
NA
129
0
handling templete control checkbox event in code behind C#
Sep 26 2010 5:11 AM
hi
i have added a templete cotrol in a web datagrid view the html code is as follow
<
asp
:
TemplateField
HeaderText
="Select">
<
ItemTemplate
>
<
asp
:
CheckBox
ID
="chkSelect"
runat
="server"
oncheckedchanged
="chkSelect_CheckedChanged"
/>
</
ItemTemplate
>
<
HeaderTemplate
>
</
HeaderTemplate
>
</
asp
:
TemplateField
>
now when i go into edit template control designer and their i open the checkchanged event for that control by double clicking it comes up with following event
protected
void
chkSelect_CheckedChanged(
object
sender,
EventArgs
e)
{
///this event is not firing on selecting or deselecting the check bob however it should be , wot to do in order to cath this event on runtime so that i may able to do some row operations on checking/unchecking of this template control field
}
Reply
Answers (
1
)
Why am i unable to find the LIB environment variable
displaying data from gridview ASP4.0 - C#