Telerik Forums
UI for WinForms Forum
1 answer
118 views

I've added a custom toolbox shape using information from this thread. http://www.telerik.com/forums/how-to-custom-a-diagramtoolbox-item

But in my toolbox, the Key value is displayed as the label way below the actual shape. See toolbox.jpg. It must be to do with the bounds, but how do I set them?

In my override of ElementShape.CreatePath, where do the values for bounds come from? (see bounds.jpg).

 

Valentino
Top achievements
Rank 1
 answered on 24 Aug 2017
4 answers
97 views

I can't get to the custom shape editor as described in the docs, because my properties are different from what you show. I've attached a pic of what I see which is different from what is shown  here.

 

Thanks

 

Valentino
Top achievements
Rank 1
 answered on 23 Aug 2017
3 answers
85 views

Hello Telerik team,

I have read on the documentation that the ChartView support null values on series but only by drawing a blank point. It's a good idean on some chart type but on line series the result is just unusable most of time.

Is there a way to have the same behavior than Microsoft Excel, which just drop these null points, and draw a continus line between two points ?

Best regards

Marco

Dimitar
Telerik team
 answered on 23 Aug 2017
3 answers
678 views
I'm using a RadListView with custom items. The custom item has a stacklayoutpanel with horizontal orientation. The stackLayoutPanel contains 2 images then some text then another image, as per the attached screenshot. I'd like to lay things out so that the red cross image is always at the far right of the listview, with empty space between the text and the red cross. The listview is anchored so that if the form is resized, the listview resizes with it and I'd like the red cross to adjust itself so it's always at the far right when the listview is resized. How do I achieve this?
Dimitar
Telerik team
 answered on 23 Aug 2017
8 answers
186 views

Dear Support Team

I need to sync position and width for two RadCartesianChart's considering multiple axes.

Please see attached image, the vertical axes to first and second chart start unsynchronized.

How can we solve this issue?

Thanks in advance!

Best regards,

Henrique

Dimitar
Telerik team
 answered on 23 Aug 2017
3 answers
93 views

Initially I was able to export RadGridView contents to a .csv file but now am getting an error (see attached).

It seems like my assemblies (TelerikData.dll vs the gridview dll) are mismatched?  What can I do to resolve this?

 

 

Dimitar
Telerik team
 answered on 22 Aug 2017
3 answers
613 views

I've searched like crazy and just can't seem to find an answer to this. I have a RadGridView, which has a sort order set with a SortDescriptor. This works perfectly. However, I don't want the user to be able to change the sort order. I don't see an obvious way to achieve this.

I tried the answer here: http://www.telerik.com/forums/radgridview-and-sort#HOkVZJ4q4UqUdzg5ZW-sgg in that I overrode the Header Cells. I don't have anything in OnMouseUp, just like the example, but sorting was still allowed to occur.

I then tried overriding the Sort event, which worked, with a caveat. Here's the code I have now:

private void ingredientsGridView_CreateCell(object sender, GridViewCreateCellEventArgs e)
{
    if (e.CellType == typeof(GridHeaderCellElement))
    {
        e.CellType = typeof(MyHeaderCell);
    }
}
 
 
public class MyHeaderCell : GridHeaderCellElement
{
    public MyHeaderCell(GridViewColumn column, GridRowElement row)
        : base(column, row)
    { }
 
    protected override Type ThemeEffectiveType
    {
        get { return typeof(GridHeaderCellElement); }
    }
 
    //protected override void OnMouseUp(MouseEventArgs e)
    //{
    //    //base.OnMouseUp(e);
    //    //MessageBox.Show("Nope");
    //}
 
    public override void Sort(RadSortOrder sortOrder)
    {
        //base.Sort(sortOrder);
    }
}

 

As I stated, this works, but the caveat is that the user still sees options to sort in the context menu, etc. Is there a better way to achieve what I want, allowing sorting in code but keeping the user from sorting?

Thanks

Dimitar
Telerik team
 answered on 22 Aug 2017
