Hi,

Here is my code

Code:
 <ItemTemplate>
<asp:Label runat="server" Width="80%" Text='<%# DataBinder.Eval(Container.DataItem, "Name") %>' ID="lblName"></asp:Label>

 <asp:LinkButton ID="btnDelete" runat="server" Text="Delete" OnClientClick="return Confirm(event, 'Confirm', 'Delete Page Layout', message, 'Delete');"></asp:LinkButton>

 </ItemTemplate>
i have seprate javascript function called Confirm. So this code is working fine for me.

i have another requirement that i need to append the label text in this javascript function.
for example in this javascript function i am passing "Delete Page Layout" as message. so i need to append the label text with this message.

for example

if the label text is vbforums then my message should be "Delete Page Layout vbforums?". so please help me to append the label text in this javascript message parameter.

i have tried like this

Code:
<asp:LinkButton ID="btnDelete" runat="server" Text="Delete" OnClientClick="return Confirm(event, 'Confirm', 'Delete Page Layout + '<%# DataBinder.Eval(Container.DataItem, "Name") %>', message, 'Delete');"></asp:LinkButton>
but it is not working. and one important is this should be done in aspx side only. i should not go for code behind.so please help me to achieve this .k indly give me some sample to do this pease.