[FIXED] [V0.5] Button Click

  1. #1

    [FIXED] [V0.5] Button Click

    When you add a button to a form which causes validation, the validation is not evaluated on the client side, just the server.

        <ExtJS:ScriptManager runat="server" StateProvider="PostBack" Theme="Gray" />
        <form runat="server">
            <asp:ValidationSummary ID="vsSummary" runat="server" HeaderText="The following requires your attention:" ShowMessageBox="True" ShowSummary="False" />
            Name:&amp;nbsp;<asp:TextBox ID="txtName" runat="server" Width="255" />
            <asp:RequiredFieldValidator ID="rfvName" runat="server" ControlToValidate="txtName" ErrorMessage="Name is a required field!" Display="Dynamic">!</asp:RequiredFieldValidator>
            <ExtJS:Button ID="btnSubmit" runat="server" CausesValidation="True" Text="Submit" />
            <asp:Button ID="btnSubmit2" runat="server" CausesValidation="True" Text="Submit 2" />
        </form>
    The above demonstrates that the ExtJS button does not issue the validation on client side, only on server side :)

    Cheers,
    Timothy
  2. #2

    RE: [FIXED] Button Click

    Hi Timothy,

    I'm working on this bug right now. Hopefully before the end of the day we should have it fixed.

    Thanks for pointing out the defect.
    Geoffrey McGill
    Founder
  3. #3

    RE: [FIXED] Button Click

    I assume the fix will only be in SVN and not a new release of 0.5?

    Still working with my company to get a couple licenses.

    Cheers
  4. #4

    RE: [FIXED] Button Click

    Hi Timothy,

    This bug was fixed in the v0.5.3 release.

    Thanks for pointing out the problem originally.
    Geoffrey McGill
    Founder

Similar Threads

  1. [CLOSED] When button click, open the menu of button
    By supera in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 22, 2012, 4:23 PM
  2. Replies: 4
    Last Post: Nov 19, 2010, 1:39 PM
  3. Replies: 2
    Last Post: Oct 22, 2010, 11:04 AM
  4. How to Add Another Tab when we click on Button
    By Dinesh.T in forum 1.x Help
    Replies: 2
    Last Post: Mar 22, 2010, 7:55 AM
  5. Replies: 2
    Last Post: Oct 30, 2009, 1:54 PM

Posting Permissions