Telerik Forums
UI for WinForms Forum
4 answers
126 views

Hi. I want to display a gridview almost identical to the way it's displayed in the demo. I've spent hours trying to compare files but I still can't get the same behaviour.

I do have a couple of changes that I want.

There's only 3 columns in the datasource. CreationDate (datetime a record was created), ResultString (a string displaying a pass fail result), and a calculated column Date, which is the field I want to group on, which is just the date portion of CreationDate.

1) I want the grid to be set up grouped on the Date column automatically, as you've done with the City column in the demo. But I don't want the user to see the Grouping bar, or the Date column in the grid as it's only there for grouping purposes.

2) I can't see how the demo app gets the "City" button in the grouping bar. I can't emulate that at all. How is that done please? And can all that be hidden?

3) Another problem is formatting. If I show the Date column, the values in that column format correcty e.g. "01/02/2017", just showing short date with no time. But if I drag the Date column to the group bar then the group dividers show the time element e.g. "01/02/2017 00:00:00".
Trying to fix this I've added a Group Descriptor to the properties for the grid for Group, with format {0~:1d} but it doesn't seem to work (and also keeps disappearing from my Designer file)

Can you help please?

 

Dimitar
Telerik team
 answered on 31 May 2017
11 answers
320 views

I'm using RadDock 2017.2.502.40.

When I drag a toolwindow, that is initially docked, it becomes a floating window.  I am unable to resize the floating window.

Unfortunately, it seems, that by default the floating window cannot be resized.  I've created a fresh form with a RadDock so this behavior is right out of the box.

I've handled the FloatingWindowCreated event and set the FormBorderStyle per this post: 

http://docs.telerik.com/devtools/winforms/dock/object-model/customizing-floating-windows

But it seems to have no effect.  The floating window still cannot be resized.  I know the code is running because I've put in breakpoints.  The FormBorderStyle does change.

Just to make sure that something works, I've tried e.Window.Controls.Clear() and all the controls are gone when the floating window displays.  But it's not resizeable.

How do I make a floating tool window resizeable.

 

Thanks,

Steve

 

Dimitar
Telerik team
 answered on 31 May 2017
2 answers
103 views

I am replacing a 3rd party tool with Telerik....currently we have code with looks like this

grid.row.cells[testcolumname.index].text = "test"

However when I convert the control to Telerik, the column name I give it in the properties of the Control is not recognized.

Am I missing something?

Help!  

 

thanks

 

Jason
Top achievements
Rank 1
 answered on 30 May 2017
5 answers
291 views
Is there any build-in solution to save and restore the position of RadGridView's VerticalScrollbar?
Is there any build-in solution to save and restore the expand/collapse state of displayed groups?

I use RadGridView's SaveLayout() and LoadLayout() methods and it seems the values mentioned above are not being persisted to the layout file.
Gowtama
Top achievements
Rank 1
 answered on 30 May 2017
3 answers
109 views

Rad Grid - I want to use two rad grid And grid row move one grid to another grid row but I want to need cell .Which cell drop column.

So,How to get cell (Column) on two different rad grid drag and drop functionality

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 May 2017
1 answer
202 views

Hi,

I have a main form with a RadListView set to details view which is bound to a list of objects.

I also have a user control with two RadListViews set to details view bound to their own empty list of objects, same type as main.

On the main form when the user clicks on a button an instance of the user control is created and added to a panel on main form. So there can be multiple instances of the UC.

What I'm trying to do is allow the user to drag an item from the main form list and drop it on one of the lists within one of the instances of the user controls created at run time.

I have been trying to do this with the DragDropService, but I'm not getting the target list to update.

Assuming this is possible could you give me a simple example in c#.

Thanks in advance.

Cheers

Shaun

 

 

Dimitar
Telerik team
 answered on 29 May 2017
1 answer
283 views

I have a GridView control that has a custom CellFormatting event implemented that detects if a row is to be deleted on save, sets the back colour to grey and makes the test italic.

Following recommended Telerik practice I apply ResetValue format to cells not affected by the above format condition.

All works great.

My problem occurs when a user applies a ConditionalFormat, it doesn't display. If I comment out the ResetValue commands, the user defined Conditional Formatting shows as expected.

Is there a way you can get the Conditional Formatting to be applied after the CellFormatting event, or call for the ConditionalFormatting to be applied from the CellFormatting event?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 May 2017
3 answers
168 views

Hi,

i have a problem with timeline in scheduler. the timline start to end is from right to left instead of left to right. i set the "righrToLeft" to false and also i changed the culture to en-US but no effect.

another question is about the Appointment text in Persion or Arabic.how can show the Text Correctly? currectly the Words are in Revese direction. i just found a solution by disable the useHtml in appointmentElement.

please help me!

thanks in advanced

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 26 May 2017
1 answer
134 views
On VB.NET when you type in the element you can type 1/3/88 and it will automatically parse it to 1/3/1988. But on the C# it does not do that you have to type the whole date.... 
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 26 May 2017
2 answers
137 views

Hi,

how to add an OGS WMS/WFS to the map?

Hristo
Telerik team
 answered on 26 May 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
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
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
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
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
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?