Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GridView column - link button - add confirmation
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01300944
Message ID:
01301399
Vues:
14
This message has been marked as a message which has helped to the initial question of the thread.
Should be asp:LinkButton.

>Do you know what should I use to get the appearance of a link (right now it's a button) and also to fix the problem with not well-formed tag. I don't really want to add a separate script on the page, though I can if it's need to be done this way:
>
><ItemTemplate>
>    <asp:Button ID="Button1" runat="server" Text="Remove User From Role" CommandName="RemUser"
>
>      OnClientClick="return confirm('Are you sure you want to remove ' +
>< %# Eval("UserName") % > + ' from ' +
>document.getElementById('< %= drpSelRole.ClientID % >').value + ' role ?');" />
>                </ItemTemplate>
Regards,

E.R. Gilmore
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform