Telerik Forums
UI for WinForms Forum
7 answers
299 views

Hi I have a Rad Grid View that I am exporting to excel using the code below. This works fine, but I would like the code to export the grouped data so that excel sees it as grouped data rather than static cells. Is there a way to achieve this?

Thanks in advance.



private void button4_Click(object sender, EventArgs e)
  {
      ExportToExcelML exporter = new ExportToExcelML(this.radGridView1);
      exporter.HiddenColumnOption = Telerik.WinControls.UI.Export.HiddenOption.DoNotExport;
      exporter.ExportVisualSettings = true;
      exporter.SheetName = "Films";
      string fileName = "C:\\ExportedData.xls";
      exporter.RunExport(fileName);
  }
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 May 2015
1 answer
101 views
Hello, recently we began to encounter exceptions using Telerik GridView. Exception message:

System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at Telerik.WinControls.Keyboard.ChordMessageFilter.CreateInstance()
   at Telerik.WinControls.Keyboard.Shortcuts.AddShortcutsSupport()
   at Telerik.WinControls.Keyboard.Shortcuts..ctor(Control owner)
   at Telerik.WinControls.RadControl.EndInit()
   at Telerik.WinControls.UI.RadGridView.EndInit()
   at CreditAdmin.CardAdmin.Controls.Notifications.InitializeComponent() in c:\_Projects\CreditAdminTeboil\EmsAdmin\CreditAdmin\CardAdmin\Controls\Notifications.Designer.cs:line 149
   at CreditAdmin.CardAdmin.Controls.Notifications..ctor() in c:\_Projects\CreditAdminTeboil\EmsAdmin\CreditAdmin\CardAdmin\Controls\Notifications.cs:line 17...

It seems like this happens only when we use ALT shortcuts (to navigate trough tabs ant some other functions). Does anyone knows what could be the cause of this problem ?
Dimitar
Telerik team
 answered on 28 May 2015
7 answers
223 views
Hello,

Is it possible to save the columns/rows position to a xml file to load it later?

Thank you,
Eduard
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 May 2015
3 answers
133 views

Hi,

 I am trying to open form maximized depending on DPI settings.

Unfortunately when I try to do that from code-behind (this is Windows Desktop application) I do not have WindowState available.
Form that I use is RadRibbonForm.

Is it possible to set from code how form will be opened?

Thanks,
Oliver

Dracus
Top achievements
Rank 1
 answered on 27 May 2015
8 answers
526 views
How do you retrieve the selected values for the auto complete box??

I  have the DisplayMember and DisplayValue set:
racSchTechs.AutoCompleteDataSource = datatable;
racSchTechs.AutoCompleteDisplayMember = "Name_Full";
racSchTechs.AutoCompleteValueMember = "id_lanid";


but I want to get the "id_lanid" from the items selected. I do not see this functionality. 

Thank you!
Dimitar
Telerik team
 answered on 27 May 2015
6 answers
402 views
I use integer fields in Row labels ,but it displays range values instead of integer 

For Example Shown like below.

Sec Num    Sec Num
12456           10000-13000
42345            40000-50000

Ralitsa
Telerik team
 answered on 27 May 2015
7 answers
211 views

 I am trying to use your WinForms Expression Editor to validate a formula expression, directly into a Textbox.  I do require a list of fields, but I do not need the gridview. Is there anyway to dynamically pass the list of fields and have the editor show without the GridView?
  I have attempted with an invisible gridview, but this is rather ugly. Any hints?
  Thanks!
Hristo
Telerik team
 answered on 26 May 2015
2 answers
111 views

Hi,

I have set the EnableAlternatingRowColor property in my master template to true, and to false for the gid child template. However its seems the grid obeys only the master template setting across all children templates.

 

Is it possible to set a child template EnableAlternatingRowColor property different from the master template at all?

 

Regards,

 George

George
Top achievements
Rank 1
 answered on 25 May 2015
1 answer
259 views
Hello people

How to search in listview using textbox and button, and used the propiertied focused.

Example img.
Dimitar
Telerik team
 answered on 25 May 2015
20 answers
1.6K+ views
Dear Support,

Our application uses reflection to load assemblies and open forms to our user in the runtime. Because we are already behind the schedule, we don't have the time to covert old assemblies from 2009 Q3 to 2010 Q1. In order to make use of the bug fixes and features in the 2010 Q1,  we want to start our new assemblies with 2010 Q1.

Is there a way to make 2009 Q3 and 2009 Q1 assemblies coexist locally (we don't want to put Telerik assemblies in the GAC)?

BR/shortie


Dimitar
Telerik team
 answered on 25 May 2015
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?