Telerik Forums
UI for WinForms Forum
1 answer
246 views
Is there a way to make specific columns, rows or even certain cells read-only in the grid on the side of the gantt chart. For example, I don't want users to be able to edit the name or dates of a task directly in the grid. Instead I want the user to have to double click on a line in the grid to bring up a window where they can edit those details.
Dimitar
Telerik team
 answered on 03 Jun 2016
7 answers
456 views
Hi,

How can we import rtf into RadRichTextbox. We got the following code.

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;
}

But, it is not working. It is crashing while it tries to create the stream.

Please help us on this.
Dimitar
Telerik team
 answered on 02 Jun 2016
1 answer
166 views

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

Dimitar
Telerik team
 answered on 02 Jun 2016
0 answers
108 views

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()

Mary
Top achievements
Rank 1
 asked on 02 Jun 2016
5 answers
489 views
Hi

I want to export RadGridView into excel file, with some header information eg(Report title, country, report duration), currently i did not see any methods to achive this. I use the below method to generate excel file.

exporter.RunExport(

Me.RadGridView1, strFilename, ExportToExcelML.ExcelMaxRows._65536, exportThemeColors)

Thanks for any hint.

regards
raju

 

Dimitar
Telerik team
 answered on 02 Jun 2016
2 answers
262 views

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

Hristo
Telerik team
 answered on 01 Jun 2016
1 answer
127 views

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

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 Jun 2016
8 answers
133 views

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

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 Jun 2016
4 answers
551 views

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.

Jeremy
Top achievements
Rank 1
 answered on 31 May 2016
3 answers
178 views

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

Raviesh
Top achievements
Rank 1
 answered on 31 May 2016
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?