I have a RadGrid, and there is a GridTemplateColumn as below:
and i have a RadWindow which has a button as below:
I need to set the button's text which in Radwindow base on record's status in RadGrid, but now the button's text always keep the default value, cannot change it.
Any help would be great!
<
telerik:GridTemplateColumn
HeaderText
=
"Approve"
>
<
ItemTemplate
>
<
asp:LinkButton
ID
=
"LinkButtonIsLinkPublish"
CommandName
=
"ShowIsPublish"
Text
=
"<span style="
font-size: 14px;">Approve</
span
>"
runat="server"></
asp:LinkButton
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
and i have a RadWindow which has a button as below:
<
telerik:RadWindow
ID
=
"RadWindowIsPublish"
runat
=
"server"
Title
=
"Approve"
Width
=
"250px"
Height="150px" VisibleOnPageLoad="false" Behaviors="Close,Resize,Move" Left="610px">
<
ContentTemplate
>
<
table
width
=
"100%"
>
<
tr
>
<
td
align
=
"center"
>
<
telerik:RadButton
ID
=
"RadWindowIsPublisRadButton"
runat
=
"server"
OnClick
=
"RadWindowButton_Onclick"
CommandArgument="radwindowIsPublish">
</
telerik:RadButton
>
</
td
>
</
tr
>
</
table
>
</
ContentTemplate
>
</
telerik:RadWindow
>
I need to set the button's text which in Radwindow base on record's status in RadGrid, but now the button's text always keep the default value, cannot change it.
Any help would be great!