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

Can't select elements within a MultiPage control

5 Answers 63 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 24 May 2012, 08:15 PM
I am using Visual Studio 2008.  I have several projects using Telerik TabStrips with multipage controls.  I always work on designing the page in "Split" mode where the source is at the top of the screen and the design view is at the bottom.

One thing I find annoying is when I am working on a project, and I want to select a particular button, label, table row, or whatever within one of the PageViews.  Instead of the Source jumping me to that element and highlighting it as expected, instead I am jumped to the top of the PageView that element is contained within and the entire PageView is highlighted.  I then have to manually scroll down and find the element I was trying to access by sight.

Is there a setting or something I can do so Visual Studio will select the element contained within the PageView and not the entire PageView itself?

5 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 28 May 2012, 02:08 PM
Hello Kevin,

I did some testing with VS 2008 trying to replicate the problem, but to no avail. Everything seemed to behave as expected design-time - http://screencast.com/t/MhLQfxf1l4Y. Please, let me know if I am missing something.

Regards,
Peter
the Telerik team
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 their blog feed now.
0
Kevin
Top achievements
Rank 1
answered on 29 May 2012, 03:51 PM
I was going to send you my latest project to see if it will behave this way for you, but the upload control will only allow picture files. 

Is there some way for me to send you the project I am seeing this behavior in?
0
Kevin
Top achievements
Rank 1
answered on 29 May 2012, 04:19 PM
I was playing around with this a bit more and I can now break and fix the issue back and forth by doing the following steps. 

Please note, I always have tables nested within the page views for formatting purposes and the issue appears to be related to that.

From a working state, (where selecting a control in design view highlights the correct text in the source view):
  1. In the source window go inbetween the RadPageView tags, anywhere, and add a table tag directly through the source window.
  2. Click save
  3. Select a button or label control and instead it will select the entire RadPageView control that contains that label or button.

From a broken state:

  1. Select a button control and see that it selects the entire RadPageView control instead.
  2. Use the Properties window along the right side to edit any property of that button
  3. Click save
  4. Select another button or label and now the source window will highlight the correct item.

I can reliably swap back and forth between these 2 states by adding table tags to the HTML source, and then editing control properties through the properties window.  If I edit a button property in the source window instead it will not fix the selection issue... only the properties window seems to do that. 

I think one of my main issues is that I do a lot of work by just typing directly into the source window.  Regardless, this still appears to be a bug.  Please let me know if you can reproduce it now that you know you need a table inside the RadPageView control.

0
Peter
Telerik team
answered on 01 Jun 2012, 07:30 AM
Hello Kevin,

Yes, I was able to reproduce the problem if I put the control in a table. I tested in VS 2010, but there was no problem there.

Considering that this problem happens only under very specific conditions and with VS 2008 only, I cannot promise that we will fix it any time soon.

Anyway, thank you for reporting it.

All the best,
Peter
the Telerik team
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 their blog feed now.
0
Kevin
Top achievements
Rank 1
answered on 01 Jun 2012, 02:08 PM
I was actually putting a table inside the control, but I'm glad you were able to reproduce the issue.  Would you mind trying a table inside a RadPageView that's part of a MultiPage control?  I imagine it will work in 10 but not in 08 again, but it would be good to be certain.

It's too bad it's a VS2008 only issue, I'm not sure when my work will be upgrading me.  At least I know how to get around it now.

Thanks for looking into this.
Tags
TabStrip
Asked by
Kevin
Top achievements
Rank 1
Answers by
Peter
Telerik team
Kevin
Top achievements
Rank 1
Share this question
or