Telerik Forums
UI for WinForms Forum
9 answers
220 views
Hi, I am trying to do a printview of a grid with 24 columns and they dont fit in the page event if I do it LandScape.
What the printview is doing is just cuting the columns and just showing some of them. (see attach, you will see 11.5 columns)

How can I do to organice the columns in differents pages (like 12 columns in 1 page and other 12 in other page, or how it fit better)

This is my code

 public static void PrintPreview(RadGridView grdView, bool landscape, string header)
        {
            if (!CheckPrintingValidation(grdView)) return;  //this check that the gridView have data

            RadPrintDocument printDoc = new RadPrintDocument();
            printDoc.Landscape = landscape;
            printDoc.RightHeader = header;
            printDoc.HeaderHeight = 100;
            SetPrintStyle(grdView);
            grdView.PrintPreview(printDoc);
        }
Ivan Petrov
Telerik team
 answered on 30 Dec 2013
1 answer
173 views
Hello Support Team,

First, i would thank you for the greatest Tool i ever seen "Telerik Dev Tools ", really it's amazing :)
 am new user with Telerik, and i want to convert all my project default System Controls to RadControls
Is there any tool to automatically covert these controls ?
i tried This Topic but this adding Telerik DLLs fils to my reference, didnt actually transform the controls themselves.

Note*: um using VS2012 and Q3 2013 Telerik 
Thanks in advance
Mina 
Ivan Petrov
Telerik team
 answered on 30 Dec 2013
1 answer
162 views
I am using an older version of the RadControls (2011.3.1115.40). I would like to save the charts to jpeg format. I have a button on the form which invokes the following event: 

        protected void btnSaveChar_OnClick(object sender, EventArgs e)
        {
            RadChart1.Save(Server.MapPath("~/files/chart.jpg"), System.Drawing.Imaging.ImageFormat.Jpeg); 
        }

This definitely saves the chart, but its a blank chart with the label "There is no or empty series". What do I need to do to save the chart as it is displayed on the webform? 

Thanks! 
Ivan Petrov
Telerik team
 answered on 30 Dec 2013
1 answer
111 views
Can you globally set the theme name for all radMessagesBox in a project or do you have to do it for each case when one is to use the messagebox?

Dimitar
Telerik team
 answered on 30 Dec 2013
4 answers
113 views
I'm using a gridview in my C# Winforms project and I need to both perform conditional formatting and fire certain custom actions (such as emailing someone, playing a sound, popping a Desktop Alert, etc) when a condition is met.  I've set up a conditional formatting framework which works great...when a condition is met it formats the cell or row differently (for instance, if an Order Totals cell value falls below 20 in a row then it will turn the text red).  My problem is trying to perform these custom, non-formatting actions when this condition is met.  The only way I've made this work is to use the CellFormatting event and check each cell for the condition(s) after each cell is bound, then perform the action at that time.  I would much rather just create a ConditionalFormattingObject (or something similar), apply that to a column, and perform all actions and formatting changes at the same time.  Is this possible?

Not sure if it matters, but the datagrid is being bound to a List<> of custom business objects returned from a WCF service.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Dec 2013
1 answer
162 views
After zooming with the lassozoomcontroller, is it possible to get back to the original chart (with a click or key combination)?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Dec 2013
1 answer
68 views
I sub window form how a GroupBox I realize adaptive size, thank you
Dimitar
Telerik team
 answered on 27 Dec 2013
1 answer
111 views
 I have a ribbon bar. It has ribbonbarbuttongroup and it has different elements like dropdownlistelement etc. we are creating  dropdownlistelements at run time. We are populating dropdownlistelements on form load. On form load, we are also hiding ribbon tab using '
this.radribbonbar1.RibbonBarElement.Expanded = false;'. After execution of this line,  dropdownlistelement's items count has become 0 during debugging though items are showing in it. So its creating problem when we loop through dropdownlistelement.
When i manually expand/collapse ribbon bar multiple times again items count become 0. One more thing, Suppose i selected some text in
dropdownlistelement and expand/collapse ribbon bar one/two times, text is showing selected but during debugging no item is selected (When we loop through).





George
Telerik team
 answered on 26 Dec 2013
3 answers
434 views
Hello Telerik Team
I want to have a column in radgrid which type is float or decimal ,but I dont want to have a fix decimal point .for example I want to enter number 2.35 or 123,4.6589 so I use the code bellow 

 GridViewDecimalColumn DecimalColumn = new GridViewDecimalColumn();
            DecimalColumn .Width = 150;
            DecimalColumn .Name = "Decimal";
            DecimalColumn .HeaderText = "Decimal";
            DecimalColumn .ThousandsSeparator = true;
            radGridView1.Columns.Add(DecimalColumn);
but there is a problem with thousandsSeparator .when I am typying number in the cell and when I leave the cell there is no thousandsSeparator 
please help me.
 

thank you 
Peter
Telerik team
 answered on 25 Dec 2013
1 answer
138 views
Hello, I wonder how do I use this code in radGridView. It works perfectly in datagridview standard visual studio.

Code:

int n = dataGridView1.Rows.Add();
                dataGridView1.Rows[n].Cells[0].Value = listProced.
                dataGridView1.Rows[n].Cells[1].Value = listConv;
                dataGridView1.Rows[n].Cells[2].Value = listPro;
                dataGridView1.Rows[n].Cells[3].Value = listProce;

                dataGridView1.FirstDisplayedScrollingRowIndex = n;

                dataGridView1.CurrentCell = dataGridView1.Rows[n].Cells[0];

                dataGridView1.Rows[n].Selected = true;

thank you!
Stefan
Telerik team
 answered on 25 Dec 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)
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
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
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?