3 answers
142 views

Hello Telerik team,

my name is Steve, I’m new to your UI for WinForm controls, and to your forum.
I’m currently the controls for my company, and got 3 (long) questions I like to ask you.

So far me and my colleges like what I could find out about using the Controls. The UI
Winform demo program made also a very positive impression to my supervisor.

We are likely to get a license, but requested to find a solution to my questions first.

Question 1:
I like to know why there is a rad control replacement for the Winform Form class, but
no replacement for the Winform Usercontrol Class. Can I use normal Usercontrol classes
for making user controls, and still have full Telerik UI support? Or is something replacing
the Winform usercontrols and I just havent found it yet?

Question 2:
In Winforms I have the problem that Trackbar Sliders can not be used as soon the Touch Gestures are enabled.
I saw that I do not have this problem when I do the same only using Telerik UI controls.

My question here is: Is the problem that exists in WinForms, known to Telerik, and Telerik
found a solution to the Slider problem? Or is it just something weird that only happens on my PC?

To understand best what my slider problem is I made this demo application:
https://www.dropbox.com/s/pdxhza8hh5ximek/Touch_Example.zip?dl=0
The test program has 2 forms, one enables gestures following Mircosoft’s example code
for Windows Touch (source Windows 7 SDK example projects). The other form does not
enable the gestures. Both forms have a trackbar slider in it.
On the form where gestures are on, its impossible to move the slider button via touch.
On the form that does not enable gestures, it is possible without any kind of problems.

Question 3:
I want to create a image list control that supports touch panning left and rigth.
The control holds for example 30 images, only 5 of them are seen. To see the remaing 25
images the user would pan left or right to move forward or backward in the image list.

I create this kind of control by using the ListView control and its LargeImageList component.
I made a example project that shows it:
https://www.dropbox.com/s/agx2e3ck4pb2x2e/Picture_Slider_with_Touch_demo.zip?dl=0

I tried to recreate the control by using Teleriks Rad ListView control. So far I managed it to
load and display my images in the list. What I fail to do are 2 things:
1. The controls lists the images in a vertical list (pan up and down to move in it).
I haven’t found a way to make the list horizontal (so I can pan left and right).
2. The list automatical creates several rows by itself. I have not figured out how to
force the control to just display a single row of images.

I uploaded what I made got so far as well under this link:
https://www.dropbox.com/s/qo86k6vr99okgz2/Telerik_Listview_Test.zip?dl=0

To successfully replicate the image list as in my Picture Slider demo I have this questions:
1. Is the Rad ListView control the right control to make a image slider list? Or do you
suggest to use a different control to display a image gallery in a win form.
2. To populate the list I have to load all images to memory at start. This approach anyhow
can become very memory consuming, if I have to load many pictures. Does any Telerik UI
Control support a better approach, where I have not to load all images at start?

All 3 example projects are C# .NET 3.5 created in Visual Studio 2010. Zipped as a Archive
and uploaded to my dropbox, so I can share a download link with you.

I thank for any kind of answer in advance. And I’m sorry for the length of my questions.
English is not my native language.


Thank you for your time in advance and kind regards
~Steve

Hristo
Telerik team
 answered on 21 Aug 2017
3 answers
149 views

hi, daer..

in the case of using Auto Generate Hierarchy of Grid View if the first record of the partent table has not related record in child's table, grid view can not load other parent child's records.

 For example, as shown in the picture (01.png), I have 4 tables. 

The Patient table is Parent and 3 other are children (one to many relations). Now if the first record of the Patient table that retrieves to grid data source has no related record in 3 other tables, the grid does not display child's records for other parent table records. shown in picture 02.png.

I'm using .net 4.7 and UI For  WinForms 2017_2_613

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Aug 2017
1 answer
248 views

Hi ,

  Is there is any way to export radgridview to XLSX and CSV in .NET framework 3.5, VS 2008, C# language and in winform. Please let me know if there is any way to do it.

 

Regards

Harsha D

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Aug 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)
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?