<
CommandItemTemplate
>
<
div
style
=
"width:100%; height:100%;"
>
<
asp:LinkButton
ID
=
"btnAddDropShipSubjectArea"
runat
=
"server"
CommandArgument
=
"SubjectArea"
CommandName
=
"InitInsert"
>
<
img
style
=
"border:0px"
alt
=
""
src
=
"../CSS/View/Grid/AddRecord_ToolTip.gif"
/> Add Subject Area
</
asp:LinkButton
>
<
asp:LinkButton
ID
=
"btnAddDropShipItem"
runat
=
"server"
CommandArgument
=
"Item"
CommandName
=
"InitInsert"
>
<
img
style
=
"border:0px"
alt
=
""
src
=
"../CSS/View/Grid/AddRecord_ToolTip.gif"
/> Add Item
</
asp:LinkButton
>
</
div
>
</
CommandItemTemplate
>
<
Columns
>
<
telerik:GridDropDownColumn
Visible
=
"false"
UniqueName
=
"ddlSubjectAreaCodes"
DataField
=
"IntAreaCode_SK"
HeaderText
=
"ID"
DropDownControlType
=
"RadComboBox"
AutoPostBackOnFilter
=
"true"
>
</
telerik:GridDropDownColumn
>
</
Columns
>
I have a grid with the markup above. I have two link buttons that do two different things; I couldn't find
out how to populate ddlSubjectAreaCodes with different data based on the link clicked in the ItemCreated
event.
Any help is appreciated.
Thanks