hi my dear friends :
i added an itemtemplate to my radlistbox and also added 1 label and 2 linkbutton in it ...
my radlistbox is like below :
My Problem Is how can i check the CommandName of LinkButtons in code behind when i click on them?
(we do n't have access to these LinkButtons In CodeBehind)
thanks for your attention
best regards
i added an itemtemplate to my radlistbox and also added 1 label and 2 linkbutton in it ...
my radlistbox is like below :
<
telerik:RadListBox
ID
=
"RadlbOfImageGroup"
runat
=
"server"
DataKeyField
=
"ID"
DataSortField
=
"Title"
DataSourceID
=
"sdsImagesGroup"
DataTextField
=
"Title"
DataValueField
=
"ID"
Skin
=
"BlackByMe"
EnableEmbeddedSkins
=
"False"
Width
=
"260px"
Height
=
"365px"
EmptyMessage
=
"no rec!"
AutoPostBack
=
"True"
OnSelectedIndexChanged
=
"RadlbOfImageGroup_SelectedIndexChanged"
CausesValidation
=
"False"
>
<
ItemTemplate
>
<
table
style
=
"width: 100%;"
>
<
tr
style
=
"width: 100%;"
>
<
td
style
=
"width: 64%;"
>
<
asp:Label
ID
=
"lblTitleOfIG"
runat
=
"server"
CssClass
=
"lbl_ListBox_IG_Title"
Text='<%# Eval("Title") %>'></
asp:Label
>
</
td
>
<
td
style
=
"width: 18%; text-align: center;"
>
<
asp:LinkButton
ID
=
"lbEditIG"
runat
=
"server"
CausesValidation
=
"False"
CommandName
=
"Edit"
CssClass
=
"lb_ListBox_IG"
OnClick
=
"lbEditIG_Click"
>Edit</
asp:LinkButton
>
</
td
>
<
td
style
=
"width: 18%; text-align: center;"
>
<
asp:LinkButton
ID
=
"lbDeleteIG"
runat
=
"server"
CausesValidation
=
"False"
CommandName
=
"Delete"
CssClass
=
"lb_ListBox_IG"
OnClick
=
"lbDeleteIG_Click"
>Delete</
asp:LinkButton
>
</
td
>
</
tr
>
</
table
>
</
ItemTemplate
>
</
telerik:RadListBox
>
My Problem Is how can i check the CommandName of LinkButtons in code behind when i click on them?
(we do n't have access to these LinkButtons In CodeBehind)
thanks for your attention
best regards