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

Q2 2008 in VS 2005 SP1 Emergency!

7 Answers 108 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Judy
Top achievements
Rank 1
Judy asked on 31 Jul 2008, 02:11 AM
Based on prior experience with past new releases of Telerik's Winforms controls, I uninstalled Q1 2008 prior to installing Q2 2008.  All went well with the uninstall of the old and the install of the new. 

Upon completion of the installation, I opened a sample Telerik project I'd downloaded a couple days ago that had NOT worked properly with Q1 2008 (this was related to http://www.telerik.com/support/kb/article/b454K-bagd-b454T-a-b454c-a.aspx) After the install of Q2 2008, (and after removing and re-adding Telerik references) that project worked as promised in this thread: http://www.telerik.com/community/forums/thread/b311D-bkccac.aspx)  Also note (and this will become more important later) that the RadGridView was still visible in the designer.

THEN, I opened my client's solution which contains 6 projects.  Errors everywhere.  Okay fine... first thing to check is references.  While the reference path was the same as it had been for the Q1 2008 controls, the version number had changed from 6.1.0.0 to 7.0.0.0.  That's right and yet I had compile errors galore where previously I had none.  So... I went through and removed the 4 Telerik references I had in each of those 6 projects and re-added them.  All the compile errors went away.  Life was good... So I ran the solution...

It ran successfully.  BUT... First thing I noticed was that my RadGridView themes went from "blue" to "black" (I'd chosen the "Telerik" theme for nearly all of the Telerik controls in this solution).  I ignored that for the time being and went to test something  more critical which had supposedly been fixed on the RadGridView.  I found that it had indeed been fixed.  I then stopped the solution to investigate the sudden change in "look" (blue to black theming on the grids and also incorrect theming appearing on RadButton, RadComboBox and RadTabStrip controls.

I opened one of my existing forms containing all 4of the aforementioned Telerik controls in designer mode.  The RadButton, RadComboBox and RadTabStrip controls appeared but not ONE RadGridView appears!  Where did they go?  The app runs!  The grids appear at run-time but not design-time!  The RadButton, RadComboBox and RadTabStrip, while wrong in styling, still appear in design-mode!

I clicked on a SmartTag for a RadComboBox and selected the "Theme Name" dropdown.  Where before I had several choices, I'm now down to "Control Default" and "Reset".  Where did the other themes go?

The disappearance of themes is annoying but relatively minor when compared with the complete disappearance of the RadGridView from the designer!   You've just brought a critical project to a standstill!  I use those grids on the majority of the forms in my solution and they drive a lot of functionality!

HELP!  FAST!

7 Answers, 1 is accepted

Sort by
0
Jordan
Telerik team
answered on 31 Jul 2008, 11:31 AM
Hello Judy,

Please, find the answer to your question in the support ticket.

Best wishes,
Jordan
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Nachiappan Narayanan
Top achievements
Rank 1
answered on 03 Dec 2008, 11:13 PM
Jordan, I believe I'm seeing a similar problem. Naturally, I can't read Judy's support ticket.
Would you mind sharing a bit more here in the forum?

Thanks in advance,
Nachi
0
Judy
Top achievements
Rank 1
answered on 04 Dec 2008, 04:30 AM
Hi Nachi,

As I remember, I resolved the problem by simply dragging the Telerik Theme control from the toolbox onto the form.  That control hadn't been there prior to Q2 2008.  The themes all just appeared when you clicked the smart tag.  Hopefully that helps.  

I looked up my support ticked on this and here's the response I got from Telerik... so now you can see it.  ;)

From: telerik
Date: 7/31/2008 6:30:35 AM
Hello Judy,

The theming issues that you are experiencing are most probably due to the separation of themes in different components in the Q2 2008 release.
You can take a look at this KB Article for more information.
In short, you will need to add references to the themes that you are using.

Regarding the missing grid in design-time:
That may happen if Visual Studio cannot load the designer for the grid control for some reason. In that case the grid appears in the component tray at the bottom of the VS design surface (like for example a BindingSource component). The designer for the grid component assembly is located in the Telerik.WinControls.UI.Design assembly, which should be installed in GAC.
You can check if that is the case by dropping a RadTreeView because its designer is in the same assembly.

If you drop a RadTreeView in the design surface and it shows normally (not in the component tray), you will have to send us a project so that we will be able to investigate the issue and find a solution.

All the best,
Jordan
the Telerik team
 
0
Nachiappan Narayanan
Top achievements
Rank 1
answered on 04 Dec 2008, 08:56 PM
Thanks very much for digging up and posting the ticket, Judy! That's helpful to know even though it doesn't seem to be as closely related to my issue as I'd hoped.
One common element is the disappearing theme names. But my principle issue is themed properties being overridden by pre-existing modifications.
e.g.
    an unthemed (default) object has property x modified
    a theme that includes property x (but a different value) is applied to the object
    the pre-existing modification appears to override the theme

I've discovered one wretchedly tedious workaround:
    remove the theme from the object
    reset everything in sight (one by one)
    re-apply the theme
    close the project (at this point, displayed properties do not conform to reality)
    re-open the project

There's probably some obvious-to-everyone-but-me method for resetting everything in a single click.
Do you know the magic trick? Or am I perhaps looking at the problem from a screwy angle?

Thanks,
Nachi
0
Jordan
Telerik team
answered on 05 Dec 2008, 04:07 PM
Hello Nachiappan Narayanan,

What you are seeing is actually the expected behavior. It is due to the fact that a locally set value (with code) has the highest priority. That is why if you have a property set with code its value cannot be changed by a theme any more.

And no, there is no magic trick that resets all properties. However, you could edit the designer-generated code, but you should be extra careful and have a backup in case something goes wrong. After getting used to doing that it becomes easier and faster than using the designer to make small changes.
 

Best wishes,
Jordan
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Nachiappan Narayanan
Top achievements
Rank 1
answered on 10 Dec 2008, 06:21 PM
Thanks, Jordan. So much for the magic bullet.

One other question, though:
is there a way to turn off Visual Style Builder's persistence?
or at least to clean the slate?

Nachi
0
Jordan
Telerik team
answered on 12 Dec 2008, 04:57 PM
Hi Nachiappan Narayanan,

The only way to make Visual Style Builder not persist the changes is by not saving them. Or you could save the changes in another file with which you can experiment. Also in the Visual Style Builder you can reset a specific property to its default value through the property grid (right-click on the property and select RESET).

Could you share with us which are the properties in question and which theme are you using?

All the best,
Jordan
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Judy
Top achievements
Rank 1
Answers by
Jordan
Telerik team
Nachiappan Narayanan
Top achievements
Rank 1
Judy
Top achievements
Rank 1
Share this question
or