Telerik Forums
UI for WinForms Forum
2 answers
127 views

Greetings all

I have a simple winform app that loads a RadGridView and optionally exports it to Excel.  The app works fine in the Development environment and as a standalone exe.  However, when the code is moved to Citrix, the invocation of the RadGridViewExporter.Export method triggers an Excel error: "an error occured and this feature is no longer functioning properly".  Once this error dialog is clicked, the export happens successfully.

I understand from various searches that this is likely a config issue with the server and not a Telerik internal problem.  My hope is that someone has hit this before and might suggest a work-around from the application side.

We are using VS2010, .Net 4.0, and Q2/2011 Radcontrols for Winforms.

Relevant code follows.  Many thanks for any advice.

 

private void Export(String filepath)

{

 

//this.radButtonExport.Enabled = false;

exporter =

 

new RadGridViewExcelExporter();

 

BackgroundWorker worker = new BackgroundWorker();

worker.DoWork +=

new DoWorkEventHandler(DoWork);

 
worker.RunWorkerCompleted +=

 

new RunWorkerCompletedEventHandler(bg_RunWorkerCompleted);

worker.RunWorkerAsync(filepath);

exporter.Progress +=

 

new ProgressHandler(exportProgress);

radProgressBar1.Visible = true;

 

radProgressBar1.Text =

 

string.Format("Exporting to {0}", filepath);

radProgressBar1.Width = radGridView1.Width * 2/3;

}

 

private void DoWork(object sender, DoWorkEventArgs e)

{

exporter.Export(radGridView1, (

 

String)e.Argument, "script results");

}

Martin Vasilev
Telerik team
 answered on 13 Oct 2011
10 answers
227 views
Hello,

I have some strange effects when using Anchor Bottom / Anchor Right with Controls placed on a PageView Page. The Controls do not keep their positions correcty. Also, the Designer (VS2010) seems to garble up sometimes.
Anyone else having issues with this?

Regards
Erwin
Stefan
Telerik team
 answered on 13 Oct 2011
1 answer
253 views
Hello guys,

How can I expand all rows from hierarchical gridview?

Thank you ,
Victoria.
Emanuel Varga
Top achievements
Rank 1
 answered on 13 Oct 2011
6 answers
234 views
How do I sort on a aggragated grouped column 
example if I group and sum on product  sold
how would I sort grouping show top seller in desc order
Please so example in VB
Bernd
Top achievements
Rank 1
 answered on 12 Oct 2011
3 answers
221 views
Hello every one, I have a problem with axis gridlines. In my project I need to draw custom gridlines on the chart. On the chart I have to draw those gridlines that I calculated. I tried ArrayList, List, Array for each lines but I could not succeeded. Each line calculated simultaneusly.
Yavor
Telerik team
 answered on 12 Oct 2011
1 answer
163 views
Hey everyone,

Title Correction: radGridView1_CustomGrouping event not firing

I am trying to implement the following example I have found in the Telerik forums to get custom month sorting to work. (Link) I tried setting the CustomDataOperation on the column as the example indicates. When I did that, the Intellisense description stated that the CustomDataOperation property was deprcated and to use EnableCustomGrouping, EnableCustomSorting, etc on the GridView instead. 

I have set all of these properties to true, yet the radGridView1_CustomSorting event does not fire. 

Why? What else is needed? 

Emanuel Varga
Top achievements
Rank 1
 answered on 12 Oct 2011
1 answer
118 views
how to make filter by column like group by column in radgridview
Stefan
Telerik team
 answered on 11 Oct 2011
3 answers
200 views
We use Telerik control of versoin 2009.2.9.701. We are going to migrate to 64-bit and would like to know whether it supports 64 bit.

Environment : Windows 7 64 bit.
For a quick test
1. we build the applicaiton using Telerik controls targeting with Platform target as x86 and it ran with out any problem 

But will it work if we build the application (which uses Telerik) with platform target as x64?

Stefan
Telerik team
 answered on 11 Oct 2011
3 answers
478 views
Hi,

I want to add a context menu when i click on the column header of the Windows form RadGridView control. I also want to add another context menu when i click on a row in the RadGridView.

How could i identify that Colum header is clicked or a row in the RadGridView  is clicked?
Nikolay
Telerik team
 answered on 11 Oct 2011
1 answer
151 views
Hi All,

I'm having a strange problem which I can't seem to work out the reason for. I have a series of columns of which one is calculated. When I go to save the values (be it a new row or an update), the field which the calculated column is linked with does not get updated.

My code for creating the calculated column is as follows:

GridViewDecimalColumn col = new GridViewDecimalColumn();
            col.Name = "Total";
            col.HeaderText = "Total";
            col.FormatString = "{0:c0}";
            col.MaxWidth = 90;
            col.MinWidth = 90;
            col.Width = 90;
            col.FieldName = "Total";
            col.FormatInfo = CultureInfo.CreateSpecificCulture("en-GB");
            radGridView1.Columns.Add(col);
            radGridView1.Columns["Total"].Expression = "IsNull(Ink, 0) + IsNull(PB_Products, 0) + IsNull(Office_Supplies, 0) + IsNull(Freight, 0)";
            radGridView1.Columns.Move(11, 9);

For the Save Button, I'm using TableAdapter.Update()

Where abouts have I gone wrong?

Regards,

Guy

Alexander
Telerik team
 answered on 10 Oct 2011
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)
Chart (obsolete as of Q1 2013)
Form
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?