Telerik Forums
UI for WinForms Forum
4 answers
738 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
589 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
174 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
154 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
266 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
401 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
293 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
339 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
1 answer
170 views

How to I can fill the GridView Hierarchical with the same DataSource ? 

I did a query to list some fields and I grouped in a Linq and attributtes to a BindingSource to show in the main GridView and it worked, but I need fill the GridView Hierarchical with the same query, but without grouping, then I created a new BindingSource and attributes a Linq to he without grouping but not works.

 

 

 

Hristo
Telerik team
 answered on 08 Jan 2019
1 answer
288 views

Hello, we are currently working with the Gridview control, having the datasource set to a datatable. Now we are trying to archieve a behavior where the row 'Total' is being excluded from the sorting in order to keep the row as last row at all time. 

How can we achieve this behavior?

 

Thanks in advance

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 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
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
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
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
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
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?