Telerik Forums
UI for WinForms Forum
4 answers
154 views
Hello everybody

Currently I have the problem that I cannot translate the text on top of the telerik grid ("Drag a column here to group by this column") into german language. I saw several tips in the forum and in the telerik code library but this text is not stored in a variable (i think).
One other thread in this forum points exactly to the same problem but the user wants to translate the same text to turkish. But if I click on this link I receive a server error (page not found)....

Does anyone know how to translate this text? I am using Q2/2009 of the telerik suite.

Kind regards
Roger
Roger Abderhalden
Top achievements
Rank 1
 answered on 10 Nov 2009
1 answer
93 views
Dear Madam/Sir,

One column of my GridView is a GridViewComboBoxColumn.
GridViewComboBoxColumn companyClmn = new GridViewComboBoxColumn( COLUMN_COMPANY ); 
companyClmn.DataSource = this.transport.GetCompanies( this.username ); 
companyClmn.DisplayMember = "companyName"; 
companyClmn.FieldName = "companyID"; 
companyClmn.Width = 150; 

I've added an event for RowValidated and want to check the value for this ComboBoxColumn
but I always get "Object reference not set...".
If I use a TextBoxColumn, I get the value without any problems.

private void SaveToDatabase( object sender, RowValidatedEventArgs e ) { 
    object value = e.Row.Cells[0].Value; // object reference not set...
} 

Thanks in advance!

Edit: I've set .FieldName wrong... stupid error! Sorry!
Martin Vasilev
Telerik team
 answered on 10 Nov 2009
1 answer
162 views

In prior Versions, adding a DocumentWindow to the DockManager used to activate it, in 2009 Q3 I have to explicitely set the Active Window. Is that correct?

RadDock.AddDocument(document);
// new with 2009 Q3 to activate a newly added window
RadEock.ActiveWindow=document;
Julian Benkov
Telerik team
 answered on 10 Nov 2009
3 answers
291 views
I have just upgraded to 2009 Q3 version.

I have a RADform, with a RADGridView, with anchor settings: left, right, top, bottom  (there are other buttons and text box.)

Settings as follows:
RADform:
AutoScaleMode: dpi
WindowsState: Maximized

The RADForm is a MDI child.

I found that sometimes when it is opened (especially the first fime), the RADGridview does not anchored.

But I reopened it, most of the time it can anchor as expected.

Jack
Telerik team
 answered on 10 Nov 2009
1 answer
286 views
Hi

I'm using a trial copy of RadControls for WinForms Q2 2009 SP1,version 2009.2.9.729 for development

And i get the following Error in WinForms.Gridview

================================================================================================
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

/************** Exception Text **************
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.

at System.Collections.ArrayList.ArrayListEnumeratorSimple.MoveNext()
at Telerik.WinControls.RadElementCollection.RadElementEnumerator.MoveNext()
at Telerik.WinControls.UI.GridRowElement.UpdateInfo()
at Telerik.WinControls.UI.GridDataRowElement.UpdateInfo()
at Telerik.WinControls.UI.GridRowElement.Initialize(GridViewRowInfo rowInfo)
at Telerik.WinControls.UI.GridTableBodyElement.UpdateRow(Int32 position, GridViewRowInfo rowInfo)
at Telerik.WinControls.UI.GridTableBodyElement.UpdateRowElements(IEnumerable`1 rows, RectangleF clientRect, Single& y, Int32& position, Int32 startIndex, Int32& added, Single left, Single width)
at Telerik.WinControls.UI.GridTableBodyElement.ArrangeOverride(SizeF finalSize)
at Telerik.WinControls.RadElement.ArrangeCore(RectangleF finalRect)
at Telerik.WinControls.RadElement.Arrange(RectangleF finalRect)
at Telerik.W inControls.UI.GridTableElement.ArrangeOverride(SizeF finalSize)
at Telerik.WinControls.RadElement.ArrangeCore(RectangleF finalRect)
at Telerik.WinControls.RadElement.Arrange(RectangleF finalRect)
at Telerik.WinControls.Layouts.ContextLayoutManager.UpdateLayout()
at Telerik.WinControls.Layouts.ContextLayoutManager.UpdateLayoutCallback(ILayoutManager manager)/

================================================================================================

Thanks
Madhav
Jack
Telerik team
 answered on 10 Nov 2009
4 answers
116 views
I just installed Telerik Q3 2009 WinForms BETA (2009.2.9.1016) over Q2 2009 (2009.2.9.729) and the demo program now no longer shows ChildGridViewTemplate Rows after the 1st Row in at least the following scenario:

  1. Run the demo program and do to GridView, Hierarchy, Tabbed child views.
  2. Expand a ChildGridViewTemplate's ParentRow (all Rows are shown as expected).
  3. Collapse a ChildGridViewTemplate's ParentRow (all Rows are hidden as expected).
  4. Expand a ChildGridViewTemplate's ParentRow (only the 1st Row is shown and its height has increased to fill the whole ChildGridViewTemplate).

This occurs on a per-ParentRow basis.  I could only get this to occur in the demo program.  It did not happen in my app.

Telerik 2009Q3 Beta (2009.2.9.1016), VS 2005 (v8.0.50727.762 SP.050727-7600), .Net2 (2.0.50727), XP SP3, Core2Duo 2.99GHZ with 3GB.
Jack
Telerik team
 answered on 10 Nov 2009
2 answers
117 views
I have a bar graph and I need to change the color of the label in the series.
||||||||||||||||||||||||||||||||||||||||||||||||||||28
||||||||||||||||||||||||||14
Say it looks like this, I want to change the forecolor of the "28" and "14" to be white as the background is a dark blue.
Is this posible andif so how?
Dwight
Telerik team
 answered on 10 Nov 2009
2 answers
358 views
HI Telerik,
                 This s inform to you that i have using MaskedEdit Textbox as percentage mask fix .
 The 1st problem is that with MaskEdit box deafult value look like is "0.00 %"  another my requirements is "0%" how can i use/set mask look like "0%"

and other problem with this if the cursor are stand start of text on left side  value e.g "cursor Position is here  0%"  if i press the backspace button why the value are deleted on right side can you please help me to do fixing issue/problem.

percentage should in numeric value , cannot used as floating point that is big issue with MaskPercentage .

thanks
Khalid
Muhammad Khalid
Top achievements
Rank 1
 answered on 10 Nov 2009
2 answers
149 views
I just installed Telerik Q3 2009 WinForms BETA (2009.2.9.1016) over 2009Q2 (2009.2.9.729) and I get a error when I try to expand my 3rd-level ChildViewTemplate (MasterGridView being 1st level).  The only RadGridView change mentioned was combined Vertical Scroll Bar for Grids with ChildTemplateView's.

System.InvalidCastException: Unable to cast object of type 'Telerik.WinControls.Primitives.FillPrimitive' to type 'Telerik.WinControls.UI.GridDetailViewCellElement'. 
   at Telerik.WinControls.UI.GridDetailViewCellElement.UpdateTableElement() 
   at Telerik.WinControls.UI.GridDetailViewCellElement.UpdateInfoCore() 
   at Telerik.WinControls.UI.GridCellElement.UpdateInfo() 
   at Telerik.WinControls.UI.GridRowElement.UpdateInfo() 
   at Telerik.WinControls.UI.GridDetailViewRowElement.UpdateInfo() 
   at Telerik.WinControls.UI.GridRowElement.Initialize(GridViewRowInfo rowInfo) 
   at Telerik.WinControls.UI.GridTableBodyElement.UpdateRow(Int32 position, GridViewRowInfo rowInfo) 
   at Telerik.WinControls.UI.GridTableBodyElement.ArrangeOverride(SizeF finalSize) 
   at Telerik.WinControls.RadElement.ArrangeCore(RectangleF finalRect) 
   at Telerik.WinControls.RadElement.Arrange(RectangleF finalRect) 
   at Telerik.WinControls.UI.GridTableElement.ArrangeOverride(SizeF finalSize) 
   at Telerik.WinControls.RadElement.ArrangeCore(RectangleF finalRect) 
   at Telerik.WinControls.RadElement.Arrange(RectangleF finalRect) 
   at Telerik.WinControls.Layouts.ContextLayoutManager.UpdateLayout() 
   at Telerik.WinControls.Layouts.ContextLayoutManager.UpdateLayoutCallback(ILayoutManager manager) 
 


Telerik 2009Q3 Beta (2009.2.9.1016), VS 2005 (v8.0.50727.762 SP.050727-7600), XP SP3 on Core2Duo 2.99GHZ with 3GB.
Tom Chien
Top achievements
Rank 1
 answered on 09 Nov 2009
2 answers
230 views
Hello,

how can I get the Index of a RadListBoxItem in a RadListBox?

My current code:
Dim myItem As New RadListBoxItem  
AddHandler myItem.Click, AddressOf Me.ListBoxClick  
Me.RadListBox1.Items.Add(myItem)  
 
 
Private Sub ListBoxClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs)       
 
        Dim myItem As RadListBoxItem = sender   
        Dim myIndex As Integer = ???    <---- How can I get the index?   
 
        Me.RadListBox1.SetSelected(myIndex, True)  
End Sub  
 
 
 
 
 
 

 

 

 

 

 

 

 

Robert
Top achievements
Rank 1
 answered on 09 Nov 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)
Form
Chart (obsolete as of Q1 2013)
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?