Telerik Forums
UI for WinForms Forum
1 answer
129 views

Hello everybody,

 I'm using a radradialgauge. My pattern is a half circle. Under this half circle, i've got a blank useless space.

 I try to use the CenterOffset and the scale transform to get it at the right dimension, but when the user change the size of the container, the rendering is ugly.

 Is there a way to trim the clank space all around my gauge to dock it in a parent container ?

 I hope my explication is understandable.

 Best regards,

Tony

Dimitar
Telerik team
 answered on 27 Jul 2015
1 answer
107 views

Hello,

 I see that the RichTextEditor has a built in editor command bar that pops up when text is selected. Is there any way to manipulate that command bar (add new buttons, control when/how it pops up, etc). I can't seem to find any reference to it in any of the documentation.

 Any help would be greatly appreciated.

 Thanks!

Stefan
Telerik team
 answered on 27 Jul 2015
5 answers
354 views
I am adding columns manually to the gridview master template. For this I am using GridViewTextBoxColumn. Let's say I have object Product which references object ProductCategory. In the gridview i would like to show information about product including the name of the product's category. I tried the dot notation like FieldName = "ProductCategory.Name" but it's not working. Is it possible handle this situation or I would have to use some DTO?

Thanks for reply
Stefan
Telerik team
 answered on 24 Jul 2015
5 answers
715 views
Hi,
In traditional WinForms all controls on a form inherit their Font property from it's parent form or container by default.
Apparently, this is not the case with Telerik WinForms. 

When there are many controls on a form, it becomes very uncomfortable. Especially when dealing with DropDownList controls.
Not only you have to set control's Font property to the font you desire (which only sets the font of the selected text),
you also have to handle the VisualListItemFormatting event and set args.VisualItem.Font programmatically to set the font of drop down items.

Am i missing something simple or is it just the way it is with Telerik?

Thanks ahead,
Uri
Hristo
Telerik team
 answered on 24 Jul 2015
18 answers
552 views
I might be missing something obvious here, but how can I display a form's icon on the left side of the title bar when the form is contained within a DockWindow?  The icon only seems to show when the form is displayed as a normal window.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Jul 2015
1 answer
117 views

I implemented a WinForm holding a RadDock and in it several Containers, DocumentWindows, ...

Now that there are more and more specialized DocumentWindows I think about defining this windows in separate files and loading this DocumentWindows dynamically when need to be shown.

Could you guid me how to do this easy and elegant?

 

How can I move the definition of the DocumentWindows into another file?

Generating a new nearly empty WinForm with a RadDoc and copyPaste the Window into that?

How can I load the DocumentWindow dynamically into the main WinForm?

Not all documentWindows are shown after program start, but when the user is selecting it in main menu "View" - just like it is in MS VS.

 

Thanx

Peter

Stefan
Telerik team
 answered on 24 Jul 2015
1 answer
214 views
Is there any sample available for building a custom toolbar on gridview to add / edit rows,insert, delete and print? Any pointers is much appreciated.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Jul 2015
1 answer
181 views

Hi Telerik team.

I have a question about the RadGridView. I use in my application multiple gridview which have in common a lot. I have made some class which inherit from GridViewTemplate to represent my buisness object. This let me use the same grid in multiple Template.

But I have tried to go to the next step in using these Template on a hierarchical Grid (by extending them to add one column for the relation with the parent grid). And then I came in trouble because the template on the main level should be a MasterGridViewTemplate (or inherit from it) and the secondary template should be a GridViewTemplate (or inherit from it BUT not from MasterGridViewTemplate).

Let see an example:

I have two business object with one hierarchical: Customer and order.

I create two class CustomerGridViewTemplate and OrderGridViewTemplate which inherits from MasterGridViewTemplate. I can use theses template to build  grid which show a list of customer or a list of order.

Now, I want to build a hierarchical Grid which show customer and their relative order so I create a new class CustomerOrderGridViewTemplate which inherits from OrderGridViewTemplate (it just add a new column with client ID). I use the CustomerGridViewTemplate as MasterTemplate and I add the CustomerOrderGridViewTemplate in the template collection and create a relation. This doesn't work (only the master template display). If OrderGridViewTemplate inherits from GridViewTemplate instead of MasterGridViewTemplate the two grid display correctly but I can't use anymore OrderGridViewTemplate in other Grid as MasterTemplate.

I don't understand why a custom template inheriting from MasterGridViewTemplate couldn't be used as secondary template. Any help or explanation will be welcome.

Hristo
Telerik team
 answered on 23 Jul 2015
3 answers
87 views

Hi,

The RadMarkupEditor has some issues with the usage of custom tags. I will provide you 2 cases which will describe the problems.

Case 1:

  1. Start the editor and make sure no content is displayed in the Design nor in the Markup view.
  2. Switch to the Markup view.
  3. Type in the following (xHtml) text: <person>tom</person>
  4. Switch to Design view and notice the content "tom" is displayed (which is good).
  5. Switch back to the Markup view and notice that only the content "tom" is displayed (which is not good). The custom tag <person> is somehow disappeared.

Case 2:

  1. Start the editor and type some normal text in the Design view.
  2. Switch to the Markup view.
  3. Verify that the text you entered in step 1 is displayed.
  4. Append the same(xHtml) text from case 1 to the existing text from step 1.
  5. Switch to Design view and notice that the text from step 1 and the content "tom" are displayed (which is good).
  6. Switch back to the Markup view and notice that the content from step 4 is not correctly displayed anymore. You should see something like this: <person></person>tom

For me this is not normal behavior, especially not the second case. Can you have a look at this?

Thanks,

Tom

Dimitar
Telerik team
 answered on 23 Jul 2015
3 answers
764 views
Hello Team ,

I have a gridview in my winforms program, where i need to display 2 headers for the grid like in below example
gridview should have column name as one header and the corresponding unit of measurement as second header
if i add unit of measurement as first row to grid, not working because
i am binding data to the grid from an excel using import option, that time it is removing the added row and binding the data to it
is this possible in telerik, if so please help me



Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Jul 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)
Chart (obsolete as of Q1 2013)
Form
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
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
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
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?