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
  • 3760
    Offline posted

    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

     

Reply Children