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
520
WebToolbar to WebDataMenu
posted

 

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:

  1. Create a class that implements ITemplate and adding the controls through code
  2. Creating an ItemTemplate in the aspx and assigning it to the DataMenuItem

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). 

 

InfragisticsTest.rar
Parents Reply Children