This is a migrated thread and some comments may be shown as answers.

Using RAD controls in VS with absolute positioning

2 Answers 18 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tomica
Top achievements
Rank 2
Tomica asked on 04 Nov 2013, 06:06 PM

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 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 07 Nov 2013, 02:25 PM
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.


Regards,
Marin Bratanov
Telerik
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.
0
Tomica
Top achievements
Rank 2
answered on 07 Nov 2013, 07:24 PM

Thanks.


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.

Tags
General Discussions
Asked by
Tomica
Top achievements
Rank 2
Answers by
Marin Bratanov
Telerik team
Tomica
Top achievements
Rank 2
Share this question
or