problem with textbox focus when page refresh

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • denvercr
    New Member
    • Aug 2006
    • 13

    problem with textbox focus when page refresh

    hi guys, im having a problem with my textbox. I created a button that when clicked, it will show the textbox.. it shows the textbox however i cannot type any characters on it. It's like being disabled. Hope you can help me out of this.. Thanks to all.
  • nmsreddi
    Contributor
    • Jul 2006
    • 366

    #2
    hello

    on pageload you are giving textbox property enable=false or visible=false

    make sure in button click it is true and also readonly property is false

    Comment

    • nmsreddi
      Contributor
      • Jul 2006
      • 366

      #3
      hello

      sorry my mistake above reply

      your problem is textbox is not visible after refresh


      what ever the code you have written on page keep that in

      if(!ispostback)
      {
      ///////place your code here

      }

      your problem is defnately solved

      all the best

      Comment

      Working...