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

[Solved] Design Time Property Editor not always working

10 Answers 197 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Reid
Top achievements
Rank 2
Reid asked on 06 Mar 2009, 05:28 PM
I just want to report that the design time property editor of the RadGrid is not working correctly.  I am not sure if this is because of the complexity of this template which contains 6 RadGrids on 3 PageViews or not but I can say that I need to switch to source view in the .aspx template to make some changes stick.

Last night late I was frustrated that the column properties set in the Builder design time editor was not yielding the correct results when the application ran so I shut down for the night and again this morning it did the same thing.  I needed to manually alter the markup to get it to work.

This morning it happened again in the <EditFormSettings> section.  I set the property "EditFormType" to "Template" in the properties window of Visual Studio 2008 and it did not change until I manually set the value in the markup.

10 Answers, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 10 Mar 2009, 02:06 PM
Hello Reid,

I have just tried RadGrid designer from RadControls for ASP.NET AJAX Q1 Beta Release in VisualStudio 2008 SP1 and it seems to be working properly on my end.
Can you give us a bit more information about your VS .Net framework  and RadControls version?

All the best,
Nikolay
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
Reid
Top achievements
Rank 2
answered on 10 Mar 2009, 04:02 PM
I need to emphasize that this is happening when the template is in preview mode not markup view.  The design time editor in markup view works fine.

I am using .NET 3.5 and VS 2008, both with SP1 and Telerik's ASP.NET AJAX Q3.

Thanks
0
Nikolay Rusev
Telerik team
answered on 13 Mar 2009, 11:18 AM
Hello Reid,

Unfortunately I was unable to replicate the issue locally.
I suggest you capture this behavior and send it to us via formal support ticket.

Best wishes,
Nikolay
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
Reid
Top achievements
Rank 2
answered on 13 Mar 2009, 03:41 PM
Hello Nikolay,

I am not sure how a screen shot would help, but make no mistake about it the design time editing is not sticking columns into the markup via the editor. 

Using the VS Property Window:
(this grid has one detail table section)

  1. Expanded the MasterView
  2. Double Clicked on the "DetailTables" property
  3. Double Clicked on the "Columns" property
  4. Added 3 columns (2 string and one DateTime)
  5. Closed the Dialogs
  6. Switched to Markup view

No columns were to be found in the <DetailTables> section.


Using the Telerik "Open Property Builder" (smart tag)

  1. Select the Detail Table (which exists)
  2. Select the "Columns" node
  3. Add 3 Bound Columns
  4. Set their properties in their entirety
  5. Choose Apply

At this point the columns were created but *only* after hitting "Apply", just selecting "Ok" would not do it.
0
Reid
Top achievements
Rank 2
answered on 14 Mar 2009, 03:10 PM
Today I just brought up the Telerik Property Builder added another column named "ClientIP" and set it's properties.  I then switched back to the markup and did a search for "ClientIP".  Nothing.  I then brought back up the Telerik Property Builder and selected the GridView and the column is there.

Really strange behavior.  I am not trying to point fingers because Mickey$oft is usually the culprit when it comes to Visual Studio but at this point I am not sure what to do other than manually adding columns in the markup and bypassing the design time editor which is not my desire.
0
Accepted
Nikolay Rusev
Telerik team
answered on 17 Mar 2009, 08:37 AM
Hello Reid,

I have tried once again to replicate this behavior on my end in order to investigate it, but I was not able to observe it.

For your convenience I am attaching video which I captured by following steps from your previous post.
Please find it attached to this post.

Just for information the machine is running on .Net Framework 3.5 SP1 and VS 2008 SP1.

Best wishes,
Nikolay
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
Reid
Top achievements
Rank 2
answered on 17 Mar 2009, 02:28 PM
Hello Nikolay,

Thank you for the video but you did not have to go to that extent.  I can guarantee that I was writing the details accurately as I observed the behavior. Also the example you attached is an extremely simple scenario with no MasterPage.  The scenario I am working with has a MasterPage (that contains the ScriptManager for all child templates) and the page in question has 5 PageViews each with it's embedded grid.  The grid in question that is demonstrating this behavior is one of two on one of the PageViews.  The page also uses a TabStrip. And also my page has been worked on for two weeks as opposed to your example that does it in minutes, if that matters or not I am not sure, but in general the composition of the attached example -vs- the real time scenario could indeed matter.

And again as I mentioned it is probably a Mickey$oft cache thing, or just evidence that MS releases their wares without 100% Quality Assurance being applied (as a policy, using us as their test bed saves them money >>:)  ).  For instance,  when I switch back to design view from markup view an average of maybe one out of every 6 or 7 times VS crashes.  And when it crashes I can hear the hardrive grinding away as it attempts to read VS's cached data. This directly speaks to the code or lack thereof that that is dealing with the cache that gets generated in two places on the host machine as you develop ASP.NET pages.  The short is, the amount of streaming going on where and when is probably the culprit. As another example of Visual Studios 2008's problems, I can set the AlternatingStyle-BackgroundColor of a grid and it will not visually reflect it for another 5 or 6 launches.

And on a lighter note, just because I am paranoid does not mean they are not following me.  :)

Thanks for your attention to this issue.
0
Nikolay Rusev
Telerik team
answered on 20 Mar 2009, 11:43 AM
Hello Reid,

I have tried ScriptManager in MasterPage and RadGrid in MultiPageView, but was not able to observe this error.
I suggest you if you are still experience the problem to open support ticket and send us your page in question. Thus we will have a chance to try replicating the problem on our side.

Regards,
Nikolay
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
Kevin Jones
Top achievements
Rank 1
answered on 01 Apr 2009, 01:07 AM
I also get this all the time with the same setup.  Has anyone found an answer?
0
Nikolay Rusev
Telerik team
answered on 03 Apr 2009, 02:34 PM
Hello Kevin,

Generally speaking there might be some issues with VS 2008 designer.
You can try installing latest hotfix which MSFT offer for Visual Studio and see whether the problem still exists.

You can try the hotfix from following link for example:
Hotfix for "Design view does not update HTML" and to "Designer inserts a lot of  "

Best wishes,
Nikolay
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Reid
Top achievements
Rank 2
Answers by
Nikolay Rusev
Telerik team
Reid
Top achievements
Rank 2
Kevin Jones
Top achievements
Rank 1
Share this question
or