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
175
Ultrawebtree + AccessKey
posted

 Hello everyone,

I have setted up a value for the AccessKey attribute, but, at runtime, I don't get the focus on the ultrawebtree control when I  press the corresponding combination of keys.

I mention that the Section508Compliant atribute is setted to true,and acording to the documentation, the control should be accesible. A basic requirement of accesibility is that the control could be reached (in our case we should be able to move the focus on it) with keystrokes combinations, without the use of the mouse.

 

How can I access the Ultrawebtree control in this context? Why the Accessibility keydoes not move the focus on the control? What alternatives do I have in order to implement the accesibility with this control?

 

Thank you,

C.

  • 175
    posted

     I came to the conclusion that the only thing you need in order to implement the accesibility on the UltraWebtree control is the ability to set the focus on this control. Let me explain. Let's suppose that the Access key atribute is a hoax (i dont know why it doesn't work, maybe I don't employ it properly), in this case,  I simulate the accesibility in the following way: I place a label on the form, setting it as visible false, and asigning to it a Access key value (which works with the Label control), and to the Accesibility control ID i have assigned the id of the ultrawebtree.

     I compiled the form, but when pressing the keystrokes corresponding to the Access Key, nothing happens, I dont get the focus on the ultrawebtree control.

    I have tried to perform a forced focus on the ultrawebtree control, by placing on the page_load method the following:

    this.Page.SetFocus(this.Ultrawebtree1); 

    but it did't work. I have also tried with this.Ultrawebtree1.Focus(), but the result was the same.

     My question is:

    Is it possible to set the focus on the UltraWebTree control? How?

     

    Thank you,

    C.