Telerik Forums
UI for WinForms Forum
1 answer
125 views
Hello guys;
I was trying to select the value from a specifc cell in a radGrid who has been previouisly check with a check column. I tried using the ValueChanged event but still it doesn't work. I looked all over the forum but still couldn't get the value. My code in general looks like this:
private void grdClientes_ValueChanged(object sender, EventArgs e)
        {
 
 
            foreach (GridViewDataRowInfo row in grdClientes.Rows)
            {
                if (row.Cells["Seleccionado"].Value == "On")
                {
                    _selectedRowIndex += (int)row.Cells["Cantidad"].Value;
                }
            }
        }


Thanks in advance for your help.
Stefan
Telerik team
 answered on 20 Aug 2012
1 answer
178 views
Hi,

I have a multi-column dropdown within a grid as so:
Dim col As GridViewMultiComboBoxColumn = New GridViewMultiComboBoxColumn()
col.DataSource = myLibrary_Consultants
col.DisplayMember = "Initial"
col.ValueMember = "Initial"
col.Name = "Cons1"
RadGridView_ContactLog.Columns.Add(col)


How can I change the datasource for the dropdown later on in code,

as RadGridView_ContactLog.Columns(0)... doesn't have a datasource property?

Thanks

Terry
Stefan
Telerik team
 answered on 20 Aug 2012
1 answer
185 views
Hi, 
when i use a RadRibbonForms in my application, at design time, titlebar buttons and directions are in a right manner as you see in attached file (a.png) but when i run the application, it was appear in a wrong style and direction (please see b.png file in attachments).
also i try it by "righttoleft=no" properity but i have a similar problem.

thanks from your replies
Stefan
Telerik team
 answered on 20 Aug 2012
3 answers
178 views
Hello.

I need to add a set of comboboxes as a new row to a RadGrid dynamically.  I've been able to get close by creating a ComboBoxCellElement off of GridDataCellElement and setting it inside the CreateCell event.  However, because of UI Virtualization, the comboboxes get re-used on different rows as I scroll around, and IsCompatible only seems to work when a custom column type is being used, which I am not using here.

Is it possible to apply specific controls to individual cells?  Or can UI Virtualization be turned off for RadGridView?

Thanks,
Mike
Julian Benkov
Telerik team
 answered on 20 Aug 2012
6 answers
232 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
148 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
199 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
136 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
123 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
943 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
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
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
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?