P
Peter Rilling
I have a page that, on different postbacks, have different contexts. For
example, a listbox would postback so that it can update data in the form
while the Save button would save the contents. Because there are different
contexts, I want SmartNavigation to be dependent on the context. If a
person selects a list item, I want SmartNavigation to be invoked, if they
click Save, and errors occur, I do not want it invoked so that it will snap
to the top of the page to display the errors.
What I tried to do was to turn SmartNavigation off in the button event, it
apparently that has no effect. It appears that the button events happen
after the JavaScript has been written to the output stream (or something
like that). Any thoughts about how I can control SmartNavigation based on
context of the postback?
example, a listbox would postback so that it can update data in the form
while the Save button would save the contents. Because there are different
contexts, I want SmartNavigation to be dependent on the context. If a
person selects a list item, I want SmartNavigation to be invoked, if they
click Save, and errors occur, I do not want it invoked so that it will snap
to the top of the page to display the errors.
What I tried to do was to turn SmartNavigation off in the button event, it
apparently that has no effect. It appears that the button events happen
after the JavaScript has been written to the output stream (or something
like that). Any thoughts about how I can control SmartNavigation based on
context of the postback?