Telerik Forums
UI for WinForms Forum
2 answers
649 views
Visual Studio 2013
C#
.NET 4.0 WinForms
Telerik 2014.3.1202.40

I have a simple grid populated with many records and I allow users to drag columns to the grouping panel. Grouping is not done programmatically. After lots of searching, I can't find a solution for what I am trying to do and am surprised there isn't just a simple property built in to do this, as I would think it's extremely common. Maybe there is and I can't find it.

I would like to simply include record counts in the group header text. I.E. Males (5). These counts would need to update as groups are placed and as items are filtered. I have accomplished this by using SummaryRows, but I really want the count to be in the header text because for my application of the grid, SummaryRows add a lot of clutter and confusion.

Any direction would be greatly appreciated. Thanks.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Apr 2015
4 answers
3.7K+ views
I want to format a datetime column specifically as MM/DD/YYYY. 

I am able to modify the display date values as mm/dd/yyyy, but when the user attempted to edit the data, it goes back into long date format. 

Is there a way to change the entry of the value to that format?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Apr 2015
5 answers
175 views
Hi!

I modified appointment edit/insert form with my own custom fields.

Now I need to "tap into" New and Edit methods of the Context menu.

I need to add some of my own code (code1) if New appointment is selected AND add my own code (code2) id Edit appointment is selected.
How can I do this? Is there any possibility inside AppointmentEditForm class to differentiate if "New" or "Edit" was selected in context menu prior to openning AppointmentEditForm?

Thank you for any kind of info.

BR, Smiljan
Hristo
Telerik team
 answered on 02 Apr 2015
1 answer
327 views
Excuse me, 
I have a field which I use to input URL type.
I use RadMaskedEditBox.

I try to browse maskType, but no URL option.
Just Regex available.

How can I prevent invalid URL input?
Maybe using regex?

The telerik documentation is not describing clearly about how to use the regex.

Please help

Regards
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Apr 2015
1 answer
156 views
Hi

I have made codes to show live data in RadGridView.

So, I set the VirtualMode property to true, and set ColumnCount.

But, I can't set RowCount, because I don't know how many data will be shown.

I set the RowCount to 0. When I received data, I increased RowCount( ex. RowCount++)

I know this code is wrong, because occurred exception.

Please let me know how to show live data in RadGridView.
Hristo
Telerik team
 answered on 01 Apr 2015
2 answers
57 views
Hello - I am trying to use RadMarkupDialog for HTML editing; however, it strips wrapping P tags. This behavior occurs when I click Save from the Markup tab, and also when I switch from the Markup tab to the Design tab. I've seen information on stopping this behavior in ASP.Net, but not in WinForms. Is there a way to make it behave correctly?
Thanks,
Matt

For examples:
1.
currentText = "<p>some text</p>"
Dialog is shown and Value is set to currentText; Design mode shows "some text"; switch to Markup and it shows "some text" (no wrapping P tag)

2.
currentText = "some text"
Dialog is shown; switch to Markup and edit text to "<p>some text</p>"; click save
Code is returned "<html>some text</html>" (that it is wrapped in the HTML tag is expected from what I understand)

3.
currentText = "some text"
Dialog is shown; switch to Markup and edit text to "<p>some text</p>";
Switch to Design mode and then back to Markup mode; editor now shows "some text"

4.
currentText = "some text"
Dialog is shown; switch to Markup and edit text to "<p>some text</p><p>some other text</p>"
Code is returned "<html><p>some text</p><p>some other text</p></html>
Hristo
Telerik team
 answered on 01 Apr 2015
2 answers
363 views
Hi.
I'm trying to print/preview the radrichtexteditor where document orientation of the document is landscape and contains table. In radrichtexteditor table is displaying good,
but in Preview mode table is truncating. I dont know why...
It`s my code:

radRichTextEditor1.ChangeSectionPageOrientation(PageOrientation.Landscape);
RadPrintDocument document = new RadPrintDocument();
document.PrinterSettings.Duplex = System.Drawing.Printing.Duplex.Simplex;
document.PrinterSettings.DefaultPageSettings.Landscape = true;
document.Landscape = true;
radRichTextEditor1.PrintPreview(document);
 
thank you in advance.
Hristo
Telerik team
 answered on 01 Apr 2015
4 answers
157 views
Hi,
   i would like to Auto BestFit all columns after data loading, is it possible?

Thank you 


Manuele
Dimitar
Telerik team
 answered on 31 Mar 2015
2 answers
532 views
cant seems to get gridview to pay attention to multiple key fields in the relationship hierarchy
code is like this

GridViewRelation relation = new GridViewRelation(this.radGridStatement.MasterTemplate);
            relation.ChildTemplate = template;
            relation.ParentColumnNames.Add("DealerID");
            relation.ParentColumnNames.Add("Month");
            relation.ParentColumnNames.Add("Year");
            relation.ChildColumnNames.Add("DealerID");
            relation.ChildColumnNames.Add("Month");
            relation.ChildColumnNames.Add("Year");
            this.radGridStatement.Relations.Add(relation);
relationship requires three key columns
gridview only uses first one (dealerid)
Hristo
Telerik team
 answered on 31 Mar 2015
13 answers
3.9K+ views
I am experiencing very tuff problem with the applicaions designed using Win forms telerik suit as the application is loading very very slow. We thought it was because of the data it is being loaded but not, even the empty win form designed using Telerik suit is loading very slow. I am getting regrets from my clients. Is there any way that we can minimize this loading time. Please suggest us as soon as possible.

Thank you.
Hristo
Telerik team
 answered on 31 Mar 2015
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?