Telerik Forums
UI for WinForms Forum
3 answers
276 views

Hi. 

I have a class that has other classes as property in it.
I want to create a list from this class and display the list in the grid (as in the attached excel example).
Which tool should I use?

The "Incentive" class I want to use.

namespace Models.Domain
{
    public class Incentive
    {
        public string Tckn { get; set; } = string.Empty;
        public Ysys Ysys { get; set; } = new Ysys();
        public Abyob Aybob { get; set; } = new Abyob();
        public Oybyu Oybyu { get; set; } = new Oybyu();
        public Yybyu Yybyu { get; set; } = new Yybyu();
        public Yuoa Yuoa { get; set; } = new Yuoa();
        public Uidd Uidd { get; set; } = new Uidd();
    }
    public class Kanunlar 
    {
        public string ts { get; set; } = string.Empty;
        public string ios { get; set; } = "0";
    }
    public class Ysys : Kanunlar { } // 2828
    public class Abyob : Kanunlar { } //6111
    public class Oybyu : Kanunlar { } // 17103
    public class Yybyu : Kanunlar { } // 27103
    public class Yuoa : Kanunlar { } // 7316
    public class Uidd : Kanunlar { } // 3294
}

I want to create a view like this in GridView:

Can I do this with GridView or is there another tool I can use? Thank you in advance for your help.

 

özer
Top achievements
Rank 2
Veteran
Iron
 answered on 04 Jun 2022
1 answer
111 views

Hello, I just have a simple question is it possible to remove the expand arrow? I just want the group to always display all the items without the option to collapse. Also, I have some items which are not in a group because the column they are grouped by is empty. Is it possible to hide the group area for these? 

 

 

 

Thank you

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 Jun 2022
1 answer
648 views

Hi,

I suspect this is not possible but thought I'd ask just in case.

Say in the syntax editor we have all the coloring going on desired. Is it possible to programmatically copy the selected text that can then be pasted into other richtexteditors keeping the formatting?

Best example of this I can think of is with Microsoft sql management studio - if you copy a query into an email or word it keeps the same coloring and formatting.
It can also be done with the standard winform richtextedit:

Clipboard.SetText(myRichTextBox.Rtf, TextDataFormat.Rtf);

Then pasting that into another richtextbox or email or even word, will maintain all the formatting.

I did try the above with GetSelectedText() but that was a no go.

Regards

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Jun 2022
1 answer
172 views

Hello!

Is it possible to have a radDock with several tabbed DocumentWindows where the user is only allowed to "Float" these Documents and can ONLY dock them back on the original DocumentContainer?  Meaning the User is not allowed to Dock a floating window inside another one of these DocumentWindows?

All but one DocumentWindow is created dynamically - so I should be able to set each window as needed i'm just stuck on what those settings are!

Any help you can provide would be great!

Kindest regards,

Curtis.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 Jun 2022
1 answer
271 views

Hi Support,

 

Now I added new usercontrol but all of item font too small. And not the same like the existing item. Please see below pic. Blue circle is new add items but why font size is small?

 

 

 

Thanks,

Moeu

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 Jun 2022
1 answer
266 views

hi

1-one columns(date) in grid view by formatinfo(fa-ir, yyyy, Mm, dd) view in run application

But Column date the output is in English

2-cell border  How it's set

3-what not show row number set by cell formatting in expory excel?

4--in pdf export rtl language not suport?

Dinko | Tech Support Engineer
Telerik team
 answered on 01 Jun 2022
1 answer
389 views

Hi,

Is it possible to export radgridview (with grouped columns) to .XML format?

 

Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 31 May 2022
1 answer
144 views

Hi,

I'm having issues with the ribbon bar title bar when swapping my application between an HD monitor and 4K monitor

This is what is the title bar looks like on the 4K monitor

 

and this is what it looks like after dragging the application to the HD montior

 

Any ideas what might be causing this and a possible workaround or solution ?

I'm using the window 7 theme if that matters as well as .Net 4.7.2 and the latest version on Telerik Winforms.

Kind regards

Toby

 

 

 

Stoyan
Telerik team
 answered on 30 May 2022
1 answer
277 views

Hi 

I am developing winform project in vb.net sometime i checked answers in forum written in c#  but same sample does not work in vb.net

Now i am facing problem radgridview cellvaluechanged in master detail scenario

C#

  private void radGridView1_CellValueChanged(object sender, GridViewCellEventArgs e)
        {
            if (e.Column.OwnerTemplate != radGridView1.MasterTemplate && e.ColumnIndex == 3)
            {
                EvaluateTotal((GridViewRowInfo)e.Row.Parent);
            }
        }

vb.net

  Private Sub rdgvPendingRpt_CellValueChanged(sender As Object, e As GridViewCellEventArgs) Handles rdgvPendingRpt.CellValueChanged
        If e.ColumnIndex = 3 AndAlso e.Column.OwnerTemplate <> rdgvPendingRpt Then
            EvaluateTotal(CType(e.Row.Parent, GridViewRowInfo))
        End If
    End Sub

Error  Operator '<>' is not defined for types 'GridViewTemplate' and 'RadGridView'.

it giving me error in above line. I am attaching screenshot for same.  

Kindly do the needful

Regards

Nandan Navale

 

 

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 May 2022
1 answer
103 views
i am adding a radgridviewelemnt to the childrens of a StackLayoutElement but i didnt find a way to add rows or columns w bind data to the radgridviewelemnt
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 May 2022
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
ProgressBar
CheckedDropDownList
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
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?