Telerik Forums
UI for WinForms Forum
1 answer
229 views
Ok, I've read about how the RadTextBox is the MS Hosted, but I'm not 100% what it all means.

Basically. I want to stop the default context menu from popping up, and add my RadContextMenu instead.

I have the RadcontectmenuManager added to the form, and the RadContextMenu property set in the radtextbox properties, but the default menu still appears,

Can this be done?

Thanks!
Ivan Petrov
Telerik team
 answered on 19 Apr 2011
5 answers
432 views
Hi,

          Is there a method or a work around to Export the heirarchial RadGridView data to Excel?

I tried the following methods:
  1. Using Telerik.Data.RadGridViewExcelExporter 
  2. Using RadGridReportingLite. sample code using RadLite.

            (RadGridReport rep = new RadGridReport(strFileName);

            rep.ReportFormShow(

this, this.radGridView1);

both of them are exporting only MasterTable Data. child Table data is not exported.

Please suggest any solution.

Thank you,
Raja.

Martin Vasilev
Telerik team
 answered on 19 Apr 2011
3 answers
193 views
Hello,

I'm evaluating the GridView component. In any case there will be no detail data bound to the grid.
Only if I'm using AutoGenerateHierarchy = true the detail will appear.

Previous steps in the designer:
- Defined two columns for master template (Vorname, Nachname) -> FieldName and HeaderText
- Created a new template called 'childTemplate' and add two columns (Firma, Ort) -> FieldName and HeaderText

As follow the code behind:
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Telerik.WinControls.UI;
 
namespace TestForm
{
    public partial class Form1 : Form
    {
        private readonly List<Person> _personen = new List<Person>();
 
        public Form1()
        {
            InitializeComponent();
 
 
            _personen.AddRange(new[]
                              {
                                  new Person {Vorname = "Danny", Nachname = "Meier", Jobs = new List<Job>
                                                                              {
                                                                                  new Job {Firma = "Heiniger & Partner AG", Ort = "Wetzikon"},
                                                                                  new Job {Firma = "Scor AG", Ort = "Zürich"},
                                                                                  new Job {Firma = "ERNI Consulting AG", Ort = "Zürich"}
                                                                              }},
                                  new Person {Vorname = "Michael", Nachname = "Bolliger", Jobs = new List<Job>()},
                                  new Person {Vorname = "Daniel", Nachname = "Kuster", Jobs = new List<Job>
                                                                                              {
                                                                                                  new Job {Firma = "Heiniger & Partner AG", Ort = "Wetzikon"}
                                                                                              }}
                              });
        }
 
        private void Form1Load(object sender, EventArgs e)
        {
            radGridView1.AutoGenerateHierarchy = false;
 
            var relation = new GridViewRelation(radGridView1.MasterTemplate, childTemplate);
            relation.ChildColumnNames.Add("Job");
            radGridView1.Relations.Add(relation);
 
            radGridView1.DataSource = _personen;
        }
    }
 
    public class Person
    {
        public string Vorname { get; set; }
        public string Nachname { get; set; }
        public List<Job> Jobs { get; set; }
    }
 
    public class Job
    {
        public string Firma { get; set; }
        public string Ort { get; set; }
    }
}

Thank you for any assistance.

Kind regards,
Danny
Richard Slade
Top achievements
Rank 2
 answered on 19 Apr 2011
2 answers
89 views
Dear All,

I need you help in drawing a line graph which has the following data:

X-Axis : 0.2 0.3 0.5 0.8 1.2
Y-Axis: 16 19 21 23 26

How can specify the x and y value of the added item.

Thanks
Jalal Eddin
Top achievements
Rank 1
 answered on 19 Apr 2011
1 answer
142 views
hi, if I right click and add recurring item on the header part of the scheduler, it doesn't put the time in?  my version is 2010.2.10.914
Ivan Todorov
Telerik team
 answered on 19 Apr 2011
5 answers
233 views
Hello,

in our scenario we have a treeview bound with self referencing items.
The goal is to serialize the expansion node states when leaving the application and restoring them on resumption.
While the serialization works just fine we have run into an issue trying to expand and/or collapse nodes when they get created.
On  first glance the NodeFormatting event seemed promising since it gets fired at the right time.
Unfortunately any manipulation inside its handler, no matter how small, causes the node not to be shown in the tree, thus leaving our tree empty, since all nodes get formatted this way. We currently set this issue aside, but need to implement it at some point in the future.
Any help is greatly appreciated.

Falk Wegener
orgAnice Software GmbH
Richard Slade
Top achievements
Rank 2
 answered on 19 Apr 2011
3 answers
319 views
Is there a way to rotate the text of the column header by 180 degrees when it is set to vertical?

What I mean by this is that I have my column headers set to vertical, but the text is written from top down, and I would like it to be written from the bottom up.

Thanks.

EDIT: The title should read 180 degrees
Richard Slade
Top achievements
Rank 2
 answered on 19 Apr 2011
2 answers
144 views
I had a look at the "community code library" article

export-gridview-to-html-for-copy-paste.aspx

1. Seems that the code needs to be updated a little to be compatible with  Q1 2011.

2. With Copy and Paste being such a basic and essential feature for many apps, is it not possible for Telerik to provide us with an example/demo project in VB.NET for this kind of functionality.   I've got a few "bugs" using the code in the example so a complete project with the relevant code would be most welcome.

3. Is there anyone who can help that has used copy (from RadGrid) and paste (to MS Word)  successfully?

Many thanks


Martin Vasilev
Telerik team
 answered on 19 Apr 2011
2 answers
191 views
Hello.
I insert MultiComboBoxColumn to radGridView and i want it auto complete = true.
Ex: I type "h" it will show "hello" from db

i used
GridViewMultiComboBoxColumn col = new GridViewMultiComboBoxColumn();
           col.DataSource = mh.ToList();
           col.DisplayMember = "ProductName";
           col.ValueMember = "ProductId";
           col.FieldName = "ProductId";
           col.HeaderText = "Product Name";
           col.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDown;
           col.AutoCompleteMode = AutoCompleteMode.SuggestAppend;

or

FilterDescriptor descriptor = new FilterDescriptor(col.DisplayMember, FilterOperator.StartsWith, string.Empty);
col.FilterDescriptor = descriptor;

but it not work.

Any suggestions for me.
Sorry my english not well.


Thanks,
NLT
thien nluong
Top achievements
Rank 1
 answered on 18 Apr 2011
5 answers
150 views
The Help files for the Telerik WinForms Controls was supposed to become integrated into the Visual Studio help with the latest release. That does not seem to be the case for my coworkers and I in Visual Studio 2010 SP1. When trying to use the .chm file on its own I get both a .chm and a .chw on my desktop, neither of which is usable. Any suggestions or assistance would be greatly appreciated!
Stefan
Telerik team
 answered on 18 Apr 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)
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?