Telerik Forums
UI for WinForms Forum
17 answers
1.2K+ views
Hi,

I need something similar to your Silverlight/WPF RadSlider but for WinForms..

Is it possible to have multiple sliders on your WinForms RadTrackBar or do I need to put a wrapper around your WPF Slider?

Thanks,
Brad
Dimitar
Telerik team
 answered on 31 Jul 2017
0 answers
145 views

I'm using GridView in Telerik 2017.2

CellFormatting event doesn't firing when my GridView is Updating:

myGrid.TableElement.Update(GridUINotifyAction.StateChanged);

when i'm changing my DataSource:

myGrid.DataSource = currentRaces;

but RowFormatting is firing on this events. What can i do? I need to change color of my cells!

 

Nickolay
Top achievements
Rank 1
 asked on 31 Jul 2017
0 answers
99 views

Hi,

I have a gridview with a child template (X) and another template (Y) into the child template (X) and have a decimal column in (Y).

I want to SUM the decimal column in (Y) into a cell of parent row in (X).

Thanks,,,

Ahmed
Top achievements
Rank 1
 asked on 29 Jul 2017
4 answers
128 views

The article here shows how to save state, but it fires them on manual changes, I am trying to detect when this repopulation is going to happen, I have other events unrelated to the UI that are changing the state of the object the treeview is bound to. and would like to be able to detect when that happens. 

http://docs.telerik.com/devtools/winforms/treeview/how-to/keep-radtreeview-states-on-reset

the overarching goal here, is to prevent the tree expanded state from resetting when the tree bound data is updated off the control.

Dimitar
Telerik team
 answered on 28 Jul 2017
0 answers
116 views
Hello
Why is there an empty txt in the selection of items?
k
Top achievements
Rank 1
 asked on 27 Jul 2017
7 answers
196 views
I have a treeview bound to a binding list, and I have noticed that when I add items to the binding list with a negative number (other than -1) as the parent ID, the treeview control clears out and shows just that node.  Does anyone know why this might be happening?  Thanks!
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Jul 2017
1 answer
118 views

If have a panorama on a form 

 

have groups in them with sections like 

Actions

-->tileCustomers

-->tileSuppliers

...

Settings

Maintenance

...

 

 

And a panorama2 called

 

having a group called Actions containing tiles of 

 

Add customer / edit customer etc.

 

 

want to show() when someone clicks on tile of  () panorama.

like a simple show/hide forms.

if hide() panorama1 and show()  it work as soon as hide panorama1 all is hidden.

 

Is there a simpler way of doing

 

basically trying to make a tile menu system where each menu has multiple sub menus, but not show all at once.

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Jul 2017
9 answers
504 views
Hi i need this add new column which by set by another column for example

id text value new column
1 test1 yes combobox
2 test2 no button

so for one row is new column radcombobox ane for second row radbutton.
thx for help.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Jul 2017
5 answers
373 views
Hi,

I work with radGridView and color some cells according to the option set by user. So I created a function to color/uncolor cell of the grid. Bellow the fonction to reset the color of the (second columns of the) grid :

private bool ResetCellsColor(RadGridView radGridView)
{
    Boolean ret = true;
 
    try
    {
        GridViewColumn gvc = null;
         
        if (radGridView.Columns.Count > 2)
        {
            gvc = radGridView.Columns[2] as GridViewColumn;
        }
 
        if (gvc == null)
        {
            ret = false;
        }
        else
        {
            for (int i = 0; i < radGridView.Rows.Count; i++)
            {
                if (radGridView.Rows[i].IsVisible)
                {
                    GridViewRowInfo gvri = radGridView.GridElement.GridViewInfo.Rows[i] as GridViewRowInfo;
                    if (gvri == null)
                    {
                        ret = false;
                        continue;
                    }
 
                    GridCellElement gce = radGridView.TableElement.GetCellElement(gvri, gvc) as GridCellElement;
                                                 
                    if (gce != null)
                    {
                        gce.ResetValue(VisualElement.ForeColorProperty);
                        gce.ResetValue(VisualElement.FontProperty);
                        gce.DrawFill = false;
                    }
                    else
                    {
                        ret = false;
                    }
                }
            }
        }
    }
    catch{ ret = false; }
     
    return ret;
}


This function work well in most of cases, but when I delete (all) the rows of my grid and add new ones and then call this function again, that doesn't work : the GridCellElement returns null. If I give the control to the user and then call again the function, it will work.
In my case, it works for the 4 first line of my radGridView (that contains 15 rows). All the rows are threated the same way and the Value of all cells are defined and accessible.

It seems that the source of the problem is in the radGridView.TableElement.VisualRows where some items are missing. They are only four element (instead of 15) in VisualRows object.

Do you have an idea to how solve the problem ?


Best regards,

Georges DE VOS.




Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Jul 2017
3 answers
185 views

Is there any way to detect/is there an event raised when a user cancels an insert?

When the user clicks to enter data on the new row, pressing escape twice or clicking off the row twice cancels the insert and reinstates the "click here to enter a new row" banner.

 

Is there anyway to detect when this happens?

 

I am trapping when a user starts an insert, and also trapping the AddedNew event to detect when the user completes an insert but also need to know when they choose to cancel one.

Many thanks,

Mark

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Jul 2017
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?