Telerik Forums
UI for WinForms Forum
3 answers
119 views
I'm using the Entity Framework with a Data Source and I would like to be able to drag and drop a field and have it be edited with a RadTextBox. When I go to customize, I see 15 Telerik controls in the list, but not RadTextBox, why not and what can I do to make the Telerik controls the default when using visual data sources. I click on the field, then Customize... and I have "Data UI Customization" selected with data type "String".

Thanks.

-John Baima

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Sep 2014
1 answer
457 views
Hi all,
I've got a column containing Minutes as an integer.  I'm trying to sum this and format it as a Time Span like hh:mm (no seconds or days).
I'm not too familiar with the AggregateExpression strings.
Is there a way to cast that aggregate into a timespan, either during or after the sum from within the expression?

I've got a group summary and a grand total that this needs to appear on.

 
summaryItem.Name = "TimeWorked"
summaryItem.AggregateExpression = "SUM(MinutesWorked)"
summaryItem.FormatString = "{0:hh}:{0:mm} = {0}"

TimeWorked column - string value formatted by database in hh:mm format
MinutesWorked column - integer value  - need Timespan.FromMinutes(...)
FormatString - the ' = {0}' at the end is for checking the value of the sum.

Currently, for example:     hh:mm = 2239
Hoping for:                        37:19 = 2239

Or is tackling this in the expression not possible? 
Or maybe as it loads into the column?
I've tried/am trying events also but hoping the 3 lines of code is do-able...

Thanks

Dimitar
Telerik team
 answered on 24 Sep 2014
1 answer
166 views
Is it possible to have a single line rich text box without showing scrollbars?

I ideally want to use it for the user to enter a hyperlink and click on it to go to that web page.

Thanks

Andez
Dimitar
Telerik team
 answered on 24 Sep 2014
5 answers
1.1K+ views
how to remove items from listview?
i tried this pieces of code but i got an exception
foreach (ListViewDataItem eachItem in radListView1.SelectedItems)
            {
                radListView1.Items.Remove(eachItem);
            } 

my exception is Collection was modified; enumeration operation may not execute.
Stefan
Telerik team
 answered on 24 Sep 2014
1 answer
353 views
Does anyone know the right syntax to set the row height on a RadMultiColumnComboBox Column inside of a RadGridView?

I know how to set the row height of the RadGridView:  rgv.TableElement.RowHeight = 20

What I'm looking for is how to set the row height of the rows in the RMCCB's gridview that is a column in my main GridView...make sense?
Stefan
Telerik team
 answered on 24 Sep 2014
4 answers
726 views
I have the rounded panel (pic.1). When I add the picture of a background, curves vanish (pic.2). How to solve a problem?
Stefan
Telerik team
 answered on 23 Sep 2014
2 answers
100 views
I need to display a tiled image as BackgroundImage in a RadSplitButton, but when I set the BackgroundImage property it is ignored by the control

In the other hand, the Image property works as normally, but I need to set the BackgroundImage property.

Why this property is ignored by default, and how to fix it?.

Ive discussed this in other site ( http://stackoverflow.com/questions/25869595/telerik-radsplitbutton-ignores-backgroundimage-property );
and the suggested solution was:
'In order to show the button background image you have to hide its fill',
but doing that the button looses the applied theme.

Following the suggested solution there, the person who helped me said one more thing:
"It is a fact that to see a background image you have to give some transparency to the top layer and this is why you loose the Theme. So rather sort out the image dimensions before using it as image for the control and use "Image" instead of backgroundImage."

...But I can't understand that because:
"A normal Image property is drawn over the top-layer so why suppose a big problem to do the same as default with a BackgroundImage?,
if you notice it a default .NET framework control (eg: a Button) can manage a BackgroundImage without loosing the theme then this issue with Teleirk controls for me is a  little bit strange."

Thanks in advance.
Stefan
Telerik team
 answered on 23 Sep 2014
1 answer
218 views
Hi,

I am looking at the RAD controls for Winforms and just love what Telerik has done over the years. I want to create a UI where I have a kind of stacked panel menu in the left side of the form and when I click on the menu, the child forms load in the right side of the form. This is slightly different UI where we have the menu either on the top or the Ribbon bar on the top and the child controls load in the form area. Is there any sample out there that shows how I can create such a UI and which controls I would need to form such a UI?

Regards,
Afraz Ali
Stefan
Telerik team
 answered on 23 Sep 2014
1 answer
427 views
Hi,
I am new in Winforms and I try an example with a radGridView to display some columns. What I want is to use the horizontal scroll bar to allow the user to see all the columns that don't fit in the display area of the grid. What it does now is to shrink the last columns to a minimum size and the user must go and try to resize the columns in order to see the last columns of the grid.


Thank you very much
Stefan
Telerik team
 answered on 23 Sep 2014
1 answer
120 views
I have just downloaded trial version of Telerik UI for winforms, I was trying to display an image as BackgroundImage on a RadSplitButton, but when I set the BackgroundImage property it is ignored by the control but on the other hand, the Image property works as normally, but I need to set the BackgroundImageProperty. Why this property is ignored by default, and how to fix it?

Any help will be appreciated
Stefan
Telerik team
 answered on 23 Sep 2014
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?