HTML not being updated when properties are changed

7 posts, 0 answers
  1. Adam
    Adam avatar
    177 posts
    Member since:
    Oct 2012

    Posted 16 Dec 2008 Link to this post

    We are using Visual Studio 2008 with our web application and we are compiling it against the .NET 2.0 framework. We are still using the Telerik.Web.UI controls that are made for .NET 2.0. We've noticed that when we change the properties for the grid (add another column, change column width, modify the client settings, etc.), the change is reflected in the designer, however when you go and look at the HTML code, it never gets updated. When you run the application, the changes are not displayed either. The changes only appear when you manually modify the HTML and then run the application.

    Is there something that we're doing wrong?

    Thanks,
    Adam
  2. Adam
    Adam avatar
    177 posts
    Member since:
    Oct 2012

    Posted 16 Dec 2008 Link to this post

    Some additional informaiton. This appears to be a problem in the Q2 and Q3 versions of the controls. Also, it only appears to affect the grid. I've modified properties on a RadComboBox and a RadToolbar and both of those appear to carry the changes over to the HTML.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 19 Dec 2008 Link to this post

    Hi Adam,

    I tried to reproduce this issue with Visual Studio 2008 and .NET 2.0 framework but without success. I used design time to change the RadGrid properties through RadGrid's Property grid. All changes that I made were applied to the HTML code.

    Please verify that RadControls are installed properly according our instructions. Additionally, check whether restarting your Visual Studio or clearing its cache alleviates the abnormality.

    Best regards,
    Georgi Krustev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Adam
    Adam avatar
    177 posts
    Member since:
    Oct 2012

    Posted 19 Jan 2009 Link to this post

    It could be possibly due to the fact that we installed the controls when using VS 2005, and then later on installed VS 2008 without reinstalling the controls. It's weird because the controls show up just fine in the toolbox, and all the other controls update the HTML correctly.

    I've restarted VS numerous times. What do you mean by clearing VS 2008 cache? I've done this in the past by deleting the files in C:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files, but want to make sure that is what you are suggesting.
  6. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 20 Jan 2009 Link to this post

    Hello Adam,

    Unfortunately I am not sure what can cause this erratic behavior. You can try to reinstall the RadControls, if you are sure that the problem is caused by the VS 2008 installation.

    And your understanding about clearing of the VS cache is perfectly right.

    Best,
    Georgi Krustev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  7. Bill
    Bill avatar
    85 posts
    Member since:
    Oct 2007

    Posted 11 Dec 2009 Link to this post

    I have had this happen to me several times as well.  I'll make several changes in the designer, save the file and find that none of them has made it into the aspx file.  The designer still shows them (new columns, header text, etc.) but if you go to split mode, none of them shows up in the aspx file.
  8. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 15 Dec 2009 Link to this post

    Hello Bill,

    I suggest you verify that you are using the latest version 2009.3.1208 of RadControls for ASP.NET AJAX in your project and that you cleared your VS cache and restarted the development environment afterwards. Thus the VS designer changes should be reflected in the aspx markup as expected.

    Kind regards,
    Sebastian
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017