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

bug with property builder

15 Answers 99 Views
Grid
This is a migrated thread and some comments may be shown as answers.
mww
Top achievements
Rank 1
mww asked on 15 Oct 2008, 05:02 PM
When using the property builder wizard with a RAD grid, any changes I make in the wizard NEVER get reflected in the underlying code in the aspx  page.

for instance , selecting masterTable -> paging  then setting the page size to 5, clicking apply and OK, when the window closes and I inspect the code, the page size hasnt been set.  A similar problem happens when adding columns, they are visible in the property builder but are never reflected in the underlying code.

The only way it will work is if I highlight the grid and changes the properties directly in the main properties window.  There is most definately a bug with the wizard, it just doesnt work !

15 Answers, 1 is accepted

Sort by
0
SVA Webmaster
Top achievements
Rank 1
answered on 15 Oct 2008, 06:49 PM
Mark,

I have the same problem and just posted it. It randomly works across all Radcontrols with a Property Builder. I've experienced it with Radgrid, TabStrip, RadMenu, etc.

I am running VS 2008 SP1 on Vista Business with Radcontrols for ASP.Net AJAX Q2 2008. I tried uninstalling VS 2008 SP1 and Radcontrols and then reinstalling them without any change in the issue.

-Craig
0
Pavel
Telerik team
answered on 17 Oct 2008, 08:31 AM
Hi guys,

Can you provide more details on how to reproduce the issue? Can the problem be observed only on VS2008 or does it apply for VS2005 as well? With what versions of RadControls for Asp.Net Ajax have you experienced it? Since we cannot reproduce this locally it will be helpful if you specify what are the necessary conditions to replicate the behavior.

Greetings,
Pavel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
jfkrueger
Top achievements
Rank 1
answered on 11 Dec 2008, 05:17 PM
I find it strange that you cannot reproduce the issue when so many people have the same problem. Same issue here. I have a rad grid inside a web user control. I can update the pager settings through the property builder and the changes DO reflect in design mode, but the code is not updated. When i run the site it obeys what is in the code (obviously), not what the design view is showing. So it looks like somehow there are multiple copies of these settings because the designer shows one thing and the actual code shows another. Simple to reproduce. Drag a RadGrid onto a Web User Control and update the pager properties. I'm using VS 2008 and the latest version of your RadControls (as of today). In my case, it's actually embedded in a .ascx page which is embedded in another .aspx page. I'm also using a master page. I have also noticed this issue with the standard asp.net controls, although they do not show one thing on the design and another in the code, it just never updates the code.

In this scenario the images do not work either (paging, filtering etc.), they are always rendered as "SUBMIT" buttons and are displayed as ugly buttons (next, prev, filter) rather than image links to the images in the skin. I am not using custom skins. Happens with all skins. The images do show up in design mode but not when the site is actually running.

This is very irritating and may influence my decision to buy this suite for my developers.
0
SVA Webmaster
Top achievements
Rank 1
answered on 11 Dec 2008, 05:27 PM
I recently reloaded my PC from the ground up and left out the installation of of VS2008 SP1. Since then, (about a month now), I have not had an issue with the property wizard. This is most definitely a VS2008 SP1 issue as I noted that setting properties in stock ASP.net controls failed to work as well. Uninstalling SP1 doesn't seem to help at all either. You have to resort to a full reload of the OS and software.
0
jfkrueger
Top achievements
Rank 1
answered on 11 Dec 2008, 05:29 PM
Hmm, well i'm glad that worked for you but for me completely re-installing my OS and VS 2008 is not an acceptable option. Thanks for the info though! I don't think that will fix the problem with the images not showing up either.
0
Seto
Top achievements
Rank 1
answered on 24 Jun 2009, 01:40 PM
I got the same problem.

While researching this issue I discovered:
  1. Running Dev studio as administrator did not help.
  2. When creating a new webapplication, property builder works fine.
  3. When editing a specific webapplication, property builder doesnt save changes.
  4. When moving the grid (the one metioned in #3) to a different part of the webform, the property builders does work and does save changes.
  5. Using a different machine and a different user did not have any effect.

From what I have gathered so far, comparing the aspx files between the new webapplication versus the one showing problems should reveal more clues.   If I find anything intersting, I'll post them here.

My environment:
Vista Business SP1
Dev Studio  Team System 2008 Version 9.0.30729.1 SP
.NET Framework Version 3.5 SP1
Telerik RadControls for ASP.NET Ajax Version 2008.3.1314.35

0
Seto
Top achievements
Rank 1
answered on 24 Jun 2009, 04:16 PM
In my case, I discovered that the property builder stopped working when the grid is placed in an asp panel.   When the panel is removed (or replaced with RadAjaxPanel)  the property builder starts working again.   I'm not suggesting this is the solution.   Just reporting what I discovered.

My present work around is to just edit the .aspx file directly (not fun).
0
Curtis
Top achievements
Rank 1
answered on 26 Jun 2009, 05:15 PM
I noticed that the property builder worked fine when you initially drop the radgrid and configure it but then once you close it and reopen it, changes are not saved to the aspx file.  VS2008 SP1, .NET3.5 SP1, RadControls for ASPNET AJAX Q1 2009.
0
Pavel
Telerik team
answered on 29 Jun 2009, 07:59 AM
Hi guys,

The problems you describe are most probably related to the issues discussed in this blog post. I hope this helps.

Sincerely yours,
Pavel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Seto
Top achievements
Rank 1
answered on 29 Jun 2009, 01:43 PM
I tried the suggested Microsoft KB967253 hotfix, but unfortunately it did not fix the issue.
0
Pavel
Telerik team
answered on 02 Jul 2009, 06:17 AM
Hi Millard,

Can you try using the property grid instead and see if the changes applied that way are not persisted either? Let me know how it goes.

Regards,
Pavel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Seto
Top achievements
Rank 1
answered on 02 Jul 2009, 01:41 PM
Making changes in Visual Studio property grid do persist.  That's my current work around.   Here's what happens:

  1. I make changes using telerik property builder to add a new column.  
  2. The .aspx file is initially changed  (you see the asterisk in the file name) .   You can see the new column in the designer. 
  3. After you hit OK, the asterisk disappears.... as if the file was automatically saved.
  4. At this point, a file compare shows that the file (.aspx) didn't change at all.   The designer still shows the new column even though it doesnt exist in the .aspx file.
  5. Changing something in Visual Studio's property grid causes the .aspx file to get changed.
  6. Doing a file compare shows that the column added earlier is now saved

0
Pavel
Telerik team
answered on 07 Jul 2009, 07:34 AM
Hello Seto,

Unfortunately I cannot reproduce the problem with the property builder which is working as expected on my end. As the problem is related to Visual Studio itself I can suggest you to use the property grid if it is working for you.

All the best,
Pavel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Michael
Top achievements
Rank 1
answered on 07 Jul 2009, 05:55 PM
I tried Hotfix 967253 and it fixed the problem for me.
0
Andrew N
Top achievements
Rank 1
answered on 03 Apr 2010, 03:50 PM
Hotfix 967253 fixed it for me too!
Tags
Grid
Asked by
mww
Top achievements
Rank 1
Answers by
SVA Webmaster
Top achievements
Rank 1
Pavel
Telerik team
jfkrueger
Top achievements
Rank 1
Seto
Top achievements
Rank 1
Curtis
Top achievements
Rank 1
Michael
Top achievements
Rank 1
Andrew N
Top achievements
Rank 1
Share this question
or