Telerik Forums
UI for WinForms Forum
1 answer
388 views

Hi,

I have two collapsible panels on top of each other.They both have a datagrid inside.

No matter what I do I cant get them to resize accordingly to row count/datagridsize.

What is the best way to go to achieve auto resizing with datagrids also resizing?

 

 

 

Nadya | Tech Support Engineer
Telerik team
 answered on 07 Apr 2020
3 answers
385 views

in c# winforms 

Conversational UI, Chat, i can't add user to chatting with them ?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Apr 2020
7 answers
272 views

Hi,

I have discover the Self-Reference Feature of the Gridview with the "file explorer" demo. It is looking pretty nice but I have a critical need about it.

 

How could I adapt the Drag Drop functionality of the GridView to drop a row into another row and not only before or after (like drag and drop in treeview) ?

 

Of course I'm open to any alternative way for moving rows through the hierarchy.

 

Thank you for your consideration

Marco Guignard

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Apr 2020
4 answers
421 views

Hello

I'm trying to use a RadMaskedEditBox control with MaskType.Regex. And I want to be able to use more than 1 pattern for correct validating. I have those two patterns:

^[0-9]{6} [A-Z]{4} [0-9]{7}$
^[0-9]{5}$

I change those two patterns to one pattern like this:

^[0-9]{6} [A-Z]{4} [0-9]{7}$|^[0-9]{5}$

If I set the MaskType and Mask properties in designer, the control gets validated correct. But if I set those two properties programmatically (e.g. on form load), it is not validated correct. I can't type in five digits when setting the properties programmatically. Both patterns are exactly the same (also in debugger).

So I'm very confused now why it works in designer but not programmatically. I use this two lines of code in form load event:

radMaskedEditBox1.MaskType = MaskType.Regex;
radMaskedEditBox1.Mask = "^[0-9]{6} [A-Z]{4} [0-9]{7}$|^[0-9]{5}$";

The first pattern (before pipe character) can be validated, but not the second one. The second one can only be validated if I set the properties in designer.

Do you have any suggestions? Do I have to remember something?

Regards,
Danilo

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Apr 2020
1 answer
97 views

I am loading a Gridview in unbound mode to create  hierarchy. I followed the article and leaving all grid properties set to defaults, I can successfully create the hierarchical relationship and it will display. Then I start setting properties to tailor the grid. Note I am trying to create a "toolbox" like view where summary information about a tool is the top level, then clicking it exposes more information. This means the result is something that is not "grid looking per se.

Anyhow as I start removing grid features - grouping, etc. at some point I hit a property that prevents the child from displaying; but I don't know which one(s)

Is there a list of properties that cannot be set to false ?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Apr 2020
4 answers
141 views

Hi everyone, i need some ideas. Currently I implement print screen into my project. So print button will print all the content in my page. I set up all the content in one panel which is 'mainPanel'. In my 'mainPanel' there have gridview. How can I hide this gridview when I print screen the page? Here I attach the image for the page.

 

Thank you.

fazera
Top achievements
Rank 1
 answered on 06 Apr 2020
2 answers
299 views

Hello

I have a Droddownlist that is populated with a datasource that contains a liste of objects that has 5 properties; I set thedisplaymember and valuemember to two properties ("Description" and "ItemCode") of the object.

Immediately after assigning the datasource a "selectedIndexChanged" event is fired; at this point I have in the selectedvalue property the object of index 0 of the datasource, therefore I can access to the valuemember by "selectedValue.ItemCode"

When, later, the user selects an item in the dropdownliste, the selectedindex is fired, the "selectedItemValue" contains the property "itemcode" of the selected item and not the selected object

Consequently I dont know how to get access to the "itemCode" property in the selectedIndex event, if I use .SelectedValue.itemcode it works after the loading but fails when the user selects an item; and if I use SelectedValue the code fails immediately after databinding

Thanks in advance for your advice

Pierre-Jean

 

pierre-jean
Top achievements
Rank 1
Veteran
Iron
 answered on 06 Apr 2020
3 answers
201 views

Is there anyway to make label in the Aggregates area more uniformly legible?

My PivotGrid has a lot of column to display.
 I make some changes: 
 
PivotAggregateDescriptorContainer pivotAggregateDescriptorsAreaContainer = radPivotGrid.PivotGridElement.AggregateDescriptorsArea;
pivotAggregateDescriptorsAreaContainer.FixedItemSize = true;

And implement method:
void radPivotGrid_AggregateDescriptorElementCreating(object sender, AggregateDescriptorElementCreatingEventArgs e)
{
    PivotAggregateDescriptorElement aggregateElement = e.AggregateDescriptorElement;
    aggregateElement.TextWrap = true;
    aggregateElement.DrawFill = false;
}

The issue is that PivotAggregateDescriptorContainer  overlap PivotColumnDescriptorContainer, It doesn't see "Aggregates" label.

Please help

Thank you.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Apr 2020
2 answers
116 views

Hi, very basic question for noob, I searched & tried to find someone just doing a basic gridview row save...thing

I have a RadGridView bound to a  SQL database

I am wondering what the generally accepted method is, of updating a row to the database?

A button to fire off an update statement?

 

Thanks,

Rich

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 Apr 2020
1 answer
187 views

Greetings,

Is there any StartMenu event such as clicking event to control?

As it isn't considered a ribbonbar's tab, it can not be controlled using tab events.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 Apr 2020
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
CollapsiblePanel
TextBoxControl
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
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
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
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?