I have a ASP:DataList with asp:Linkbutton in a ItemTemplate that i try to open a telerik:RadWindow.
I want to send a id with the url using OnClientClick="radopen
This work fine for me, i can pick upp the id 3:
But i want to bind the id with the Container.DataItem in the OnClientClick="radopen, but get "The server tag is not well formed.".
What do i wrong?
Please excuse my bad english ....
I want to send a id with the url using OnClientClick="radopen
This work fine for me, i can pick upp the id 3:
<
asp:Linkbutton
ID
=
"lbVisa"
OnClientClick
=
"radopen('visa.aspx?id='+'3','RadWindow1');return false;"
Text
=
"Läs mer..."
runat
=
"server"
/>
But i want to bind the id with the Container.DataItem in the OnClientClick="radopen, but get "The server tag is not well formed.".
<
asp:Linkbutton
ID
=
"lbVisa"
OnClientClick
=
"radopen('visa.aspx?id='+'<%# DataBinder.Eval(Container.DataItem, "
id") %>','RadWindow1');return false;" Text="Läs mer..." runat="server" />
Please excuse my bad english ....