Using RAD controls in VS with absolute positioning

3 posts, 0 answers
  1. Tomica
    Tomica avatar
    147 posts
    Member since:
    Apr 2008

    Posted 04 Nov 2013 Link to this post

    I have switched to using absolute positioning via CSS classes for most of my page layouts.

    I have a problem when working with various control wizards, more likely an issue with VS 2012, but I think other Telerik customers may have the same problem and hopefully know the solution. See attachment for an example of the HTML Designer window.

    In the example, the menu appears at the top, as expected. The grid jammed-up against it, and attempting to select the Item Editor just selects the master page zone.

    Previously with flow layout, the controls were spaced so that access to the item editor / wizard buttons were easy to locate and click.

  2. Marin Bratanov
    Marin Bratanov avatar
    4570 posts

    Posted 07 Nov 2013 Link to this post

    Hi Tomica,

    How the VS design surface treats absolute positioning and selection is not something we can control. The design-time mode is quite close to IE5.5 and it has a huge number of peculiarities and odd behaviors.

    You can find attached a small video and sample where I reproduce similar behavior with stnadard HTML elements - first, you will see that the cursor is in the body element, then clicking on the red div focuses the script manager (clearly demonstrated near the end when I press F4 and get the Properties window for the script manager).

    Using the design-mode in VS for a website is not likely to result in the expected site in an actual browser. This mode is a remnant from the Winforms origins of the webforms platform, but I do not find it reliable.

    Marin Bratanov
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. Tomica
    Tomica avatar
    147 posts
    Member since:
    Apr 2008

    Posted 07 Nov 2013 Link to this post


    I have found that turning off "Visual Aids" helps reduce clutter and allows me to access the Task button for the controls, and this is about as good as I can hope for.

Back to Top