Telerik Forums
UI for WinForms Forum
6 answers
185 views
Hi,

As we can localize RadGridView by using 
Telerik.WinControls.UI.Localization.RadGridLocalizationProvider
 and assigning it to 
RadGridLocalizationProvider.CurrentProvider
to change the text of certain elements on RadGridView by implementing our custom class
as follows:

Private Class MyEnglishRadGridLocalizationProvider
    Inherits Telerik.WinControls.UI.Localization.RadGridLocalizationProvider
 
    Public Overrides Function GetLocalizedString(ByVal id As String) As String
        Select Case id
            Case RadGridStringId.NoDataText
                Return "Between"
            Case RadGridStringId.AddNewRowString
                Return "Hey, you're new row here.."
            Case Else
                Return MyBase.GetLocalizedString(id)
        End Select
 
        Return "Bad, Bad Grid"
    End Function
End Class

Public Class Form1
     Public Sub New()
      ' This call is required by the Windows Form Designer.
        InitializeComponent()
        RadGridLocalizationProvider.CurrentProvider = New MyEnglishRadGridLocalizationProvider()
    End Sub
 End Class

Likewise, how can we localize gridview component embedded in RadMultiColumnComboBox?

Thanks
Rahim
Top achievements
Rank 1
 answered on 18 Aug 2012
1 answer
113 views
When using a bindinglist on a ListView datasource, everytime a new object is added to the List, the view will automatically select the new item. 

What i would like is for the list to be updated but the selected item to stay where it is. How do prevent the default behaviour? 
Stefan
Telerik team
 answered on 17 Aug 2012
3 answers
140 views
When we assign shortcuts to a RadMenuItem in a context menu on a form, the shortcut is also triggered when the form is not active.

The shortcut is working properly when the form is active, but when the form shows a modal dialog on top, the shortcut from the underlaying window is still active and can be triggered.

How can we change this behaviour?
Peter
Telerik team
 answered on 17 Aug 2012
1 answer
98 views
Hello,
I have a xml  from Webservice and i must show this in a GridView. This is a part from the XML result from Webservice:
<?xml version="1.0" encoding="utf-16"?>
<PlayerTree>
  <Main ID="1" Name="Göttingen - Halle">
    <Station ID="2" Name="Arenshausen">
      <Player ID="3" Name="Arenshausen 1" Group="Best Route" />
      <Player ID="4" Name="Arenshausen 2" Group="Best Route" />
      <Player ID="74" Name="Arenshausen 3" Group="Best Route" />
      <Player ID="89" Name="Arenshausen 4" Group="OIS" />
      <Player ID="90" Name="Test 1a" Group="Best Route" />
      <Player ID="91" Name="Richtung SĂĽd" Group="Best Route" />
      <Player ID="92" Name="Neu" Group="Best Route" />
      <Player ID="99" Name="Neuer Test" Group="Best Route" />
      <Player ID="100" Name="Neuer Player" Group="Best Route" />
      <Player ID="101" Name="Arenshausen 5" Group="Best Route" />
    </Station>
    <Station ID="5" Name="Heilbad Heiligenstadt">
      <Player ID="6" Name="Hig 1a" Group="Best Route" />
      <Player ID="7" Name="Hig 2" Group="Best Route" />
      <Player ID="8" Name="Hig 3" Group="Best Route" />
      <Player ID="9" Name="Hig 4" Group="Best Route" />
    </Station>
    <Sub ID="71" Name="Arenshausen - Uder" />
  </Main>
  <Main ID="10" Name="Hamburg - Hannover">
    <Station ID="60" Name="Station A" />
    <Station ID="61" Name="Station B" />
  </Main>
  <Main ID="17" Name="Erfurt Leinefelde - Erfurt">
    <Sub ID="30" Name="Route A2">
      <Sub ID="31" Name="Route A1 A2ab" />
    </Sub>
  </Main>
  <Main ID="18" Name="Teststrecke">
    <Sub ID="33" Name="Route A">
      <Station ID="95" Name="Teststation 1">
        <Player ID="96" Name="Unten" Group="Best Route" />
      </Station>
    </Sub>
  </Main>
  <Main ID="19" Name="Leinefelde - Heiligenstadt" />
  <Main ID="20" Name="Heiligenstadt - Nordhausen" />
  <Main ID="21" Name="Nordhausen - Heiligenstadt" />
  <Main ID="22" Name="Nordhausen - Leinefelde">
    <Sub ID="35" Name="A1">
      <Sub ID="36" Name="A11">
        <Station ID="42" Name="Station A" />
        <Station ID="43" Name="Station B" />
        <Station ID="44" Name="Station C" />
        <Station ID="45" Name="Station D" />
      </Sub>
    </Sub>
  </Main>
  <Main ID="23" Name="Leinefelde - Nordhausen">
    <Sub ID="84" Name="Tr">
      <Station ID="85" Name="St">
        <Player ID="86" Name="Pl" Group="Best Route" />
      </Station>
    </Sub>
  </Main>
  <Main ID="24" Name="Route A">
    <Station ID="65" Name="Station A" />
  </Main>
  <Main ID="25" Name="Route B">
    <Station ID="66" Name="Station A1" />
  </Main>
  <Main ID="26" Name="Route C" />
  <Main ID="27" Name="Route D" />
  <Main ID="28" Name="Route E">
    <Sub ID="68" Name="TR">
      <Station ID="69" Name="ST">
        <Player ID="87" Name="Pl" Group="Best Route" />
        <Player ID="88" Name="Pl2" Group="Best Route" />
      </Station>
    </Sub>
  </Main>
  <Main ID="32" Name="Halle - Göttingen" />
  <Main ID="70" Name="Test" />
  <Main ID="77" Name="Hig2" />
  <Main ID="78" Name="Hig 3">
    <Sub ID="79" Name="Tr 1">
      <Station ID="81" Name="Station 1">
        <Player ID="82" Name="Player 1" Group="Best Route" />
        <Player ID="83" Name="Player 2" Group="Best Route" />
      </Station>
    </Sub>
    <Sub ID="80" Name="Tr 2" />
  </Main>
  <Main ID="102" Name="Testlauf">
    <Sub ID="103" Name="Teilroute">
      <Station ID="104" Name="Station">
        <Player ID="105" Name="Testplayer 1" Group="Best Route" />
      </Station>
    </Sub>
  </Main>
</PlayerTree>

How can I schow hierarchical (group)  this in my RadGridView? Is this possible?

BR
Reiner

Ivan Petrov
Telerik team
 answered on 17 Aug 2012
1 answer
88 views
Hi There,

We want to develop new theme like Metro Blue theam as shipped with Win Forms demo application, please suggest?

Regards,
Madan Upadhyay
Boryana
Telerik team
 answered on 17 Aug 2012
2 answers
831 views
RadLabel does not have a ToolTip property, so is there any way to display tooltip text when the mouse enter event is raised?
Stefan
Telerik team
 answered on 17 Aug 2012
1 answer
142 views
Hi,
I have several parent nodes, and what I would like to do is be able to multi select the parent nodes and the child nodes in such a way that only one node under a parent or the parent can be selected.

For instance, suppose I have this example:
Parent1
  - Child1
  - Child2
Parent2
  - Child1
  - Child2
  - Child3
Parent3
  - Child1

I would like to be able to start off with all the Parent nodes selected, and then be able to do any combination thereafter by only having one node from each parent selected at any time.

I have tried Canceling the selection event in the SelectedNodeChanging handler (by removing the event handler, then programatically setting the selected nodes, and finally adding the handler back) however the tree view does not refresh.

Is there perhaps a built in way of achieving this or am I going about it all wrong?

Thanks,
Jack
Telerik team
 answered on 17 Aug 2012
1 answer
89 views
Hi,

We are using the Telerik Winforms Q3 2009 SP1.

In that, how to supress right clicks in RadComboBox.

We tried assigning a empty contextstrip to contextstrip property .But it doesn't work.

Is there any way to do this?

Thanks.
Peter
Telerik team
 answered on 17 Aug 2012
2 answers
278 views
I have seen this asked but have not seen a link to some examples using Telerik in C++. 
Any pointers? Selecting new Telerik project only offers VB and C#. . Presently running VS 2010 Pro, with SP1 on a Windows 7 64 Bit OS. Running latest download of Telerik (Q2 2012). Radcontrols for Winforms shows up and works in C#, but would like to move some C++ programs and spiff up the GUI.
Thanks,

Lou
louyo
Top achievements
Rank 1
 answered on 17 Aug 2012
4 answers
488 views
Hello,

I want to disable the scrollbars of a radTreeView. Could you please help me to do this. I have already tried to set to false the Visible and/or the Enable properties of VerticalScroll and/or HScrollBar, but the scrollbars are still visible.
Thanks.

Best regards,
Michael



Boryana
Telerik team
 answered on 16 Aug 2012
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?