V
Vear
Hi,
I have a webform that has several control on it. Two of them are listboxes
where you can click on one, then push an Add button to the other. This works
fine, but if the user added something they don't want I have a Remove button.
The code looks like this
LstExtrasAdded.Items.Remove(LstExtrasAdded.SelectedItem)
When I launch that code I get "Potentially Dangerous request.form..." I know
I can turn off form validation in the header, but I don't want to turn this
off due to the other controls on the form. Is there a way around this or to
tell the app to ignore validation on the control. I have turned off cause
validation on the listbox and the button but I still receive the error.
Any help would be greatly appreciated. Thanks
I have a webform that has several control on it. Two of them are listboxes
where you can click on one, then push an Add button to the other. This works
fine, but if the user added something they don't want I have a Remove button.
The code looks like this
LstExtrasAdded.Items.Remove(LstExtrasAdded.SelectedItem)
When I launch that code I get "Potentially Dangerous request.form..." I know
I can turn off form validation in the header, but I don't want to turn this
off due to the other controls on the form. Is there a way around this or to
tell the app to ignore validation on the control. I have turned off cause
validation on the listbox and the button but I still receive the error.
Any help would be greatly appreciated. Thanks