Telerik Forums
UI for WinForms Forum
5 answers
178 views
Hi, quick question, I know how to localize individual controls and it seems to work fine for me so far. But since I have to create a Localization provider for every control that I need to translate and find all the strings and translate them all.. I was wondering if there was some kind of compilation somewhere I could download and simply add to my program?

I wish I could download or at least copy and paste information like that (that would prevent all the manual work) :

Imports Telerik.WinControls.UI.Localization

Public Class MyFrenchRadGridLocalizationProvider
    Inherits RadGridLocalizationProvider
    Public Overloads Overrides Function GetLocalizedString(ByVal id As String) As String
        Select Case id
            Case RadGridStringId.FilterFunctionBetween
                Return "Entre"
            Case RadGridStringId.FilterFunctionContains
                Return "Contient"
            Case RadGridStringId.FilterFunctionDoesNotContain
                Return "Ne contient pas"
            Case RadGridStringId.FilterFunctionEndsWith
                Return "Termine par"
            Case RadGridStringId.FilterFunctionEqualTo
                Return "Équal à"
            Case RadGridStringId.FilterFunctionGreaterThan
                Return "Plus grand que"
            Case RadGridStringId.FilterFunctionGreaterThanOrEqualTo
                Return "Plus grand ou équal à"
            Case RadGridStringId.FilterFunctionIsEmpty
                Return "Est vide"
            Case RadGridStringId.FilterFunctionIsNull
                Return "Est nule"
            Case RadGridStringId.FilterFunctionLessThan
                Return "Plus petit que"
            Case RadGridStringId.FilterFunctionLessThanOrEqualTo
                Return "Plus petit ou égal à"
            Case RadGridStringId.FilterFunctionNoFilter
                Return "Sans filtre"
            Case RadGridStringId.FilterFunctionNotBetween
                Return "N'est pas entre"
            Case RadGridStringId.FilterFunctionNotEqualTo
                Return "N'est pas égal"
            Case RadGridStringId.FilterFunctionNotIsEmpty
                Return "N'est pas vide"
            Case RadGridStringId.FilterFunctionNotIsNull
                Return "N'est pas nule"
            Case RadGridStringId.FilterFunctionStartsWith
                Return "Débute par"
            Case RadGridStringId.FilterFunctionCustom
                Return "Personalisé"
            Case RadGridStringId.CustomFilterMenuItem
                Return "Menu filtre"
            Case RadGridStringId.CustomFilterDialogCaption
                Return "Dialogue de filtre"
            Case RadGridStringId.CustomFilterDialogLabel
                Return "Afficher les lignes:"
            Case RadGridStringId.CustomFilterDialogRbAnd
                Return "Et"
            Case RadGridStringId.CustomFilterDialogRbOr
                Return "Ou"
            Case RadGridStringId.CustomFilterDialogBtnOk
                Return "OK"
            Case RadGridStringId.CustomFilterDialogBtnCancel
                Return "Annuler"
            Case RadGridStringId.DeleteRowMenuItem
                Return "Effacer une ligne"
            Case RadGridStringId.SortAscendingMenuItem
                Return "Tri ascendant"
            Case RadGridStringId.SortDescendingMenuItem
                Return "Tri descendant"
            Case RadGridStringId.ClearSortingMenuItem
                Return "Effacer le tri"
            Case RadGridStringId.ConditionalFormattingMenuItem
                Return "Format de colonne conditionnel"
            Case RadGridStringId.GroupByThisColumnMenuItem
                Return "Grouper cette colonne par item"
            Case RadGridStringId.UngroupThisColumn
                Return "Dégrouper cette colonne"
            Case RadGridStringId.ColumnChooserMenuItem
                Return "Filtrer les colonnes"
            Case RadGridStringId.HideMenuItem
                Return "Cacher"
            Case RadGridStringId.UnpinMenuItem
                Return "Décrocher"
            Case RadGridStringId.PinMenuItem
                Return "Accrocher"
            Case RadGridStringId.BestFitMenuItem
                Return "Ajuster"
            Case RadGridStringId.PasteMenuItem
                Return "Coller"
            Case RadGridStringId.EditMenuItem
                Return "Éditer"
            Case RadGridStringId.CopyMenuItem
                Return "Copier"
            Case RadGridStringId.AddNewRowString
                Return "Ajouter une ligne"
            Case RadGridStringId.ConditionalFormattingCaption
                Return "Mise en forme conditionnelle"
            Case RadGridStringId.ConditionalFormattingLblColumn
                Return "Colonne:"
            Case RadGridStringId.ConditionalFormattingLblName
                Return "Nom:"
            Case RadGridStringId.ConditionalFormattingLblType
                Return "Type:"
            Case RadGridStringId.ConditionalFormattingLblValue1
                Return "Valeur 1:"
            Case RadGridStringId.ConditionalFormattingLblValue2
                Return "Valeur 2:"
            Case RadGridStringId.ConditionalFormattingGrpConditions
                Return "Conditions"
            Case RadGridStringId.ConditionalFormattingGrpProperties
                Return "Propriétés"
            Case RadGridStringId.ConditionalFormattingChkApplyToRow
                Return "Appliquer à la ligne"
            Case RadGridStringId.ConditionalFormattingBtnAdd
                Return "Ajouter"
            Case RadGridStringId.ConditionalFormattingBtnRemove
                Return "Effacer"
            Case RadGridStringId.ConditionalFormattingBtnOK
                Return "OK"
            Case RadGridStringId.ConditionalFormattingBtnCancel
                Return "Annuler"
            Case RadGridStringId.ConditionalFormattingBtnApply
                Return "Appliquer"
            Case RadGridStringId.ColumnChooserFormCaption
                Return "Sélecteur de colonnes"
            Case RadGridStringId.ColumnChooserFormMessage
                Return "Glisser une colonne ici pour la cacher"
            Case RadGridStringId.GroupingPanelDefaultMessage
                Return "Regroupement"

            Case Else
                Return MyBase.GetLocalizedString(id)
        End Select
    End Function
