Home All Groups Group Topic Archive Search About
Author
8 Apr 2006 4:02 PM
David Thielen
Hi;

How can I do the following (inside a GridView)?

<asp:LinkButton ID="DeleteButton" runat="server" CausesValidation="False"
CommandName="Delete"
                        OnClientClick='return confirm("Delete the datasource <%# Eval("Title")
%>?");'
                        Text="delete" />

The above does not evaluate the Eval.

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Author
8 Apr 2006 5:32 PM
Teemu Keiski
I replied to your question on Forums
http://forums.asp.net/thread/1251978.aspx

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke


Show quoteHide quote
"David Thielen" <thielen@nospam.nospam> wrote in message
news:9322C860-0820-4344-9D94-3AA40D626119@microsoft.com...
> Hi;
>
> How can I do the following (inside a GridView)?
>
> <asp:LinkButton ID="DeleteButton" runat="server" CausesValidation="False"
> CommandName="Delete"
> OnClientClick='return confirm("Delete the datasource <%# Eval("Title")
> %>?");'
> Text="delete" />
>
> The above does not evaluate the Eval.
>
> --
> thanks - dave
> david_at_windward_dot_net
> http://www.windwardreports.com
>