[CLOSED] Is it possible to use validation controls in 0.7.0

  1. #1

    [CLOSED] Is it possible to use validation controls in 0.7.0

    Hi ,

    Is it possible to use validation controls in 0.7.0 version of coolite.
    plz give me any example..

  2. #2

    RE: [CLOSED] Is it possible to use validation controls in 0.7.0

    Hi Satyanarayana murthy,

    There is some support for <asp:> Validation controls, but only the basics.

    You can create complex custom validation using the <asp:CustomValidator> control.

    Hope this helps.

    Geoffrey McGill
    Founder
  3. #3

    RE: [CLOSED] Is it possible to use validation controls in 0.7.0

    Hi geoffrey,

    I used validation controls as follows..
    But it is not validating..



    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowSummary="true" />


    <ext:TextField ID="txtLicenseNo" runat="server" FieldLabel="License No" />


    <asp:RequiredFieldValidator ID="RangeValidator1" runat="server" ControlToValidate="txtLicenseNo"


    ErrorMessage="Enter License No" />


    <ext:Button ID="btnAddBuyer" runat="server" Text="Add" CausesValidation="true">


    <AjaxEvents>


    <Click OnEvent="HasCodeBehindMethod">


    </Click></AjaxEvents></ext:Button>
    </form>

    if i use .net button is fine.

    please check it .


    regards
    satya
  4. #4

    RE: [CLOSED] Is it possible to use validation controls in 0.7.0

    I think the <ext:Button> control will only trigger the <asp> Validation when doing a classic PostBack.

    Geoffrey McGill
    Founder
  5. #5

    RE: [CLOSED] Is it possible to use validation controls in 0.7.0

    If you double-click on the <ext:Button>, the server-side event handler should be automatically wired up for you. You'll also have to set .AutoPostBack="true" on the <ext:Button>

    Hope this helps.

    Geoffrey McGill
    Founder

Similar Threads

  1. [CLOSED] Apply EXT validation Style on HTML controls.
    By farisqadadeh in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 03, 2011, 11:39 PM
  2. Asp.Net Validation Control with Ext.Net Controls
    By huzzy143 in forum 1.x Help
    Replies: 2
    Last Post: Sep 08, 2011, 8:32 PM
  3. Replies: 2
    Last Post: Aug 24, 2010, 11:31 PM
  4. Controls validation
    By wzietek in forum 1.x Help
    Replies: 5
    Last Post: Feb 22, 2009, 4:44 PM

Posting Permissions