asp:TextBox

Discussion in 'ASP .Net Web Controls' started by Sujith, Sep 12, 2006.

  1. Sujith

    Sujith Guest

    I not able to able to intitialize the value of TextBox1.
    eg:- TextBox1.Text = now()
    or
    TextBox1.BackColor=Color.Beige
    is not happening. wat could be the reason
     
    Sujith, Sep 12, 2006
    #1
    1. Advertisements

  2. Can be abit more clearer on your problem, check the event at which you
    code gets executed, Other than that there is no problem as you wrote
     
    Savil Francis, Sep 13, 2006
    #2
    1. Advertisements

  3. Sujith

    Sujith Guest

    Than you for the replay.

    I am using it at Page load event. Its not working. Like with HTML input type
    text; can I initialize it?

    Regards,
    Sujith
     
    Sujith, Sep 17, 2006
    #3
  4. Most likely you are accidentally overwriting your value elsewhere in your
    code, or maybe re-initializing the textbox which is clearing the value you
    set.

    --
    I hope this helps,
    Steve C. Orr
    MCSD, MVP, CSM
    http://SteveOrr.net


    "Sujith" <> wrote in message
    news:...
    >I not able to able to intitialize the value of TextBox1.
    > eg:- TextBox1.Text = now()
    > or
    > TextBox1.BackColor=Color.Beige
    > is not happening. wat could be the reason
    >
     
    Steve C. Orr [MVP, MCSD], Sep 18, 2006
    #4
  5. Sujith

    Sujith Guest

    Thanks for the replay Mr. Steve.

    I will check that.
    Good Day (9/18/2006 9:10:00 AM)
    Sujith
     
    Sujith, Sep 18, 2006
    #5
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hazzard
    Replies:
    2
    Views:
    780
    Yan-Hong Huang[MSFT]
    Jul 23, 2003
  2. =?Utf-8?B?Q2hyaXM=?=
    Replies:
    3
    Views:
    14,271
    Peter Blum
    Mar 30, 2005
  3. Jay

    Rich TextBox / HTML TextBox

    Jay, Apr 28, 2005, in forum: ASP .Net
    Replies:
    5
    Views:
    15,971
    Steve C. Orr [MVP, MCSD]
    Apr 29, 2005
  4. Jay

    Rich TextBox / HTML TextBox

    Jay, Apr 28, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    699
    =?Utf-8?B?TG9yZW5j?=
    Apr 28, 2005
  5. Imran Aziz
    Replies:
    2
    Views:
    11,733
    Imran Aziz
    Sep 5, 2005
  6. =?Utf-8?B?U3JpZGhhcg==?=
    Replies:
    1
    Views:
    2,064
    =?Utf-8?B?UGhpbGxpcCBXaWxsaWFtcw==?=
    Feb 14, 2006
  7. ald
    Replies:
    3
    Views:
    378
    Axel Dahmen
    Dec 21, 2003
  8. ErwinP
    Replies:
    1
    Views:
    1,143
    ErwinP
    Aug 19, 2005
Loading...