Can't create controls in Design View

6 posts, 0 answers
  1. Jaime Fuhr
    Jaime Fuhr avatar
    15 posts
    Member since:
    Nov 2009

    Posted 31 Jan 2010 Link to this post

    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?
  2. Jaime Fuhr
    Jaime Fuhr avatar
    15 posts
    Member since:
    Nov 2009

    Posted 31 Jan 2010 Link to this post

    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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mark Galbreath
    Mark Galbreath avatar
    171 posts
    Member since:
    Jul 2009

    Posted 01 Feb 2010 Link to this post

    Uh, if the VS controls work, the bug is in the Telerik code.  All the Telerik controls subclass the Microsoft control classes.
  5. Hus Damen
    Hus Damen avatar
    33 posts
    Member since:
    Dec 2009

    Posted 02 Feb 2010 Link to this post

    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
  6. Jaime Fuhr
    Jaime Fuhr avatar
    15 posts
    Member since:
    Nov 2009

    Posted 02 Feb 2010 Link to this post

    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
  7. Mark Galbreath
    Mark Galbreath avatar
    171 posts
    Member since:
    Jul 2009

    Posted 02 Feb 2010 Link to this post

    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
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017