Telerik Forums
UI for WinForms Forum
3 answers
128 views
Using 2011 Q1 Release.  I added a new grid to a VB.Net form.  I opened the property builder and added a column.  When I clicked OK, the column was not on the grid.  When I reopened the property builder, the column I added was not there.  See attachments.
Stefan
Telerik team
 answered on 19 Apr 2011
1 answer
187 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
392 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
135 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
65 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
94 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
166 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
256 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
103 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
157 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
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
CheckedDropDownList
ProgressBar
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
NavigationView
VirtualKeyboard
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?