Microsoft
Software
Hardware
Network
Question : Dynamic Controls - checkboxes and tables
Hi,
I'm trying to figure out the best approach to something I want to write.
The program is an intranet app where someone logs in and ticks the days they are in for a particular week.
The working idea I had was to have an asp:table, with checkboxes - one for each day of the week, and a command button to go through and see what's ticked and what's not.
To extend this, I want the user to have several weeks in this table at once, with an "Add Another Week" button that dynamically creates a new row with all the checkboxes for that row.
Now, I've looked at dynamic controls, but this seems to involve place holders, and I just can't get my head around that - how do you insert the placeholder dynamically?! How do you add rows to a table and place controls within the cells, in a way that you can add as many as you want?
Answer : Dynamic Controls - checkboxes and tables
I would recommend you do this in a datagrid.
Using the edit item template, you can check off days as needed.
Each week would be a new row.
http://aspalliance.com/136
_DataGrid_
and_Checkb
oxes
Random Solutions
Forefront TMG - Outbound IPSec Connection gets blocked
populate textbox value into table field using code
sql server agent email job notification in sql server management studio
Microsoft Word can't find the DVZAddin.dll file and Excel can't find DVZXLAddin.dll File?
Exchange 2007 - Test-SystemHealth (Upgrading servicepack 2)
How to manage the decimal separator in SQL Server 2008
Looping through a combo box or a list
Supress SQL login in MSACCESS on linked tables
Sony Vaio PCG-531A - Can the OS be upgraded on this notebook??
Need help with DAO recordset connection