Not working for asp:button within a GridView

Jul 2, 2008 at 4:31 PM
I tried prompt control for an asp:button within a GridView. It does not working. I am not sure what is missing. Here are some codes in my page:

<asp:GridView ID="DataValidationGridView" ...
                <asp:Button ID="SaveButton" runat="server" Font-Bold="True" Font-Size="Larger"
                    Text="SAVE" Width="52px" ToolTip="Save Changes" />
               <ae:Prompt ID="Prompt1" runat="server" Message="Text1 cannot be empty. Please enter something in Text1."
                    ButtonOptions="Ok" Title="Warning">
                        <ae:ControlPromptTrigger ControlID="SaveButton" EventName="click"
                         PreventDefault="true" />

I am not sure if the ControlID should include GridView's ID or not. It looks like that the client side prompt is not called.

By the way, your example web page is not available. Where can I find it?