Telerik Forums
UI for WinForms Forum
2 answers
140 views
Hi!

Is there a possibility to set background color based on the custom field in Appointments table (let's say in "AppointmentFormatting" event)?

TNX and BR,
Smiljan
Smiljan
Top achievements
Rank 1
 answered on 03 Apr 2015
2 answers
664 views
In Visual Studio 2010 I often run into problems working with a RadGridView using a project binding source. I have not figured out how to recreate this issue consistently but it seems to happen after making a change in my code and recompiling.  The error will occur when attempting to change a property on the grid using the forms designer.

Sometimes the problem will magically go away after clicking on a different control and then clicking on the grid again. Other times I have to completely close VS and reopen it.

Sorry I don't have much more to go on but this problem has been driving me crazy. Hopefully someone has suggestions on how to fix it.
Hristo
Telerik team
 answered on 02 Apr 2015
2 answers
114 views
Hi,
 i'm wondering if there is any way to select all rows (in case we have hundreds of rows), or is it possible to have a selectall option like copy/cut in context menu by right clicking on a row ,so that we can select all rows?
thank you!
Niloofar
Top achievements
Rank 1
 answered on 02 Apr 2015
2 answers
665 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.8K+ 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
193 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
343 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
170 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
67 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
372 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
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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?