[FIXED] [V0.5] Button Click
*NEW - Coolite Toolkit Version 0.6.0 now available for download or view examples.
 

Coolite Forums

Welcome Guest ( Login | Register )
 
[FIXED] [V0.5] Button Click
Subscribe
Last Login: Today @ 3:21:29 PM
Posts: 580,
Posted 6/19/2008 5:12:17 AM

Group: Coolite Premium Member & Early Adopter
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:&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


----
Timothy Grant Vogelsang
tvogelsang [at] gmail [dot] com
Coolite Toolkit 0.7 SVN (Professional Edition)
Microsoft .NET Framework 2.0
Microsoft ASP.NET Ajax 1.0

Last Login: Today @ 3:11:47 PM
Posts: 1,173,
Posted 6/19/2008 9:37:26 AM

Group: Core Development Team
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
Coolite Inc.
Core Developer
twitter [personal] [coolite]
Last Login: Today @ 3:21:29 PM
Posts: 580,
Posted 6/19/2008 10:11:43 AM

Group: Coolite Premium Member & Early Adopter
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


----
Timothy Grant Vogelsang
tvogelsang [at] gmail [dot] com
Coolite Toolkit 0.7 SVN (Professional Edition)
Microsoft .NET Framework 2.0
Microsoft ASP.NET Ajax 1.0

Last Login: Today @ 3:11:47 PM
Posts: 1,173,
Posted 6/25/2008 8:01:45 PM

Group: Core Development Team
Hi Timothy,

This bug was fixed in the v0.5.3 release.

Thanks for pointing out the problem originally.
--
Geoffrey McGill
Coolite Inc.
Core Developer
twitter [personal] [coolite]
« Prev Topic | Next Topic »
Reading This Topic
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.
All times are GMT -8:00, Time now is 5:09pm