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

Changing properties not working [BUG?]

3 Answers 48 Views
Grid
This is a migrated thread and some comments may be shown as answers.
improwise
Top achievements
Rank 1
Iron
Iron
improwise asked on 07 Oct 2010, 10:57 PM
After upgrading to the latest version I've noticed a very behaviour with the RadGrid. If I change the properties in the normal properties in Visual Studio for anything under EditFormSetting, it won't be trigger a change in the the actual code most of the times. Changing other properties though will work as expected (at least the ones I've tried). Well, guess what, when changing the same properties in the Teleriks "Properties builder" on the Smart tag (same page, same grid), it ALWAYS works as expected. Please note that in the properties window (ie not the properties builder), the displayed properties do change, but it just doesn't trigger any changes in the code.

Yes, I know this sounds weird, but I have witnesses that can confirm this is actually happening and not something I've dreamt up :)

3 Answers, 1 is accepted

Sort by
0
improwise
Top achievements
Rank 1
Iron
Iron
answered on 07 Oct 2010, 11:01 PM
After some further testing, it seems like it is the settings under EditFormSettings.EditColumn that all share these problem, like if I change the "Button type" to ImageButton from default LinkButton, it will be displayed as "ImagesButton" in the properties, but it won't actually change the code. In "Properties builder" though the change will trigger the necessary change in the code as well.

Seems a lot like a bug to me...
0
Pavel
Telerik team
answered on 08 Oct 2010, 07:46 AM
Hi Patrik,

I tested the described scenario in both VS2008 and 2010 with our latest service pack, but the markup was correctly updated after applying a change via the property grid. Could you elaborate what version of Visual Studio are you using? If it happens to be 2008, you can try the following patch which might solve the issue:
https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=17185&wa=wsignin1.0

More information about it can be found here:
http://blogs.msdn.com/b/webdevtools/archive/2009/03/23/hotfix-for-design-view-does-not-update-html-and-to-designer-inserts-a-lot-of-nbsp.aspx

Greetings,
Pavel
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
improwise
Top achievements
Rank 1
Iron
Iron
answered on 08 Oct 2010, 08:34 AM
We are using the latest version of 2010 (or rather, Visual Studio 2010, don't think there has been any more releases) and the latest version of the Telerik controls. I't really weird that it works with most of the settings but not all of them. So far we have a work around since it seems to work in the Properties Builder, will continue to monitor it and let you know how it turns out.
Tags
Grid
Asked by
improwise
Top achievements
Rank 1
Iron
Iron
Answers by
improwise
Top achievements
Rank 1
Iron
Iron
Pavel
Telerik team
Share this question
or