Telerik Forums
UI for WinForms Forum
1 answer
112 views

hello im kangroo. im not much professional but i am working on a project and i have few questions about exporting from radgridview at winform.

1- i am trying to excel export and i want to set columns width for excel.i have tryed codes from demo.in there i can set width for current radgridview.but i don't want to change radgridview widht i want only change it at exporting to excel.How i can do?

2- is there any way to not export a column ? for example i don't want to export date column from radgridview.how i can?

3- in demo codes there is a example for add cloums to export to excel table. but that codes adding colums to current radgridview after complete of export. can i add columns to export table without adding to current radgridview?i want to create a cloumn for users may write some notes on excel export page

4- is there any way to set page size for excel export?i saw few codes in demo for pdf exporting for set size for page but can we do this in excel export?

 

i did search for this questions and i have read many documents about that but i did not understand how to fix these problems.If you can explain with example codes that would be very helpful.thank you.

Hristo
Telerik team
 answered on 07 Aug 2017
1 answer
184 views

I've a textbox on my database setup form that takes the database password.

 

At design time I have placed a checkbox to the right hand side of it so the user can select whether or not to see the encrypted characters or not. I want the checkbox to be positioned in line with the text box when displayed to the user.

 

At design time it is, but when theming is applied it loses its alignment (please see attached file)

 

I've tried repositioning the checkbox when the textbox is painted but that doesn't work.

 

How can I keep these two controls anchored to each other as they should be please?

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Aug 2017
1 answer
118 views

Hi,

 I am experiencing problem with latest controls ( version : 2017.2.613.40 ) . When I open multi column drop down ,its selecting first item which is causing problem in my case , it happens when i open drop down pragmatically using code :  this.MultiColumnComboBoxElement.ShowPopup().

 

Please advise asap.

Thanks.

Dimitar
Telerik team
 answered on 07 Aug 2017
3 answers
552 views
Hi,
I want to show contents of GriView column with thousand separator, please write a sample code.
Thank you, Tooraj Azizi.
Dimitar
Telerik team
 answered on 07 Aug 2017
6 answers
183 views

Hello,

On the x axis, I have a range of values from 1/2001 to 1/2010 where I have a value for each month. I need to have ticks every 4 months (MajorTickInterval = 4 is working fine), but I need to have ticks starting from 3/2001, so I will have tick on each 3/xxxx, 7/xxxx, 11/xxxx month. How to achieve this?

Thanks in advance

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Aug 2017
0 answers
132 views

Still happens.  With no end in sight.

Tried different datasource calls.  Still happens.  What you say is right, is wrong.  BUGS BUGS BUGS.  Zero fixes.  Please stop selling a product that does not work and which you do not care to develop.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I can't wait to move off your controls and end the continuous frustration of poor development.

Abba
Top achievements
Rank 1
 asked on 06 Aug 2017
0 answers
58 views

If I am setting :
mygrid.TableElement.BeginUpdate()
mygrid.CurrentRow = Nothing
mygrid.TableElement.EndUpdate()

WHY IS CELLFORMATTING BEING CALLED ON CURRENT ROW???!?!?!?!?

 

Oh, that's right...I refuse to pay support to companies that don't know how to make a usable product.
I think the only solution to save my sanity is GET AWAY FROM TELERIK WINFORMS CONTROLS!
Nothing works as it should...NOTHING!

Abba
Top achievements
Rank 1
 asked on 06 Aug 2017
0 answers
91 views
Hi,
I have a gridview with a child template (X) and another child template (Y) into the child template (X) and have a decimal column (C) in (Y).
I want to SUM the decimal column (C) in (Y) into a cell of its parent row in (X).
Thanks,,,
Ahmed
Top achievements
Rank 1
 asked on 04 Aug 2017
1 answer
139 views

Hello,

I have issues with major step on the y linearAxis changing when zooming in. Generated ticks and corresponding grid is displayed correctly only in the case when whole chart is shown (zoom = 1). When I zoom in, interval between ticks on y axis is changed. Please note that I have applied similar logic on the zoom event on the x axis and it's working fine. However, it seems that MajorStep on the linear y axis cannot be changed in the same like MajorTickInterval  on the categorical x axis. So, how to keep interval between ticks on the y axis constant after changing the zoom settings?

Here is the code snippet I'm using:

private void View_ZoomChanged(object sender, EventArgs e)
        {
            var horizontalAxis = radChartView1.Axes[0] as CategoricalAxis;
            int DesiredHorizontalTickInterval = 12;
            double horizontalScale = (radChartView1.View as IChartView).ZoomWidth;
            int zoomWidth = (int)(horizontalScale + .5);
            if (horizontalAxis.MajorTickInterval != zoomWidth * DesiredHorizontalTickInterval)
            {
                horizontalAxis.MajorTickInterval = zoomWidth * DesiredHorizontalTickInterval;
            }
 
            int desiredVerticalMajorStep = 7;
 
            double verticalScale = (radChartView1.View as IChartView).ZoomHeight;
            int zoomHeight = (int)(verticalScale + .5);
            var yAxis = ((sender as ChartView).Axes.Last() as LinearAxis);
            if (yAxis.MajorStep != zoomHeight * desiredVerticalMajorStep)
            {
                yAxis.MajorStep = zoomHeight * desiredVerticalMajorStep;
            }
        }

Borislav
Top achievements
Rank 1
 answered on 03 Aug 2017
3 answers
181 views

Hello,

how can I change, by property or by code, the color of the splitter ?

Thank you.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 Aug 2017
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?