I need to make a tri-state check box. (It's values will be off,
checked-always on, or 1-run once)
Would I be correct in assuming the best way to do this is to make some kind
of custom control that displays a "checkbox". The control would have JS in
it to change a graphic image that represents the box. If this is the case,
how would I read in the selected value once the form is posted? I'm
planning on having a couple on the same form and I really don't want to
autopost when each box is clicked on...too much overhead...
Thanks.
-Rob T. 2 1588
Use the JS to set a hidden field with an appropriate value.
-Cam
Rob T wrote: I need to make a tri-state check box. (It's values will be off, checked-always on, or 1-run once)
Would I be correct in assuming the best way to do this is to make some kind of custom control that displays a "checkbox". The control would have JS in it to change a graphic image that represents the box. If this is the case, how would I read in the selected value once the form is posted? I'm planning on having a couple on the same form and I really don't want to autopost when each box is clicked on...too much overhead...
Thanks.
-Rob T.
Good idea...I could program the control to create a hidden field (with a
unique ID) for each checkbox...then just have a little routine to loop
through all the Request.Form items....
Thanks.
"cameron" <ca****************@appdepot.com> wrote in message
news:On**************@TK2MSFTNGP11.phx.gbl... Use the JS to set a hidden field with an appropriate value.
-Cam
Rob T wrote:
I need to make a tri-state check box. (It's values will be off, checked-always on, or 1-run once)
Would I be correct in assuming the best way to do this is to make some
kind of custom control that displays a "checkbox". The control would have JS
in it to change a graphic image that represents the box. If this is the
case, how would I read in the selected value once the form is posted? I'm planning on having a couple on the same form and I really don't want to autopost when each box is clicked on...too much overhead...
Thanks.
-Rob T.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Christian Hammers |
last post by:
Hello
I would like to call a unix shellscript from within a PHP script and
- write data to its STDIN
- read data from its STDOUT *and* STDERR
- get its exit code afterwards
proc_open seems...
|
by: Mitch Amiano |
last post by:
Tri-XML 2005 is on for July 28-30th, in Raleigh, NC. The conference
index is at <http://www.trixml.org/confindex.shtml>.
Curious readers can get an idea of the conference from a review of...
|
by: Lyle Fairfield |
last post by:
I suppose something like this may have been posted before. I am unaware of
it.
It's intended to duplicate the gradient filter that MS provides in their
manifestation of CSS.
Yes, I know it...
|
by: Kevin D. Quitt |
last post by:
At least, when you're hungry.
--
#include <standard.disclaimer>
_
Kevin D Quitt USA 91387-4454 96.37% of all statistics are made up
Per the FCA, this address may not be added to any...
|
by: spleen |
last post by:
Hiya,
Im a newbie to C so please excuse my ignorance...
Ok, so I have several C files, with my functions in, one has main in
of course! and I have 2 structs as outside of the funtions...
|
by: Alexander Hunziker |
last post by:
Hello everybody,
I'm trying to program a linked list, but unfortunately it segfaults when
I run the program. The code is basically the same as one can find in
several places in the internet....
|
by: 455 |
last post by:
Hello all. Sorry if this question gets a little long. I've been having
real trouble with this problem mostly because I can't get a solid piece to
start from. I'm new to C# (was previously a...
|
by: freqzz |
last post by:
i got a little proble to implement memory allocation using array. Here's the situation, i got a sample data stored in textfile:
tri1 (1,7,1) (2,8,2) (3,7,3)
tri2 (2,8,2) (5,7,5) (3,7,3)
tri3...
|
by: freqzz |
last post by:
#include <windows.h>
#include <gl\gl.h>
#include <gl\glut.h>
#include <stdlib.h>
#include <math.h>
#include <vector>
#include <iostream.h>
#include <fstream.h>
#include <stdio.h>
|
by: Cell |
last post by:
I have structures like this in my program -
typedef vector vectorstruct
{
double x, y,z;
} vector;
typedef struct verticesstruct
{
vector v;
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |