TextField.text doesnt return correct value, return a null value

  1. #1

    TextField.text doesnt return correct value, return a null value

    when i try to catch value of a textfield write on markup, always catch empty (" ") or null value.

    for example:
    <%@ Page Language="C#" %>
    <%@ Register assembly="Ext.Net" namespace="Ext.Net" tagprefix="ext" %>
    
    <script runat="server"> 
    protected void btnTest_click (object sender, DirectEventArgs e){
    
      X.Msg.Alert("TEST", txtText.Text );
    }
    <script/>
    
    //and the tag markup is:
    <ext:TextField ID="txtText" runat="server" FieldLabel="Fecha(DD/MM/YYYY)" 
                                    AnchorHorizontal="50%" Padding="5">
    </ext:TextField>
    maybe i've forgot any property?
    Last edited by tk.Mageztik; Jul 25, 2012 at 5:57 AM.
  2. #2
    Quote Originally Posted by tk.Mageztik View Post
    when i try to catch value of a textfield on markup, always catch "" or just null.

    for example:


    X.Msg.Alert("TEST", txtText.Text );

    and the tag markup is:

    <ext:TextField ID="txtText" runat="server" FieldLabel="Fecha(DD/MM/YYYY)"
    AnchorHorizontal="50%" Padding="5">
    </ext:TextField>

    i need an event? or what?
    again a i need put form?? but i cant put form on my usercontrol.ascx. how can i get value of controls?
  3. #3
    please i need help, how can i put a correct form to my usercontrol, to get value from textfields, i put form on my user control but isn't works, and in mi desktop principal page, i have a form... but dont work, help pls.
  4. #4
    Please see #1 on the following post:

    http://forums.ext.net/showthread.php...ation-Required

    As well, it would be good to review the following post:

    http://forums.ext.net/showthread.php...ing-New-Topics
    Geoffrey McGill
    Founder
  5. #5
    Quote Originally Posted by geoffrey.mcgill View Post
    Please see #1 on the following post:

    http://forums.ext.net/showthread.php...ation-Required

    As well, it would be good to review the following post:

    http://forums.ext.net/showthread.php...ing-New-Topics
    apologize me for not having read the rules before, anyway i can resolve my problem, encapsulate all my desktop.aspx main page in a form. thax for all.

Similar Threads

  1. Replies: 2
    Last Post: Jun 18, 2012, 8:39 PM
  2. [CLOSED] NumberField MinValue return null value
    By Aurelio in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 22, 2012, 1:10 PM
  3. getSelectedNode() always return NULL
    By Zhivko in forum 1.x Help
    Replies: 7
    Last Post: Mar 01, 2010, 8:09 AM
  4. [CLOSED] Null Return from Ajax Form Result of Coolitve MVC
    By fondant in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jul 27, 2009, 10:02 PM
  5. Replies: 4
    Last Post: Nov 24, 2008, 3:51 AM

Tags for this Thread

Posting Permissions