Restricting User While Entering In Textbox?
I am working on registration page. I am accepting some general inputs from user. Like First Name, Middle Name, Last Name etc.
Now what I want to do is:
1. When user enters in textbox then while typing; first letter should be automatically come up as capital letter & next as small case letters. E.g. If I am typing my first name then while typing it should be Sanjay & not as sanjay or sAnjay.
2. While typing in textbox user should not be allowed to enter white space in between the words like Sa jay this should not be happen. If user types like this I want to give an alert that something like please do not use space in between name.
View 7 Replies (Posted: Apr 16, 2009 12:14 PM)
Related Forum Messages For ASP.NET category:
Restricting User To Come Through Previous Page?
I have a site where the requirment is that user come through from previous page by clicking the button. If he/she try to come by query string it should display 404 message.
When you Click on the Sign Up. It will take you to the Registration Page where in the query string you see something like that.
If you go directly it will show "Error Detected" page.
How can i do this? What's the best way to tackle that user come through proper channel. Not by entering query string.
Posted: Oct 23, 2009 07:33 AM
View 5 Replies!
Web Forms :: Entering A Hexadecimal Value In A Textbox?
Our customer needs to add a value like 'NAK' to the database. This is a hexadecimal value (think it's either 15 or 21). How can the user enter this in the textfield? Or, what do I have to do to allow this to be entered?
If he enters '21', it just saves '21' to the database because he once asked for backslashes in this particular field.
Then, once I know how to enter the hexa value, can I expect any trouble in saving this to the database?
Posted: Sep 09, 2009 03:17 PM
View 2 Replies!
Web Forms :: Entering Time In TextBox?
I want to display time in textbox using a format HH:mm from the database as well as allow user to enter or modify time in the same format.
I have done the displaying of time using dt.ToShortTimeString();
How can I validate the user entered time or modified time. I need it to be a 24 hour format.
Posted: Feb 28, 2011 01:44 PM
View 5 Replies!
Web Forms :: Textbox Entering Results In Error?
I never knew that there was something like when you enter <xx> in the textbox it gives the error, so my question is how can i avoid this kind of problem? and how can i avoid this error? I cant say to ppl do not enter this in textbox who know what ppl can do, so it is better to make sure you wont get error cuz of this.
Posted: Feb 13, 2011 06:35 PM
View 15 Replies!
Web Forms :: Entering Array Of TextBox / How To Insert Into The Database
I ve design a page that has nine text box name txtSubject1 to txtSubject9 with the visibile properties to be false.I now have a method called Save1, Save2 to Save9 depending on the no of subject selected from the dropdown.But i think that is not professional bellow is a sample of how i did't and i believe the textbox can n number of an array that can be selected from the drop down. i need someone to put me through how to insert this into the database out side the fake method i ve used.
Posted: Aug 05, 2010 01:22 PM
View 7 Replies!
C# - How To Show Error For Entering A Duplicate Record In A Textbox, Exsisting In A Database
I am working on a project in .NET (C#), connected with a database. And I am entering values in database through 'text-box' control, for a part of the project. What I want is to check if the user entering value already exsists in the database and if so, shows error during that time only.
I have searched for any familiar post here, that could solve my query, but didn't get any.
my EXACT objective(if not cleared earlier):-
when the user enter the value in
textbox, automatically an event to
check any duplicate records in
database should occur. And if found,
displays an error message
Posted: Mar 10 at 12:10
View 3 Replies!
Is It Possible For A User To Recover Their Password By Entering Their E-mail Address Alone
Is it possible for a user to recover their password by entering their e-mail address alone?
Right now I am using the PasswordRecovery control, and i have security questions disabled. So all the user has to do is put their User Name, and hit submit, then their password is e-mailed to them.
But, a lot of my users forget their User Name, so right below I have a User Name recover section. The user inputs their e-mail address, and their corresponding user name shows up.
I would like to simplify this and just require the user's e-mail address to provide them their user name AND password.
Posted: Jan 19 10
View 3 Replies!
Design A Webform For Entering/editing User Input Using C# Code?
After going through few asp.net 2.0 books surfacially, I want to accomplish most of the task using c# code and Sql database.
1.we can access and update data using various ways like using sqldatasource code, data reader,command object,dataset,datatable etc.But which one to use in which situation?I am very confused.what do you prefer most,why?
2. How to code professional way? I mean how to separate code using different classes and how to link all togerther?
3.I want to design a webform for entering/editing user input using c# code and use presentation control like gridview and detailsview for viewing,paging and sorting only.Is this possible?
Posted: Jul 15, 2010 10:26 AM
View 2 Replies!
Web Forms :: Adding Details Automatically After Entering User Name And Password
i was wondering if anyone could help me with a problem i have. im not sure how to go about this exactly i have a web site for a group of ramblers
i have a master/details page which shows walks planned for the future and they can click "details" for the full details
but what i want to incorporate into it is that when they are looking at the full details there is an option to add them to it as attending by entering a user name and password (saved in a table in the database) and if entered correctly their username will be added to it as attending.
Posted: Apr 25, 2010 06:24 PM
View 8 Replies!
Web Forms :: Return Url In Aspx Refreshes The Page When Click Login After Entering User Name And Password?
I am struggling to login into my web portal on my new sony vaio laptop. I think that I need to do some settings, or download some plugin. Infact I don't know what to do, as I have spent many hours trying to login, but no success. Below is my office website:[URL]When I enter my credentials and click login, the web page gets refreshed, i.e username and password get erased, rather than taking me into my web-portal. The laptop is having windows 7 home premium, with ie8. I have also tried installing firefox, chrome, opera and safari, but same problem.
as sony has refused to take the laptop back and they are saying that there is problem with website. Similarly, website staff are saying that there is a problem with the laptop and not with the website.
Posted: Sep 10, 2010 06:06 PM
View 3 Replies!
Security :: Restricting Access Of URL From Address Bar?
I have an application where in the User Authentication is from the AD useing Directory services.
If i type in the address of a valid page from the application into the Address Bar, it throws me to the Login Page.
However if i am logged in and i type in the address of a valid webpage, the application takes me to the page. Is there any way that this can be restricted.
If i type in the URL into the address bar the application should throw me to the Home page of the application.
Posted: Mar 09, 2010 01:50 PM
View 1 Replies!