11 Answers, 1 is accepted
Being obsolete for more than a year, we removed RadTabStrip from our suite. TabItem was a part of that control. Please refer to the bottom of our Release Notes which state the removal of RadTabStrip:
BREAKING CHANGE: Removed the following obsolete controls: RadListBox, RadComboBox, RadTabStrip, RadToolStrip and RadPanelBar. Use RadListControl, RadDropDownList, RadPageView and RadCommandBar instead.
As you can notice, you need to replace RadTabStrip with RadPageView. I would recommend the following upgrade path:
1. Downgrade to Q2 2011 SP1 (v2011.2.11.831). This is the last version which contains the RadTabStrip implementation and thanks to that you can benefit from the Conversion Wizard that will convert RadTabStrip types to RadPageView types. Before installing Q2 2011 SP1 it will be best if you uninstall Q3 2011 in order to avoid possible version mismatches. You can download Q2 2011 SP1 from Your Account >> Download and Manage your products >> RadControls for WinForms >> Older Versions.
2. After Q2 2011 SP1 is installed, open your forms that contain RadTabStrip at design-time and use the Conversion Wizard as described here. Your RadTabStrips should become RadPageViews.
3. Update to Q3 2011.
I hope this helps.
All the best,
Nikolay
the Telerik team
Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.
I am in the process of upgrading our winform project from 2010.1.10.504 version to Q3 2011 version.
I am new to this winforms telerik.
private RadTabStrip tcInfo;
private TabItem tcpInstructions;
private TabItem tcpCreditCard;
private TabItem tcpItemEntry;
private TabItem tcpRecap;
I am getting the following error.
Error 100 'Telerik.WinControls.UI.TabItem' is inaccessible due to its protection level ...\frmOrderEntry.designer.cs 12 13
I know you mentioned about conversion wizard from Q2 2011 to Q3 2011.
In my case how do I convert this. I never used the conversion wizard. I just installed the new verion of Q3 2011 and removed the old reference in the project and updated the reference with new version of DLL.
Second issue:
In the current project we are using the following references (DLLs). I coudn't see these in the Q3 2011 version
Telerik.WinControls.Docking.dll
Telerik.WinControls.Themes.ControlDefault.dll
Telerik.WinControls.Themes.Miscellaneous.dll
Telerik.WinControls.Themes.Vista.dll
Please let me know the solution for both.
Thanks
As I shared to Ori, in order to upgrade the TabItem type and the other types related to the RadTabStrip control, you should first install Q2 2011 SP1 which comes with the Conversion Wizard. After you use the Wizard as described in this article (or follow this video), you should uninstall Q2 2011 SP1 and then you can install Q3 2011 and update to it.
These are the steps if you have issues only with the TabItem type. However, judging by the Telerik assemblies that you have referenced, I can say that you case is a bit more complex.
The fact that you mentioned Telerik.WinControls.Docking.dll means that you are using a DockingManager control in your application. If this is true, before trying to upgrade to Q3 2011 or to Q2 2011 SP1, you should first upgrade to Q3 2010 SP1. This is the last version which contains the DockingManager control and its respective Conversion Wizard that will allow you to update to its successor - RadDock.
Q3 2010 SP1 also exposes the Conversion Wizard that will allow you to convert to from RadTabStrip to RadPageView. So, while your project is updated on Q3 2010 SP1, you can directly use the Wizard there and this will save you the effort to upgrade to Q2 2011 SP1 before upgrading to Q3 2011. Please note that we also provide Conversion Wizards that will allow you to upgrade RadComboBox to RadDropDownList and RadListBox to RadListControl.
You do not need the reference to the Telerik.WinControls.Themes.ControlDefault.dll assembly. This assembly contains our control default theme (Office2007Blue), which is actually embedded in the RadControls themselves. So, you can safely remove it from your application.
The Miscellaneous component contained different themes for different controls. We decided that we should expose only components which provide themes for the whole suite and this is why we removed the Miscellaneous component. Share with me which themes you have been using and I will provide you with them.
The Vista theme was obsolete and was removed from our suite. Please use Windows7 component instead.
I hope that this information helps.
Nikolay
the Telerik team
Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.
Thank you for your response with all the steps. As you mentioned I have uninstalled Q3 2011 and installed with Q2 2011 to try the conversion wizard. I am getting couple of errors.
Code:
if (e.RowElement.RowInfo.Cells["DropShipText"].CellElement == null) return;
//Display column as a button if drop ship is true.
if (row.DropShipBool)
{
if (e.RowElement.RowInfo.Cells["DropShipText"].CellElement.Children.Count == 0)
{
RadButtonElement dropShipButton = new RadButtonElement();
dropShipButton.Text = e.RowElement.RowInfo.Cells["DropShipText"].Value.ToString();
.....
Error 130 'Telerik.WinControls.UI.GridViewCellInfo' does not contain a definition for 'CellElement' and no extension method 'CellElement' accepting a first argument of type 'Telerik.WinControls.UI.GridViewCellInfo' could be found (are you missing a using directive or an assembly reference?)
code:
city.Index = 0;
state.Index = 1;
Error 113 Property or indexer 'Telerik.WinControls.UI.GridViewColumn.Index' cannot be assigned to -- it is read only
Please let me know.
Thanks
I am in the process of upgrading our winform project from 2010.1.10.504 version to Q3 2011. As you mentioned, first trying to upgrade to Q2 2011 to use the conversion wizard.
Please let me know the solution for the 'Telerik.WinControls.UI.GridViewCellInfo' and 'Telerik.WinControls.UI.GridViewColumn.Index'
issues.
Thanks
Geetha
Thank you for this question.
In Q2 2011 we removed the CellElement property from the GridViewCellInfo object. The reasons to do that and the appropriate solutions are described in this blog post. Generally, for your case I would recommend using the CellFormatting event. However, from what I see in your code snippet, you add a RadButtonElement in the cells. We have such a button column called GridViewCommandColumn. If I understand your case correctly, you can just hide some of the buttons of this column depending on your custom condition. This operation can happen on CellFormatting as well.
As to the column index, you can set it using the Move method of the Columns collection, for example:
this
.grdResults.Columns.Move(grdResults.Columns[
"ChangeDate"
].Index, 0);
I hope this helps. Write back if you have additional questions.
Best wishes,
Nikolay
the Telerik team
Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.
But where can I download this Q2 2011 SP1? I can't find a link to download it, so I just cannot run the sample application Helpdesk. Please help, thanks
The HelpDesk sample application has just been updated to work with the latest release Q1 2012, so you do not need an old version of our WinForms suite anymore. Just navigate to this page from where you can get the latest HelpDesk application: http://www.telerik.com/community/code-library/winforms/general/helpdesk-demo-application.aspx
All the best,Nikolay
the Telerik team
I opened the new Helpdesk project in VS2010, I got the following error when I tried the run the project.
The database
<.........The path to the MDF file..........>
cannot be opened because it is version 661. This server supports version 655 and earlier. A downgrade path is not supported.
I have installed MS SQL SERVER R2 on my pc, and I can open the MDF database in SQL Server Studio.
Regards,
Xiao Tao
ok. after I attached the .mdf to Server 2008 R2 and get the connection string in VS2010, I amended the app.config file and settings, It works ok now. Thanks.
One questions, even I amended the app.config file, the connectionstring in settings won't update automatically, why? I thought it should be updated automatically when I amend the app.config file.
Thanks for your help, Telerik team.
I am glad to hear that you managed to resolve your first issue.
As to the current one, please do the necessary modifications not from the app.config file, but from the Settings Designer of your project. I am attaching a screenshot of the Designer for your reference.
A bit off topic, I would kindly ask you to avoid mixing several topics in one thread. The current thread concerns the breaking changes introduced in Q3 2011, while your questions mainly concerns our HelpDesk application. Discussing one topic per thread will allow our users to find the information they need more easily. Thank you for your understanding.
Nikolay
the Telerik team