Hi, I’m currently migrating my projects from using the classic controls to the new control set in version 11.2. I’m only getting started and already having huge problems with the WebToolbar I used this control extensively throughout my project and I’m finding that the WebDataMenu is by no means an adequate replacement for the WebToolbar. The WebDataMenu is great if all you want is buttons but it’s pretty much useless as a toolbar i.e. if you want to add other controls such as TextBox, Combo… the embedded controls simply don’t accept focus. I’ve tried various approaches:
With both of these methods the controls display correctly but any controls that require focus simply don’t work.
Even if there is some way to get this to work it is considerably more difficult to create a simple toolbar than it was with the old control. Added to this the event handling both on the server-side and client-side will also become more complex (in the case of using WebDataMenu as a Toolbar).
Is what I want to do possible with the WebDataMenu?
I’ve attached a Simple project to demonstrate the problem (ig_res removed).
I agree with all that IntegraXP says. I started a thread 6 weeks ago and have finally got to the point where I could create and display the templated controls only to find they are not working. With a dropdownlist as soon as you click on the control the dropdown part flashes up and immediately disappears and no events fire. Is this the same issue with the control not getting focus?
Having been forced into the upgrade and after rewriting a fair bit of code to replace the ultrawebtoolbar I am now in the postition where major parts of our project are broken so please can you come up with a solution to this problem.
Thanks
JCAD
Hi JCAD,
You could set the CloseMenuOnClick property of the menu to false. This would prevent the dropdown to close when menu item is clicked.
The issue with the focus of templated controls in WebDataMenu is currently in review by our development team. I will keep you updated with any new information regarding this.