Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
245
Simulate click on UltraWebToolbar
posted

Is there a way to simulate a click in UltraWebToolbar ?

I need to do this on code behind.  The idea is like what you do to a server control where you can do....  Control.Focus()

Thanks 

 

Parents
No Data
Reply
  • 275
    posted

    Hi,

    I'm not sure if this is what you are trying to do but in our application (maybe someone  else might) we sometimes simulate a click on the toolbar. If the user clicks the delete key for example we post back the page to do the delete.

    To do this we use the following syntax.

    __doPostBack("yourtoolbarID", "yourtoolbarID_item_0:UP")  //0 indicates the button that is clicked.

     and then handle the event in the onButtonClicked event in your serverside code.

     I hope that helps.

     Amy

Children
No Data