
public RadDocument ImportDocx(){ RadDocument document = null; IDocumentFormatProvider provider = new DocxFormatProvider(); OpenFileDialog openDialog = new OpenFileDialog(); openDialog.Filter = "Documents|*.docx"; openDialog.Multiselect = false; DialogResult dialogResult = openDialog.ShowDialog(); if (dialogResult == System.Windows.Forms.DialogResult.OK) { using (FileStream stream = new FileStream(openDialog.FileName, FileMode.Open)) { document = provider.Import(stream); } } return document;}
Hi there
I asked this question a day ago and it wad deleted!
I asked how can i use buttons to zoom and pan a chart???
regards
Jeremy

Hi,
I'm having a problem with setting a header in a radprintdocument. I'm setting a leftheader only. It looks fine on the the first page, but on further pages, it prints on top of the content of the document -- as in, the content and the header start at the same point on the page, instead of the content being printed below the header.
Here's my code:
Header = "Date: " & lblDateTime.Text & " To: " & txtTo.Text
If txtCC.Text <> "" Then
Header = Header & " CC: " & txtCC.Text
End If
Document.LeftHeader = Header
Document.DefaultPageSettings.Landscape = False
Document.DefaultPageSettings.PrinterSettings.Copies = 1
Document.AssociatedObject = txtEmail
Document.PrinterSettings.PrinterName = Printer
Document.Print()
exporter.RunExport(
Me.RadGridView1, strFilename, ExportToExcelML.ExcelMaxRows._65536, exportThemeColors)
Thanks for any hint.
regards
raju

How do I add event handler of HyperlinkOpening for hyperlink column field in C#? I saw the following code but I cannot link it to radgridview. I can add event via property windows for radgridview but don't know how to do it for 1 column only. Thanks.
Private Sub RadGridView1_HyperlinkOpening(sender As Object, e As HyperlinkOpeningEventArgs)
e.Cancel = True
Dim f As New Form()
f.Text = e.Column.Name + " " + e.Row.Index
f.Show()
End Sub

Hello there,
I believe I've found a bug in gridview. After adding a childtemplate (1) to a childtemplate (2) of the mastertemplate, any change to the grid will 'disconnect' childtemplate (1) from childtemplate (2).
To work around, add the following in your *.designer.cs after the changes:
this.gridTemplate2.Templates.AddRange(new Telerik.WinControls.UI.GridViewTemplate[] { this.gridTemplate1});Of course, this is incredibly annoying to do every time you change the grid, so I'm hoping another solution is possible.
Version: v. 2016.1.216.40

Hello,
there seems to be a problem with the DropDownList (latest version, the last 2015 version worked fine) when used inside a Excel AddIn.
A demo project is attached (not a png it's a zip file), you need Excel 2013 or 2016 installed to debug the demo project.
When you run this, there is a new ribbon tab in the Excel (tab2) and a new button (button1) to click.
If you take the same code from the RadForm2 and make a new WinForms Project and do the same thing as in the Excel AddIn, the code works fine.
Kind Regards,
Christian

Hi there
How can i change the data point colours?
i have tried
LineSeries3.BorderColor = Color.Green;
LineSeries3.BorderColor2 = Color.Green;
LineSeries3.BorderColor3 = Color.Green;
LineSeries3.BorderColor4 = Color.Green;
LineSeries3.ForeColor = Color.Green;
but it changes the line but not the point colour/series colour
i have attached a image showing what i done.
Hello
I have created a LinearGauge that is in scrollable windows form, on scrolling the UI of Gauge distorts in random manner. I have attached the screenshot alongwith to understand what exactly is happening to the gauge on scrolling. Please help me at the earliest regarding the issue.
Thanks in advance.
Raviesh