Hi,
I have a RadGrid that I want to load other user controls when clicking on a row. How to accomplish this?
I have set ClientSetting EnablePostBackOnRowClick to true and enabled Ajax (EnableAJAX="true").
I have tried to create a method in code behind as below but this will not add the text "Postback" to Label1.
Pls advice.
Br,
Jesper
I have a RadGrid that I want to load other user controls when clicking on a row. How to accomplish this?
I have set ClientSetting EnablePostBackOnRowClick to true and enabled Ajax (EnableAJAX="true").
I have tried to create a method in code behind as below but this will not add the text "Postback" to Label1.
protected
void
gvShipments_ItemCommand(
object
source, GridCommandEventArgs e)
{
if
(e.CommandName ==
"RowClick"
)
{
e.Item.Selected =
true
;
Label1.Text +=
"Postback"
;
}
}
Pls advice.
Br,
Jesper