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

Can't create controls in Design View

5 Answers 115 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jaime Fuhr
Top achievements
Rank 1
Jaime Fuhr asked on 31 Jan 2010, 06:19 PM
I've got an odd problem that just started happening and I'm not sure what has changed.

My environment is Windows 7, VS 2008 SP1 using Q3 Rad controls.

If I am in Design View and drop a Rad control on the page, it shows up but when I switch to Source, it's not there.  What's more frustrating is that if I delete the control and drop again it says that the control already exists.

However, if I am in Source View, and I drag over a Rad control from the toolbox, it does create it on the page.

It's only doing it with the Rad controls.  The standard .NET controls work fine.

Also, if I make any changes using the pop-up Tasks menu, those changes appear in there, but no on my page.  For example, adding items to a ComboBox.

Has anyone run into this?  I think I will re-install the controls.  Maybe something got messed up?

5 Answers, 1 is accepted

Sort by
0
Jaime Fuhr
Top achievements
Rank 1
answered on 31 Jan 2010, 07:55 PM
Actually, the problem appears to be with Vista / Windows 7 - what a surprise.

There is some bug where controls created in Design View are not updating the underlying source.  

So it's not a Rad specific problem.

0
Mark Galbreath
Top achievements
Rank 2
answered on 01 Feb 2010, 11:46 PM
Uh, if the VS controls work, the bug is in the Telerik code.  All the Telerik controls subclass the Microsoft control classes.
0
Hus Damen
Top achievements
Rank 1
answered on 02 Feb 2010, 12:38 PM
Hi Mark,

As far as I see Jaime states that the problem is not in the Telerik product.
Additionally, I think that you will find this blog post helpful:

http://blogs.msdn.com/webdevtools/archive/2009/03/23/hotfix-for-design-view-does-not-update-html-and-to-designer-inserts-a-lot-of-nbsp.aspx

Cheers,
Hus
0
Jaime Fuhr
Top achievements
Rank 1
answered on 02 Feb 2010, 01:29 PM
Hus, thanks for posting the link to the blog.

The problem indeed is with VS running in Vista / Windows 7.  I found that dropping some Microsoft controls also did not update the source view.  This was discovered after I tried to update a GridView's list items.  Oddly though, if running in Split view, it would update changes.... 

What's more,  simpler controls, like Label and TextBox, when dropped in Design, does update Source.

Thanks!
Jaime
0
Mark Galbreath
Top achievements
Rank 2
answered on 02 Feb 2010, 02:35 PM
I can see from the inadequate API documentation that Telerik controls subclass Microsoft's classes.  And if you have found that Microsoft controls do, in fact, suffer from the same issue, that puts an entirely different spin on things, doesn't it?

Cheers!
Mark
Tags
General Discussions
Asked by
Jaime Fuhr
Top achievements
Rank 1
Answers by
Jaime Fuhr
Top achievements
Rank 1
Mark Galbreath
Top achievements
Rank 2
Hus Damen
Top achievements
Rank 1
Share this question
or