Monday, 20 December 2010

Add New Item fix for Visual Studio 2005 and Telerik WinForms

If you're someone that still sometimes uses visual Studio 2005, and you are using Telerik Controls for WinForms, then you might have noticed if you add a new item to a project, then it always defaults to a RadForm, no matter what item you choose.

This will be fixed in one of the upcoming releases of the Telerik controls for Winforms but in the meantime, there is an easy way to fix this.

Move all of the files from the following folder (assuming Visual Studio is installed in it's default location):
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates\VisualBasic\Windows Forms
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates\VisualBasic
Open a Visual Studio 2005 Command Prompt
Use the following command:
devenv /setup
Wait for the command to finish

Wednesday, 15 December 2010

Telerik releases Q3 2010 SP1 for WinForms

Just out, the latest SP1 release for Q3 2010 for WiForms. This release has a host of fixes and added functionality for
The Telerik Presentation Framework, RadCommandBar, RadDropDownList, RadListControl, RadGridView, RadMenu, RadApplicationMenu, RadPageView, RadRibbonbar, RadScheduler, RadSchedulerNavigator, RadStatusStrip and Visual Studio Extensions.

Check out the Release Notes or get the Free Trial Version here.

Saturday, 11 December 2010

Telerik to add Wizard Control to its collection

For some time I've been using Telerik WinForms controls and they are an intergral part of our software. There are few controls that are missing and Telerik has an aggressive release strategy meaning that the existing controls are updated frequently and new controls are often added.

One of the few controls that I missed though was a decent wizard control. We already use a third party wizard control in our software but with the lack of the familiar theme, it looks a little out of place.

I'm please to see though that Telerik have once again responded and will be providing a Wizard control in Q1 2011 release.

to find out more about the roadmap of Telerik WinForms products have a look at the WinForms RoadMap

Tuesday, 7 December 2010

Localize Telerik RadReminder

Like most of the offerings from the Telerik WinForms suite, it is possible to localize the RadReminder. However, this does not seem to be documented at the moment on the Telerik website.

localizing the RadReminder is easy and just like localizing all the other RadControls.

  • Start by creating a descendant of the RadReminderLocalizationProvider class.
  • Override the GetLocalizedString(string id) method and provide a translation for the messages. If a translation is not provided, the default value will be returned. This behavior is guaranteed by the call to the base GetLocalizedString method in the default clause of the switch statement in the example
Public Class MyRadReminderLocalizationProvider
    Inherits Telerik.WinControls.UI.RadReminderLocalizationProvider

    Public Overrides Function GetLocalizedString(ByVal id As String) As String
        Select Case id
            Case RadReminderStringId.AlarmFormButtonDismiss
                Return "Dismiss"
            Case RadReminderStringId.AlarmFormButtonDismissAll
                Return "Dismiss All"
            Case RadReminderStringId.AlarmFormButtonOpenItem
                Return "Open Item"
            Case RadReminderStringId.AlarmFormButtonSnooze
                Return "Snooze"
            Case RadReminderStringId.AlarmFormColumnDueIn
                Return "Due in"
            Case RadReminderStringId.AlarmFormColumnSubject
                Return "Subject"
            Case RadReminderStringId.AlarmFormLabelSnooze
                Return "Click Snooze to be reminded again in:"
            Case RadReminderStringId.AlarmFormReminder
                Return "Reminder"
            Case RadReminderStringId.AlarmFormReminders
                Return "Reminders"
            Case RadReminderStringId.AlarmFormSnoozeEightHours
                Return "8 hours"
            Case RadReminderStringId.AlarmFormSnoozeFifteenMinutes
                Return "15 minutes"
            Case RadReminderStringId.AlarmFormSnoozeFiveMinutes
                Return "5 minutes"
            Case RadReminderStringId.AlarmFormSnoozeFourDays
                Return "4 days"
            Case RadReminderStringId.AlarmFormSnoozeFourHours
                Return "4 hours"
            Case RadReminderStringId.AlarmFormSnoozeHalfDay
                Return "0.5 days"
            Case RadReminderStringId.AlarmFormSnoozeOneDay
                Return "1 day"
            Case RadReminderStringId.AlarmFormSnoozeOneHour
                Return "1 hour"
            Case RadReminderStringId.AlarmFormSnoozeOneMinute
                Return "1 minute"
            Case RadReminderStringId.AlarmFormSnoozeOneWeek
                Return "1 week"
            Case RadReminderStringId.AlarmFormSnoozeTenMinutes
                Return "10 minutes"
            Case RadReminderStringId.AlarmFormSnoozeThirtyMinutes
                Return "30 minutes"
            Case RadReminderStringId.AlarmFormSnoozeThreeDays
                Return "3 days"
            Case RadReminderStringId.AlarmFormSnoozeTwoDays
                Return "2 days"
            Case RadReminderStringId.AlarmFormSnoozeTwoHours
                Return "2 hours"
            Case RadReminderStringId.AlarmFormSnoozeTwoWeeks
                Return "2 weeks"
            Case RadReminderStringId.DueInDay
                Return "day"
            Case RadReminderStringId.DueInDays
                Return "days"
            Case RadReminderStringId.DueInHour
                Return "hour"
            Case RadReminderStringId.DueInHours
                Return "hours"
            Case RadReminderStringId.DueInMinute
                Return "minute"
            Case RadReminderStringId.DueInOverdue
                Return "overdue"
            Case RadReminderStringId.DueInWeek
                Return "week"
            Case RadReminderStringId.DueInWeeks
                Return "weeks"
        End Select
                Return MyBase.GetLocalizedString(id)
    End Function

End Class

To apply the custom localization provider, instantiate and assign it to the current localization provider:

RadReminderLocalizationProvider.CurrentProvider = New MyRadReminderLocalizationProvider()

Wednesday, 1 December 2010

Telerik to provide WinForms Rich Text Editor Control

Telerik are to add to it's great suite of RadControls for WinForms a Rich Text Editor. Currnetly, they soliciting feedback on what features you would like to see from a Telerik WinForms Rich Text Editor.

If you're interested in seeing the industry leading component development company add this new product to the list of WinForms controls, then you can open a new support ticket with subject RichTextEditor, and send your responses of the following questions (feel free to extend these, if needed):
  1. What format would you like to save the content in (HTML, XAML, XML, DOC, DOCX, etc)?
  2. Will you need exporting functionality? If yes, what export formats will you need in your apps?
  3. What advanced editing features will you need (for example table support, image support, etc)?
  4. What is the main purpose of such a tool that you will need? For example, will you be editing documents, producing PDFs for archives, exporting data in other formats?
  5. Do you plan to integrate the rich text editor with another product (such as reporting, CRM, etc)? If yes, we will appreciate it if you give us more details about your needs.
  6. What other products have you used and what you like and dislike about them?
  7. How would you feel if we use DirectWrite (this will require Vista SP2+ or Win7). How many of your customers are still using WinXP?
  8. Would you prefer to use the new Ribbon interface, or the older menu/toolstrip setup?
I'll look forward to seeing this added to the controls.