B
Brian Shannon
I know this might be a strange thing to ask for but I need it to work in my
intranet application.
I have a dropdown box that has autopostback = true
Let's call the dropdownbox 'cboTest'
Let's say the user makes a selection on the dropdownlist
cboTest.selectedItem.Index = 2 and the page post back. The user wants to
change a value on the page. My boss wants the user to then be able to
reselect the same value on the page and cause a postback.
cboTest.selectedItem.Index = 2.
So, I need to be able to select the same index on a dropdownlist and cause a
postback. Is there a way to overide the function of posting back on index
changes? Can client side code cause the postback on the dropdown box?
Are there any solutions?
My boss wont let me have a postback on the other controls that could change
or add a button to force a postback. All the codebehind needs to be
triggered from cboTest.
Thanks for any advice!
intranet application.
I have a dropdown box that has autopostback = true
Let's call the dropdownbox 'cboTest'
Let's say the user makes a selection on the dropdownlist
cboTest.selectedItem.Index = 2 and the page post back. The user wants to
change a value on the page. My boss wants the user to then be able to
reselect the same value on the page and cause a postback.
cboTest.selectedItem.Index = 2.
So, I need to be able to select the same index on a dropdownlist and cause a
postback. Is there a way to overide the function of posting back on index
changes? Can client side code cause the postback on the dropdown box?
Are there any solutions?
My boss wont let me have a postback on the other controls that could change
or add a button to force a postback. All the codebehind needs to be
triggered from cboTest.
Thanks for any advice!