Telerik Forums
UI for WinForms Forum
2 answers
128 views
Hi,

I have created one RadGridView and I am looking for the functionality for floating help control. Whenever a user rolls over the mouse in the column header of a Radgridview this floating help control will popup with some pre-defined description about that header. As soon as mouse pointer is no more in the header, this floating control will disappear. Any other suggestions to implement this are most welcome. I am using WPF for my application.

Thanks,
Mark
Mark
Top achievements
Rank 1
 answered on 30 Nov 2010
2 answers
138 views
Hi,

I have couple of things about the RadGridView in particular. I have created a Radgidview in following way:-

        <UserControl x:Class="MySampleClass"
            
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
              mc:Ignorable="d"
              d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <telerik:RadGridView Grid.Column="0" Grid.Row="0"
                             x:Name="MainGridView"
                             ItemsSource="{Binding Path=MetricsData}"
                             AutoGenerateColumns="False" CanUserDeleteRows="False" CanUserInsertRows="False" ShowGroupPanel="False" RowIndicatorVisibility="Visible" SelectionMode="Extended" SelectionUnit="Cell"
                             IsFilteringAllowed="False"
                             SelectedCellsChanged="MainGridView_SelectedCellsChanged">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn Header="ColA" Name="Mkt" DataMemberBinding="{Binding Path=Market, Mode=OneWay}" IsResizable="False" IsSortable="False" IsReadOnly="True" />
                <telerik:GridViewDataColumn Header="ColB" Name="SiD" DataMemberBinding="{Binding Path=Sub1, Mode=OneWay}" IsResizable="False" IsSortable="False" IsReadOnly="True" />
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
    </Grid>
</UserControl>

This user control resides inside a ScrollViewer(which is inside a GroupBox) in the topmost Page.

The first thing is when I access column name using GridViewCellInfo.Column.UniqueName in code-behind, it returns the string from Binding Path, I was expecting the value from the header name. Is there any way to get the header value or name element.

Other thing, when the radgridview contains many elements and scrolled down, I want the header row to be fixed and only its contained elements to be scrolled. How can I achieve this.

When a mouse rollover occurs over some particular elements of RadgidView, I want to change the visibility of them as hyperlinks(some underline bar appears and color changes to blue) to show that these elements are clickable (I am handling Selected event). Is there any property over some column that I set.

Thanks,
Mark
Mark
Top achievements
Rank 1
 answered on 30 Nov 2010
1 answer
151 views
Hi team,

I need to disable arrow button in radtoolstrip.
when ever i make it as float dialog i need to disable it.

Thanks
suresh
Ivan Todorov
Telerik team
 answered on 30 Nov 2010
2 answers
330 views
I have a xml file i need to databind to a DropDownList, the xml looks like this

<Category>
    <ID=1/>
    <Title=Main/>
    <ParrentID=0/>
</Category>
<Category>
    <ID=2/>
    <Title=Sub of Main/>
    <ParrentID=1/>
</Category>
<Category>
    <ID=3/>
    <Title=Level 3/>
    <ParrentID=2/>
</Category>
<Category>
    <ID=4/>
    <Title=Main 2/>
    <ParrentID=0/>
</Category>

is it possible to have the DropDownLost display it like this

Main 1
    Sub of Main
        Level 3
Main 2
Richard Slade
Top achievements
Rank 2
 answered on 30 Nov 2010
5 answers
262 views
Group Summaries:
I dont know if anyone has suggested it yet or even if it is possible to do it right now, but I would like the user to be able to right-click on the columns group summary and select from a context menu what he/she would like to see (Sum,Min,Max,Average, etc) for that column.

I've attacked an example of what i'm trying to describe.

Column Group Views:
I would also like to suggest an ability to use the column chooser and to drag an entire group from the grid to the column chooser window, this would allow the user to quickly add/remove entire groups from the gridview.

If any of this is currently possible, i would really like to know how I can achieve any of these.

Thank You.
Richard Slade
Top achievements
Rank 2
 answered on 30 Nov 2010
1 answer
338 views
Hi,

  I'm trying to figure out a good way to dock a form onto an MDI Parent RadDock from a child form.  The method I have been using is as follows:

Dim dockOpen As Integer = 0

For Each checkdoc As DockWindow In RadDock1.DockWindows.DocumentWindows
      If checkdoc.Name = "NameofForm1" Then
                  dockOpen = 1
      End If
Next

If dockOpen = 0 Then
    'Open Form
    Dim OpenForm As new NameofForm()
    OpenForm.Text = "Form Title"
    RadDock1.DockControl(OpenForm, UI.Docking.DockPosition.Fill, UI.Docking.DockType.Document)

    Dim dockable As DockWindow = GetDockableByName("NameofForm1")
    If Not dockable Is Nothing Then
        Me.RadDock1.ActiveWindow = dockable
    End If
Else
    Dim dockable As DockWindow = GetDockableByName("NameofForm1")
    If Not dockable Is Nothing Then
        Me.RadDock1.ActiveWindow = dockable
    End If
End If

This works fine when I call it from within my MDI Parent form.  The problem is from my Child Form I can't see 'RadDock1' or 'GetDockableByName'.  Can anyone help me out?

Thanks,
Will
William Willson
Top achievements
Rank 1
 answered on 30 Nov 2010
2 answers
374 views
Private Sub TelricGridViewFormat()

        Dim textBoxColumn As New GridViewTextBoxColumn()
        With RadGridView1
            textBoxColumn.Name = "TextBoxColumn"
            textBoxColumn.HeaderText = "Item"
            textBoxColumn.FieldName = "DLC"
            textBoxColumn.MaxLength = 50
            textBoxColumn.TextAlignment = ContentAlignment.BottomRight
            RadGridView1.MasterTemplate.Columns.Add(textBoxColumn)
        End With
    End Sub

Type 'GridViewTextBoxColumn' is not defined error show on line one.
Emanuel Varga
Top achievements
Rank 1
 answered on 29 Nov 2010
3 answers
238 views
Good Day/Evening,

I've been using the new CommandBar which looks awesome I think but I have a problem with the CommandBarTextbox, I've put the CommandBarTextbox in the CommandBar and added the following code below but the events do not get hit at all. Any help would be much appreciated.

Public Sub New()
 
    ' This call is required by the designer.
    InitializeComponent()
 
    ' Add any initialization after the InitializeComponent() call.
    AddHandler txtMyCommandTextBox.KeyDown, AddressOf txtMyCommandTextBox_KeyDown
    AddHandler txtMyCommandTextBox.KeyPress, AddressOf txtMyCommandTextBox_KeyPress
    AddHandler txtMyCommandTextBox.KeyUp, AddressOf txtMyCommandTextBox_KeyUp
 
End Sub
 
Private Sub txtMyCommandTextBox_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs)
    RadMessageBox.Show(e.KeyCode)
End Sub
 
Private Sub txtMyCommandTextBox_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs)
    RadMessageBox.Show(e.KeyChar)
End Sub
 
Private Sub txtMyCommandTextBox_KeyUp(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs)
    RadMessageBox.Show(e.KeyCode)
End Sub
Richard Slade
Top achievements
Rank 2
 answered on 29 Nov 2010
2 answers
160 views
HI ,
I am using in my winform app (Version Telerik Q3) in your Defult (Black Office And Windows 7)Theam And Whan i Run The app on Win Xp all lables are dissapre ,
when i Modify the Window Color Scheme To Silver The Lables Are Appering -On WIndow 7 Or Xp The Problome Dont Exist
THX
Ivan Petrov
Telerik team
 answered on 29 Nov 2010
1 answer
148 views
Hello how are you ?

as I can fill a RadMultiColumnComboBox1 with Linq, I do DataTable and all goes well but I can not do linq. Anyone can help me?

Thankyou.

hdello how are you,

asd
Nikolay
Telerik team
 answered on 29 Nov 2010
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?