Telerik Forums
UI for WinForms Forum
2 answers
124 views
Hi,

I'm using a Gridview which I filter programmatically based on input from another control, this works well.
But is it possible to prevent the user from doing their own filtering on the same grid, I still want to show the column headers just want to remove the filter icon and or functionality.

Cheers
Shaun
Shaun
Top achievements
Rank 1
 answered on 05 May 2013
1 answer
181 views
We're having an issue with the RadButton (2013Q1) whereby the text wrapping is failing when an image is included in the button.

It appears that the word wrap boundaries are calculated as if the image wasn't there, which is causing words to be cut off at certain button widths.  The right border also appears to be getting overwritten.

To reproduce, create a RadButton on a form with the below settings.  The image is any 32x32 image.  Note that the word wrap shows "The Quick Bro" / "Fox" instead of "The Quick" / "Brown Fox".  (Image attached.)

Does anybody know of any workarounds or fixes for this?  Right now we're probably just going to remove the images entirely, since we can't restrict the text length for the buttons.
this.radButton1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.radButton1.Image = global::TestPopup.Properties.Resources.Image32x32;
this.radButton1.Location = new System.Drawing.Point(13, 13);
this.radButton1.Size = new System.Drawing.Size(131, 44);
this.radButton1.Text = "The Quick Brown Fox";
this.radButton1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.radButton1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.radButton1.TextWrap = true;

Thanks,
Dave
Peter
Telerik team
 answered on 03 May 2013
3 answers
175 views
I'm trying to center, both vertically and horizontally, a RadLabelElement within a RadRotator.  Does anyone know how this can be done?  Below is my initial try.

RadLabelElement label = new RadLabelElement();
label.Text = slide.Text;
label.AutoSize = true;
label.AutoSizeMode = RadAutoSizeMode.FitToAvailableSize;
label.Alignment = ContentAlignment.MiddleCenter;
label.StringAlignment = StringAlignment.Center;

radRotator1.Items.Add(label);

Any help would be greatly appreciated.  Thank you!
Stefan
Telerik team
 answered on 03 May 2013
1 answer
114 views
My MDI Parent is a RadRibbonForm.  I want to set the text from the text in the active MDI Child form.  If the text is "Program Security", my parent form text shows "Program Security - [Program Security]".  What do I need to do to remove that redundancy?

Thank you,
Gary
Nikolay
Telerik team
 answered on 03 May 2013
4 answers
858 views
Is there have some global option can change the all font, just need set one time( except 

AutoScaleMod = Font
)
or override default theme(I don't know how)
Stefan
Telerik team
 answered on 03 May 2013
2 answers
122 views
I've read through the examples and forums and can't find an answer.  In the code below you can see that a new row is added to the spreadsheet showing the "Exported" time and date.  It is also formatted.  That works fine.

What I want to do is pass a string into the sub that can be used in the AddCustomExcelRow to describe the contents of the grid that is being exported.  Assume I have a grid showing "Top Investments".  I would like to pass that string into the sub below and use it as a new row.  I would want to pass a descriptive string from any grid I choose.  Any ideas?


Public Sub exporter_ExcelTableCreated(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.Export.ExcelML.ExcelTableCreatedEventArgs)
 
    Dim subHeader As String = "Exported " & Now().ToString
    Dim style1 As ExcelML.SingleStyleElement = (CType(sender, ExportToExcelML)).AddCustomExcelRow(e.ExcelTableElement, 0, subHeader)
    style.FontStyle.Bold = True
    style.FontStyle.Size = 11
    style1.FontStyle.Color = Color.RoyalBlue
Brendan
Top achievements
Rank 1
 answered on 02 May 2013
2 answers
140 views
Hello,

I've got a chart working with several line series (see 4a).

I'd like to see how to incorporate different type of line series, perhaps bar chart, more of a "threshold" chart correlating X and Y axes (see 4b).

Is something like this possible using Telerik RadChartView?

*Edit*: not sure the terminology here. I believe it's known as a "range bar". In our case we want to illustrate thresholds, that sort of thing.

Regards,

Michael Powell
Julian Benkov
Telerik team
 answered on 02 May 2013
1 answer
178 views
Hello,

we have a problem with the Telerik ListView Drag & Drop function.

There are two ListViews that are enabled for drag and drop. If we drag an item from the first to the second list, the application crashes.
Also, I created a new, empty solution and only added two list views (drag & drop is allowed by properties). There, we have the same problem.

- Object reference error
   bei Telerik.WinControls.UI.ListViewDragDropService.UpdateDragHintLocation(Point mousePosition)
   bei Telerik.WinControls.UI.ListViewDragDropService.HandleMouseMove(Point mousePos)
   bei Telerik.WinControls.RadDragDropService.Telerik.WinControls.IMessageListener.PreviewMessage(Message& msg)
   bei Telerik.WinControls.RadMessageFilter.NotifyGetMessageEvent(Message& msg)
   bei Telerik.WinControls.RadMessageFilter.GetMessageHookProc(Int32 code, IntPtr wParam, IntPtr lParam)

Thanks for your help!
Stefan
Telerik team
 answered on 02 May 2013
4 answers
160 views
The attached picture shows a UI that I have been copying.  In my version of this UI there is a FlowLayoutPanel with my user controls on it.  On the right (what I want to build now) is what I think is a ToolWindow.   This ToolWindow cannot be moved; it's docked on the right.  That's where it stays.  It can be pinned or unpinned; nothing else.  It expands out over the FlowLayoutPanel.

I think RadDock is what I should use and, if so, I'm just a couple details away from making what I want.  If there's a better choice I'd like to hear (read) it.  But, if not:

1. How do I make a ToolWindow stay docked and not allow the user to move it anywhere?

    I found the forum response for the buttons so that there is only the pin:

 

  toolWindow1.ToolCaptionButtons =

 

ToolStripCaptionButtons.AutoHide;

2. How do I make that "Pin" button start out not pinned?  I want the ToolWindow to be collapsed.


3. How do I get a content area in the RadDock that doesn't have tabs or anything?  Basically, I want a rectangular shape that contains my user controls (in a scrolling container) and the ToolWindow...no tabs, no titles, nothing else.

Thank you,
Gary

 

Doug
Top achievements
Rank 1
 answered on 01 May 2013
16 answers
222 views
Hello,

Can any one please tell me how to make the  recurrence button ,location textbox & resource dropdown visibility as false in the Edit Appointment dialog in c#.

Thanks in advance.
Peter
Telerik team
 answered on 01 May 2013
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
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?