bug with property builder

16 posts, 0 answers
  1. mww
    mww avatar
    257 posts
    Member since:
    Sep 2012

    Posted 15 Oct 2008 Link to this post

    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 !
  2. SVA Webmaster
    SVA Webmaster avatar
    11 posts
    Member since:
    Jul 2007

    Posted 15 Oct 2008 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 17 Oct 2008 Link to this post

    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.
  5. jfkrueger
    jfkrueger avatar
    269 posts
    Member since:
    Jul 2012

    Posted 11 Dec 2008 Link to this post

    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.
  6. SVA Webmaster
    SVA Webmaster avatar
    11 posts
    Member since:
    Jul 2007

    Posted 11 Dec 2008 Link to this post

    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.
  7. jfkrueger
    jfkrueger avatar
    269 posts
    Member since:
    Jul 2012

    Posted 11 Dec 2008 Link to this post

    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.
  8. Seto
    Seto avatar
    4 posts
    Member since:
    Jun 2009

    Posted 24 Jun 2009 Link to this post

    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

  9. Seto
    Seto avatar
    4 posts
    Member since:
    Jun 2009

    Posted 24 Jun 2009 Link to this post

    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).
  10. Curtis
    Curtis avatar
    6 posts
    Member since:
    Jun 2009

    Posted 26 Jun 2009 Link to this post

    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.
  11. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 29 Jun 2009 Link to this post

    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.
  12. Seto
    Seto avatar
    4 posts
    Member since:
    Jun 2009

    Posted 29 Jun 2009 Link to this post

    I tried the suggested Microsoft KB967253 hotfix, but unfortunately it did not fix the issue.
  13. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 02 Jul 2009 Link to this post

    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.
  14. Seto
    Seto avatar
    4 posts
    Member since:
    Jun 2009

    Posted 02 Jul 2009 Link to this post

    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

  15. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 07 Jul 2009 Link to this post

    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.
  16. Michael
    Michael avatar
    1 posts
    Member since:
    Jun 2008

    Posted 07 Jul 2009 Link to this post

    I tried Hotfix 967253 and it fixed the problem for me.
  17. Andrew N
    Andrew N avatar
    11 posts
    Member since:
    Mar 2010

    Posted 03 Apr 2010 Link to this post

    Hotfix 967253 fixed it for me too!
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017