End Class


Any idea?

Thanks a lot
Nikolay
Telerik team
 answered on 03 Dec 2009
1 answer
84 views
hi,
i know how to make the header of a column change color.
but how can i make the selected column change light gray like outlook 2007 does in all the cells below the header?

randall
Jack
Telerik team
 answered on 03 Dec 2009
1 answer
126 views
My program used to be able to access the Item list for a CombBox loaded from a DataTable whilst still in the form Constuctor.  Now it appears that the Item list is not filled in until the Constructor finishes.  If I move the code into a timer event that fires after the Constructor is finished, the Item list is accessable imediately after the DataSource has been set. 

Has there been a deliberate change to create this situation or should I not be setting DataSources in Constructors?
Deyan
Telerik team
 answered on 03 Dec 2009
1 answer
108 views
Good with everyone
I am working with RadTabStrip and I found the problem I can not activate the autoscroll, this property is working? examples appear in the help which can not be played because the property does not appear AutoScroll.

Thanks in advance

Victor Bocanegra
Lima, Peru
Nikolay
Telerik team
 answered on 03 Dec 2009
2 answers
544 views

I am using Telerik RadControls for WinForms Q3 2009 (v2009.3.9.1103). How do I disable the context menu that allows user to close the document.

  • My requirement is that the user should not be able to close any of the document window.

I have hidden the Close button but the user can still access the context menu.

Is there any solution for this issue or this is just a part of the design?

Deepak Shakya
Top achievements
Rank 1
 answered on 03 Dec 2009
2 answers
157 views

Hi,
I wish to add an icon on the top of a form which should look like as if its half outside the boundaries of the form, like you guys have implemented in your demos form, (pic attached and region highlighted).
Secondly can i add a .gif rather than an .ico as in a standard windows form. So that some kind of animation is possible?
Thank you!!!
Nikk grey
Top achievements
Rank 1
 answered on 03 Dec 2009
4 answers
187 views
I want a user to be able to double click on a node in the tree view and then perform an action associated with that node (e.g., "opening" it in my scenario).  I don't want double click to cause the tree to collapse/expand.  I only want collapse and expand if the user clicks on the + sign (or whatever that visual happens to be).
Tom Chien
Top achievements
Rank 1
 answered on 02 Dec 2009
1 answer
119 views
Hello,

I have a grid setup with both bound and unbound columns so in order to add new rows to the grid programmatically I'm using the NewRow() and Add() methods on the grid's row collection instead of accessing the underlying datasource. By going this route though, I've noticed it's taking on the order of minutes to fill up 500 rows, which seems really sluggish to me. Am I doing something wrong here? I'm testing with the trial version for download currently.

Private Sub Form1_Load(...)
   Me.RadGridView1.BeginEdit()
   For i as Integer =  1 to 500
       Dim newrow as GridViewRowIndo = Me.RadGridView1.Rows.NewRow()
       ' update a few row cells here....
       Me.RadGridView1.Rows.Add(newrow)
   Next
   Me.RadGridView1.EndEdit()

End Sub

Thanks,
Mark
Julian Benkov
Telerik team
 answered on 02 Dec 2009
1 answer
110 views
Hi everyone

is there anyone could help me customizing tabstripe like adobe acrobat tabs?
i attached an example photo to show what i want?

any suggestion would be appreciated.

Sam
Svett
Telerik team
 answered on 02 Dec 2009
1 answer
154 views

When i edit a recurrence Appointment there are some problems:

1. When i change the duration then the end time is not changed as a user would expect it. When i change the end time then the duration is changed as expected.

2. Recurrence pattern monthly: Values for the spininterval1 can be in the range 0 .. 100. The range of spininterval1 should be 1 .. 31. Numbers bigger than 31 make no sense at all.

3. Recurrence pattern monthly: Values for the spininterval2 can be in the range 0 .. 100. The range of spininterval2 should be 1..100. When you enter the 0 then the EditAppointmentDialog lets crash the Scheduler with a division by zero exception.

4. Recurrence pattern yearly: Values for the spinDayNumer can be in the range 0 .. 100. The range of the spinDayNumber should be 0 .. max day of the selected month in the combobox cmbMonth1. Numbers bigger than the max day of the selected month make no sense at all.

5. When i click on the ok-Button of the EditRecurrenceDialog then the EditAppointmentDialog should check if the startdate is in the recurrence rule. When it is not in the recurrence rule then it should be changed to the first day of the recurrence rule. For example when i enter a recurrence rule which says a recurrence on every thursday and the startday in the appointment dialog is a monday then the startday should be changed to the first thursday of the recurrence rule automatically.

Kind Regards,

Ramius

Boyko Markov
Telerik team
 answered on 02 Dec 2009
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?