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

HTML not being updated when properties are changed

6 Answers 57 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 16 Dec 2008, 05:36 PM
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

6 Answers, 1 is accepted

Sort by
0
Adam
Top achievements
Rank 1
answered on 16 Dec 2008, 06:11 PM
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.
0
Georgi Krustev
Telerik team
answered on 19 Dec 2008, 11:54 AM
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.
0
Adam
Top achievements
Rank 1
answered on 19 Jan 2009, 03:04 PM
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.
0
Georgi Krustev
Telerik team
answered on 20 Jan 2009, 02:34 PM
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.
0
Bill
Top achievements
Rank 2
answered on 11 Dec 2009, 08:45 PM
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.
0
Sebastian
Telerik team
answered on 15 Dec 2009, 09:34 AM
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.
Tags
Grid
Asked by
Adam
Top achievements
Rank 1
Answers by
Adam
Top achievements
Rank 1
Georgi Krustev
Telerik team
Bill
Top achievements
Rank 2
Sebastian
Telerik team
Share this question
or