Telerik Forums
UI for WinForms Forum
1 answer
187 views
Hey all,

Is there any property or other way to display the tabs in a RadPageView on multiple lines?  The application I'm developing has about 12 tabs on one screen, and need the user to be aware of what's there without having the tabs scroll off the screen.

Thanks!
Ivan Todorov
Telerik team
 answered on 23 Mar 2011
4 answers
436 views

Hi,

I just want my user to to select a node and then use a button (up or down) to move in the treeview.  I have seen example but they related to ASP.Net.  I would like to do the same in WinForm.

I also tried using the radListbox and achived the desired functionality of moving Up and Down. However  with radListbox  I have different problem.  The problem is, I want users to check and uncheck an item in the list.  I can not figure out how I make radListbox items to appear with check box.

Any help in above to problem will be highly appreciated.


Stefan
Telerik team
 answered on 23 Mar 2011
4 answers
230 views
Hi,
I am binding a treeview to a datatable.
The treeview has self-referencing data. And it loads correctly and shows correctly.

The problem I am having is this. Once the data is reloaded, I want to select the node that was selected already. So I need to use the Find method and make the node selected,

However, I read that the Find Method uses the Name Property to match the search term, but it seems like the Name Property is not populated when bound to a datasource.

Do you suggest a way to overcome this problem?

Thanks,
Kris
Stefan
Telerik team
 answered on 23 Mar 2011
8 answers
414 views
I want to build a RadTree with a Context Menu using a windows forms application. Can you please point me to some code samples/sample application?
I found the online demos for the ASP.Net RadTree, but did not see any samples for their windows counterpart.

Thank you.
Stefan
Telerik team
 answered on 23 Mar 2011
1 answer
81 views
Hi,
I am just playing and learning at the moment, so sorry for the most basic of questions.

I have a table that I set as the datasource of the chart, its only one series and the data displays fine, however I want one of my column in the table to show in the legend.

For example my datatable contains the following data in de creasing qty order

'Item'   ,    'qty'
ABC          42
DEF          33
GHI           28
JKL           12

In my chart, it shows the qty field, and puts in the legend box, the label Qty, and matches the color of the series to a small dot to its left.

However what I want to show is the list of items where the legend is. In the example above the items are just 3 char in length, where as in my actual app the items are long medical drug names, so they can't go below the chart for each bar....

Hope that makes sense ...

Evgenia
Telerik team
 answered on 23 Mar 2011
3 answers
131 views
I've noticed a discrepancy when using the PropertyChanged event on the RadTreeNode and listening for the Selected property name.

The property name value that comes through is "IsSelected", not the actual name of the Selected property. Is there a reason for this?

Simple way to see, add one node to a treeview and a handler for the PropertyChanged event on the node.
Select the node and you'll see "IsSelected" as the propertyName in the PropertyChangedEventArgs.

This caused an issue when I'm using reflection to determine property names with changes and will break a lot of data binding scenarios when you're not using specific strings.
Richard Slade
Top achievements
Rank 2
 answered on 23 Mar 2011
3 answers
134 views
Hi , i have a radgrid populated with a dataset:
Dataset.DS.PianificazioneDataTable dt = new Dataset.DS.PianificazioneDataTable();
  
row["Base"] = item.OFATH;
dt.Rows.Add(row);
  
rgvPianificazione.DataSource = dt;

now when i scroll down the grid, it takes 1/2 seconds to load the next row ( i have many columns...)
is it possible, to load the entire dataset, so the scroll should be immediately

thank in advantage
Jack
Telerik team
 answered on 23 Mar 2011
6 answers
253 views
Hello,

We are using the telerik MultiColumn ComboBox for an application that will be run by most users thru a remote connection.  Our network bandwidth is limited and we are finding that the fade animations of the gridview portion are making the UI very sluggish.  We are using the Control Default theme for now and do not want to have to disable theming completely to remove the animations.  Is there a way to remove the animation effects for the control but still keep the rest of the theme styling?

Thanks!
Jack
Telerik team
 answered on 23 Mar 2011
2 answers
606 views
Hi,
I have a simple databound grid (grdPermissions) that has one "tinyint" column with possible values of 0, 1, or 2, which stand for Deny, Grant, or Not Set correspondingly.  This column is being added as a GridViewComboBoxColumn and bound to a List as shown in the code below.  The problem is that when the grid is bound and the data displayed, the combobox does not display its data until clicked with the mouse.  The combobox seems to have the correct value set, but shows nothing until clicked.  Also, once the combobox is closed the cell returns to showing nothing.  You can see the behaviour in the attached images; image1 shows the initial display of the grid, image2 shows how the cell displays the value when clicked, image3 shows the cell in another row displays its value but the previously selected combobox in the row above now displays no data.
What might I be doing wrong?

'**** BEGIN CODE ****
Imports Telerik.WinControls.UI
Imports System.Data
Imports System.Data.SqlClient

Public Class frmGroupPerms
    Private Sub somefunction()
        '** the GetGroupPermissions() function retrieves a table with the
        '** following columns
        '**    GroupID  int,
        '**    Name  nvarchar(255),
        '**    Description  nvarchar(255),
        '**    AppPermissionType  nvarchar(30),
        '**    PermValue  tinyint - can be 0, 1, or 2
       
        Dim _groupPermissions As DataTable = GetGroupPermissions(_groupId)
        _ConfigureGrid()
        grdPermissions.DataSource = _groupPermissions
    End Sub

    Private Sub _ConfigureGrid()
        Dim _perms As List(Of ComboItem) = New List(Of ComboItem)
        _perms.Add(New ComboItem(0, "Deny"))
        _perms.Add(New ComboItem(1, "Grant"))
        _perms.Add(New ComboItem(2, "Not Set"))

        Me.grdPermissions.AutoGenerateColumns = False
        Me.grdPermissions.Columns.Clear()
        Me.grdPermissions.Columns.Add(New GridViewTextBoxColumn("GroupId"))
        Me.grdPermissions.Columns.Add(New GridViewTextBoxColumn("Name"))
        Me.grdPermissions.Columns.Add(New GridViewTextBoxColumn("Description"))
        Me.grdPermissions.Columns.Add(New GridViewTextBoxColumn("AppPermissionType"))
        Dim _cmb As New GridViewComboBoxColumn()
        _cmb.Width = 150
        _cmb.Name = "PermValue"
        _cmb.FieldName = "PermValue"
        _cmb.HeaderText = "Permission"
        _cmb.DataSource = _perms
        _cmb.ValueMember = "ItemValue"
        _cmb.DisplayMember = "ItemText"
        Me.grdPermissions.Columns.Add(_cmb)
    End Sub

    Private Sub grdPermissions_DataBindingComplete(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.GridViewBindingCompleteEventArgs) Handles grdPermissions.DataBindingComplete
        grdPermissions.MasterTemplate.Columns("GroupId").IsVisible = False
        grdPermissions.MasterTemplate.Columns("Name").Width = 150
        grdPermissions.MasterTemplate.Columns("Description").Width = 150
        grdPermissions.MasterTemplate.Columns("AppPermissionType").Width = 200
    End Sub
End Class

Friend Class ComboItem
    Public Property ItemText As String
    Public Property ItemValue() As Short

    ''' <summary>
    ''' Initializes a new instance of the ComboItem class.
    ''' </summary>
    ''' <param name="itemValue"></param>
    ''' <param name="itemText"></param>
    Public Sub New(ByVal itemValue As Short, ByVal itemText As String)
        Me.ItemValue = itemValue
        Me.ItemText = itemText
    End Sub
End Class
'**** END CODE ****
Stefan
Telerik team
 answered on 23 Mar 2011
7 answers
214 views
Hello.

I have following situation: I have two grids and I need to some synchronize rows between them.
Synchronization implemented by sorting rows by some field, say syncId: if two rows must be synchronized
then I find the  highest syncId, increase it and assign to them. So the new synchronized rows is moved to
the top of grid. When I  add new rows (AddNewRowPosition = Bottom) there are blinking because it first tries to sort  new added row.
And also there is problem when removing rows when sorting is enabled - it select not the next row before deleted, but jumps higher,
beacuse added rows have the same syncId, say  -1, and when I delete one of the rows it jumps to the first row with syncId = -1. Not very good for usability. So is there any mechanism to suppress sorting while adding and removing rows.

Any thoughts?
Julian Benkov
Telerik team
 answered on 23 Mar 2011
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
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?