Telerik Forums
UI for WinForms Forum
1 answer
144 views
Hi,
           I have a RadDropdownbutton on a Ribbionbar i want on the dropdown some colors and on selecting the particular color my whole application shld change to that color how can i do please explain me.....Refer the screenshot.




Thanks
Chinna
Richard Slade
Top achievements
Rank 2
 answered on 19 Apr 2011
3 answers
132 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
198 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
400 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
140 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
73 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
106 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
169 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
266 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
111 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
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
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
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
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
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
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
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?