Thank you 1000x I knew it would be something so simple as to make me feel like a twit! Thanks again.
SiliconScout
Posts
-
Centering text -
Centering textIs there any way to center or justify text that is in a text box on an ASP.NET web page? I don't see alignment as a property of the actual control so is there some way that I can add this functionality? If I can't add it, then is there some way to exit the HTML to change the justification for me? Thanks
-
Simple focus??Hey there. I am writing an ASP.NET program using visual studio basic (VB). I have a page of form fields where users enter in several different numbers and I have validators on each field. What I would like to do is have the textbox recieve focus when the validator kicks in and says the field data is invalid. Thus if I have a field txtBox1 that is validated by fvalTxtB1 I want the txtBox1 to recieve focus if fvaltxtB1 is invalid. I didn't see any setfocus method for the textbox or the validation control so I am expecting that this should be a new method. Anyone already have this kind of code made and willing to save me some time?
-
no keypressed event.. uh oh!So then I am better off disabling the enter key then? There are 15 fields that have to be entered, though some of them may quite possibly remain at their default value (0). I would hate to have a user get to field 13 and hit enter accidently and have to begin all over again. Is there an easy way to disable the enter key or change this default behaviour without java scripting it? I too would love to avoid java if at all possible.
-
no keypressed event.. uh oh!Hey there. I am having a problem in that on my web form hitting the enter key is equal to clicking the submit button on the webform. I have a series of text boxes on the page that the use enters in transactional information and I would like the enter key to either jump to the next text box or do nothing at all. I know with a windows app I would use the Keypressed method, but the webform control obviously is missing this method. How do I go about fixing this anyone? Oh yeah I am using VB.NET Thanks.
-
textbox in .ASP webformahh thanks I am pretty new here. I will take the question over to the ASP.NET forum. Thanks again.
-
textbox in .ASP webformHey there. I am having a problem in that on my web form hitting the enter key is equal to clicking the submit button on the webform. I have a series of text boxes on the page that the use enters in transactional information and I would like the enter key to either jump to the next text box or do nothing. I know with a windows app I would use the Keypressed method, but the webform control obviously is missing this method. How do I go about fixing this anyone? Thanks.