S
Steve Chatham
I have a combo box that gets populated with a group of items based on a sql
table.
I had in mind that I'd insert a value at the beginning of that combo box,
that'd say "No Item Selected" and that when the selected index property was
changed, to automatically populate a datagrid below that combo box based on
the item selected.
As an alternative, if the user wanted to see everything (a customer list), I
wanted to put a radio button there that would give them everything when they
clicked on it.
However, it appears that there's no onclick event tied to a radio button.
There's a _checkchanged property that appears to do nothing. In it, I have
in addition to the sql and bindgrid command, commands to hide the combo box
if they want all items. That doesn't appear to work.
Is there another/better way to do this?
My intention of doing it this way was to let them choose between everything
and a restricted list, and make it obvious that they did not have to use the
combo box or have a submit button above to make the application run the
query and show the appropriate data.
I'm using VB & ASP.net.
Thanks,
SC
table.
I had in mind that I'd insert a value at the beginning of that combo box,
that'd say "No Item Selected" and that when the selected index property was
changed, to automatically populate a datagrid below that combo box based on
the item selected.
As an alternative, if the user wanted to see everything (a customer list), I
wanted to put a radio button there that would give them everything when they
clicked on it.
However, it appears that there's no onclick event tied to a radio button.
There's a _checkchanged property that appears to do nothing. In it, I have
in addition to the sql and bindgrid command, commands to hide the combo box
if they want all items. That doesn't appear to work.
Is there another/better way to do this?
My intention of doing it this way was to let them choose between everything
and a restricted list, and make it obvious that they did not have to use the
combo box or have a submit button above to make the application run the
query and show the appropriate data.
I'm using VB & ASP.net.
Thanks,
SC