Telerik Forums
UI for WinForms Forum
3 answers
263 views

I've spent 2 hours trying to get the colors right on a GridView......

I set the selected row color using your examples, and the RowFormatting event, but there are two colors i just can't seem to set:

- the color used when the mouse moves over a row. I've tried using the CellMouseMove (as your examples) but I them have to rest all the non-current cells back to normal, and this seems very complicated for just changing a simplecolor. Can I set this at design time? If not, how at runtime?

- same for the backcolor of the whole grid: there is a design0time BackColor on the RadRootElement, and this sometimes shows up in the designer, but not reliably. And I can't seem to set it at runtime either.

Thanks for the great support!

Ian

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Jan 2019
5 answers
148 views

hi

i want square and multiplied shape for ScatterLineSeries point.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Jan 2019
4 answers
746 views

Hi,

I've got a RadTextBox which has multiline set to true. However, when I assign a value to the Text property which contain "\n" characters all text appears on a single line. Is the Text property supposed to handle multi line texts, or do I need to set some additional properties?

Hristo
Telerik team
 answered on 09 Jan 2019
7 answers
605 views

Hi,

When I click the button element of the RadSplitButtonElement, the dropdown do open and fire click.

Like in MS-Office, I expect the button to fire click, but not open the dropdown. The dropdown should only be opened when clicking the arrow part.

Note : I'm using version 2016.3.1024.40

How can I change this behavior ?

Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Jan 2019
8 answers
186 views

Hello,

At this moment, when using a touchscreen, a pangesture on the scrollbar, that's on the bottom of the Panorama results in a pangesture event.

Is it possible that this pangesture ON THE SCROLLBAR controls the scrollbar?

(see video : http://www.soundware.nl/Data/20190103_161853.mp4)

The pangesture on the rest of the Panorama-control needs to be intact.

Best regards

Patrick Vossen

Hristo
Telerik team
 answered on 09 Jan 2019
3 answers
159 views

Is it just me?

Standard Winforms app.  I have used the Visual Style builder to create a custom theme and saved it as 'UVTMetroBlue.tssp', in a sub=folder of my project named 'Theme'.

In Visual Studio 2017 I add the theme package as a resource.  I go to the RadThemeManger on my MainForm, and select load from resource. It prompts me to enter the resource location string.

If I enter what I believe is the correct string : "UVTMain.Theme.UVTMetroBlue.tssp", I get a null reference error. If I add it through 'Edit Themese', and browse to the file, same "null reference" error.

 

If I put in nonsense, it accepts it without error.

So, I go to 'Edit Themes' on the Theme Manager and there is the entry

Unable locate Resource file 'aasdasdasd' in the project folder 'C:\Users\hespect\source\Workspaces\UVeritech\UVTMain\UVTMain\'

 

Is something wrong with my .tssp file?

 

 

 

Dimitar
Telerik team
 answered on 09 Jan 2019
2 answers
275 views

In my Winforms app I have a GridView and the option for users to print the data contained in the GridView.

The GridView is dynamic in that the number of columns of data varies by user and their department (some users will see 5 columns of data, some will get 10, some will get 13, etc.).

When printing, due to the unknown number of columns, all the data/columns sometimes will appear efficiently on an 8.5 X 11 sheet of paper in portrait mode and sometimes not.  Sometimes the paper size will have to be changed or the orientation.

However, if the number of columns is large, even if the orientation is changed to landscape and paper size changed to legal, the data won't display well on the printed report.  It'll either condense/truncate each column to fit on a printed page, or some columns just don't get printed at all (i.e. columns 1 thru 7 will display on the printed page, but columns 8 thru 15 are omitted from the printed results.)

When printing the GridView's data, 3 options are available in PrintPreview->Print Settings: FitPageWidth, NoFit and NoFitCentered.  Neither of these options produce a report in which all the data/columns are readable. 

Is there a way to have all columns printed at their actual size, in that if the number of columns is too many to fit on a single sheet of paper, the first "batch" of columns will print on "page 1" and the second batch on page 2?  (Similar to the "No Scaling" print option in Excel.) 

Internally, when printing the GridView's data, the GridView's data is passed to the Associated Object of a RadPrintDocument.  That RadPrintDocument is then passed to the Document property of a RadPrintPreviewDialog.

Thanks much for all advice with this matter.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Jan 2019
4 answers
406 views

Hi Team.

How can I create a custom save button to save the edited Image directly into the sql sever database or use the default save button to save the image directly to the the database.

However, the only option I have right now is to save the image to file and then save image file to the database, which I want to avoid because I will end up having two save buttons.

Thank you.

Dimitar
Telerik team
 answered on 08 Jan 2019
3 answers
302 views

Hi.

There is any way to mimic RadGridView.BestFitColumns(BestFitColumnMode.AllCells)?

RadVirtualGrid.BestFitColumns() ignores cells that are not displayed or visible.

Thanks.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Jan 2019
3 answers
344 views
Hi;

I've created and saved a theme package.  I load up the theme package at program start up. But, when I apply the theme to a button programmatically ussing myradbutton.themename = "mythemename", it doesn't take.  I tried setting an application wide theme first then overriding the button and I tried overriding the button then setting the application wide theme but neither works.  What am I missing?

Thanks very much.

-eLindy
Hristo
Telerik team
 answered on 08 Jan 2019
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
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
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
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?