CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_web_developer_2008_express Tags:
Item Type: NewsGroup Date Entered: 1/9/2008 8:08:11 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 5 Views: 23 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
6 Items, 1 Pages 1 |< << Go >> >|
cinstress
Asp.Net User
Createuserwizard can textbox be set to a date?1/9/2008 8:08:11 PM

0/0

 

In Visual Web Developer 2008 Express I am creating a "Create New User Page" by using the createuserwizard provided.

I switched to the content template to add additional boxes to gather info (on top of the create username, create new password, that automatically gets created with this wizard)

I want to have a date of birth field, but I want the texbox to only allow someone to enter a date.

 

How do I do that?  The properties don't seem to specify that the textbox can only accept a date. 

smcoxon
Asp.Net User
Re: Createuserwizard can textbox be set to a date?1/9/2008 9:22:34 PM

0/0

Hi, you need to use a RegularExpresion validation control against the textbox that validates Dates only. Take a look at this uRL for Date regular expressions to use in your validation control: http://regexlib.com/Search.aspx?k=dates&c=-1&m=-1&ps=20


Regards
Smcoxon

No Gem is ever polished without some friction.
cinstress
Asp.Net User
Re: Createuserwizard can textbox be set to a date?1/10/2008 3:19:17 PM

0/0

 thank you

 if I only want month and year would this be the expression?

 

^\d{1,2}\/\d{4}$

 

I'm not sure if I left a slash out or something
 

cinstress
Asp.Net User
Re: Createuserwizard can textbox be set to a date?1/10/2008 4:43:55 PM

0/0

 no need to reply

 

iut worked

 

thanks for your help 

smcoxon
Asp.Net User
Re: Createuserwizard can textbox be set to a date?1/10/2008 6:55:34 PM

0/0

Great! Please mark as answered if I was of help.

Thanks.


Regards
Smcoxon

No Gem is ever polished without some friction.
Sirko
Asp.Net User
Re: Createuserwizard can textbox be set to a date?1/10/2008 10:16:56 PM

0/0

You can validate Dates using CompareValidator. Especially this method is preferred if you need culturally sensitive validation.


My last project - .NET Tip of The Day.org
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Show custom message in CreateUserWizard ErrorMessage control - ng ... NEWSGROUP > Asp.Net Forum > general_asp.net.security, Date: 10/9/2007 . ...
Setting Password in code for CreateUserWizard - ng.asp-net-forum ... Item Type: NewsGroup, Date Entered: 12/11/2006 6:08:13 PM, Date Modified: Subscribers: 0, Subscribe Alert ... The CreateUserWizard is very limiting. I'd suggest writing your own ... This way you can set the password to whatever you want. ... When the user tabs off the last textbox, Confirm password, ...
RequiredFieldValidator in a custom WizardStep of CreateUserWizard ... First, the ValidationGroup property on the TextBox control is NOT the issue. ... Professional Validation And More and Peter's Date Package) and Peter's Polling Package ... Can you pls tell me how to set the property? ...
DotNetSlackers: Add Profile Items in CreateUserWizard and ... Aug 24, 2006 ... "This property cannot be set for anonymous users." ... Another thing that can be tricky is referencing your Textbox (or other web form) ..... Silent installation of JDK and JRE more; Date Extras Javascript Library more ...
ASP.NET.4GuysFromRolla.com: Customizing the CreateUserWizard Control Jul 5, 2006 ... But alas, the control can be "templated" to change the layout and to require more ... Inside this WizardStep (whose ID property is set to CreateUserWizardStep0 ) .... NET knows to use that TextBox to create the user's password. .... Microsoft Article: New Date Data Types with SQL Server 2008 ...
Customizing the CreateUserWizard - Windows Live Listed by date, Listed by category ... After you drag-and-drop a RequiredFieldValidator beside the textbox you should set the following ... Configure it with the ConfigureDataSource wizard and with it set the ConnectionString to the ... You've exceeded the maximum number of comments that can be left in one day. ...
Re: How Can I Reference Custom Controls in the CreateUserWizard? Date: Thu, 2 Feb 2006 10:13:29 −0800 ... This can be tricky − i am not sure how the CreateUserWizard handles this ... reference the dropdownlist on the second step and set the selection there. I would also like to copy the contents of the user address textboxes to the company textboxes in the "Next" button ...
(CreateUserWizard) CreateUserWizard Information Directory You can use a text file for the email body. Set this attribute (MailDefinition- BodyFileName) on the ... I needed to validate a textbox control for a date. ...
Assigning Profile Properties When A User Registers With ... the LoginCreatedUser property of my CreateUserWizard set to True, but when I use the HttpContext.Current.Profile. ... Date: Tue, 13 Jan 2009 00:41:41 +0100 ... A suitable event can be the ContinueButtonClick event of the wizard, what is .... TextBox).Text Dim loc As String = CType(Me.cuwRegister. ...
CreateUserWizard and Profiles UserName, true), ProfileCommon) Dim CustNum as TextBox = CType(CreateUserWizard1 . .... Join Date: Jun 2003. Location: Utrecht, Netherlands. Posts: 9141 ... Either set up the handler in the ASPX portion of the site (as I think is the ... Wow, I can't tell you how many times I looked over that code, ...




Search This Site:










visual studio 2005 toolbox utility

toolboxitem fail to drag and drop

different source code languages in same project?

vs 2005 exits when i add reference.

looking for sql formatter plug in

how to get a datagrid item values in pageload event

what about windows forms development?

how to share a library file

don't appear solutions in vs2005!

help! clipboard is filling up my toolbox!

recent projects > open websites option missing?

ability to deploy projects developed on remote fp based server

add-ins problem - sp1

dynamic documentation from documentation tags i source code

visual studio 2005 and .net framework 1.1

tips to get the fast build in vs2005 web projects

xsd conversion from web project into dll project

i need an advice

working with the tab index on autopost back using vb.net

asp.net web configuration tool

messages to debug window from custom build provider

quick start tutorials and vs.net

how do i cancel build

vb6 vs vb2005 on ide navigation (integrated design environment navigation)

how can i see line number in vs 2005

visual studio won't regenerate designer.cs class...

vs 2005

coding on mac

problems in vs2005 after upgrading to active directory

visual studio 2005- can it build asp 1.1 applications?

  Privacy | Contact Us
All Times Are GMT