Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Multiple Textboxes


Message #1 by "Mitchell Adams" <MADAMS@p...> on Mon, 21 Oct 2002 14:24:10 -0400
I have a calendar of events I need to maintain and I'm trying to build a 
form to allow the client to select multiple dates of when the event is 
taking place and insert those records into a table.

I'd like to allow them to enter as many start and end dates as they would 
like.
For example:
They could list an event taking place on the first day of every month
1/1/2002 - 1/9/2002
2/1/2002 - 2/4/2002
3/1/2002 - 3/3/2002

What would be the best way to handle this?

I was thinking of programmatically adding a list of text boxes to the page 
at load time and then allowing the user to add more boxes if they needed 
to add more dates.

How would I loop through the values and populate a table correctly

Has anyone dealt with anything similar or could point me to an online 
tutorial?

Thanks

Here is the form I'm  thinking of:
http://test.palmbeachfl.com/help/datehelp.aspx


Message #2 by "Mingkun Goh" <mangokun@h...> on Fri, 25 Oct 2002 11:46:09
See this .net Spiffy Calender Box at 

The Spiffy Controls Library
http://www.liebherr-us.com/equis/desktopdefault.aspx?si=eddem007m001

It is really great when implemented!



[This is how I created a RTM version of the DLL which I used in my VS.net 
RTM project]
1. Create a new Web Control Library called 'SpiffyControlsLibrary'

2. Rename 'WebCustomControl1.vb' to 'CalendarBox.vb'

3. Paste in the Library Source Code for both AssemblyInfo.vb and 
CalendarBox.vb
http://www.liebherr-us.com/equis/desktopdefault.aspx?si=eddem007m002

4. Generate a new, random key pair using:
Strong Name Tool (Sn.exe)
sn -k keyPair.snk

5. In AssemblyInfo.vb, make sure this line points to where your 
keypair.snk is.
e.g. <Assembly: AssemblyKeyFileAttribute("C:\Documents and 
Settings\Administrator\My Documents\Visual Studio 
Projects\SpiffyControlsLibrary\keypair.snk")> 

6. Build this project and SpiffyControlsLibrary.dll will be created under 
your bin directory.




Previous message:

> I have a calendar of events I need to maintain and I'm trying to build a 

form to allow the client to select multiple dates of when the event is 
taking place and insert those records into a table.

I'd like to allow them to enter as many start and end dates as they would 
like.
For example:
They could list an event taking place on the first day of every month
1/1/2002 - 1/9/2002
2/1/2002 - 2/4/2002
3/1/2002 - 3/3/2002

What would be the best way to handle this?

I was thinking of programmatically adding a list of text boxes to the page 

at load time and then allowing the user to add more boxes if they needed 
to add more dates.

How would I loop through the values and populate a table correctly

Has anyone dealt with anything similar or could point me to an online 
tutorial?

Thanks

Here is the form I'm  thinking of:
http://test.palmbeachfl.com/help/datehelp.aspx

  Return to Index