Telerik Forums
UI for WinForms Forum
13 answers
736 views
I have a radgridview which is bound to a dataset.
When the user sorts the radgrid, the dataset is not sorted equally so it does not give the correct data back for editing.

Is there a solution to that ?
Dimitar
Telerik team
 answered on 03 Jun 2016
1 answer
476 views

I have a problem with the Select All option in the RadCheckedDropDownList control to try Uncheck all items the application crashes when the number of items is greater than 400. Please help me....

Regards

Dimitar
Telerik team
 answered on 03 Jun 2016
1 answer
233 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
436 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
161 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
104 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
479 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
246 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
117 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
119 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
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
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?