Telerik Forums
UI for WinForms Forum
1 answer
223 views
Hello,
I have a grid with a GridViewDecimalColumn.  When this cell goes into edit mode, I would like to have the regular editor displayed but along side it I want to have a button that the user can click to launch a modal dialog.  I have searched extensively on the forums and I have not found a way to accomplish this with the Decimal column (there appear to be other samples using a gridviewcomboboxcolumn, but I could not adapt that to meet my needs).  FYI - I am using the 2009 Q2 SP1 release.

Any help is greatly appreciated.

Thanks,
Sean

 

Sean
Top achievements
Rank 1
 answered on 16 Nov 2009
1 answer
83 views
I like the new Visual Style Builder, and also watched a quick How-to Video on it, but I can't seem to get the custom theme to work. I created a Theme for RadMenu on the Theme Builder. Save it, and exported the zip file. I've copied the Zip Content (CSS and folder Menu) into the "App_Theme\Default" folder. I then set the RadMenu's EnableEmbeddedSkins="false", and set Skin to the new skin name. Nothing happens. Please help.

I am running IIS 7 on Vista 64.

Aaron
Paul
Telerik team
 answered on 16 Nov 2009
1 answer
272 views
Hi
Would you help me, how I can bind Form Grid image column with resource situated in file directory. In database i save only image path and name

Thanks

Nikolay
Telerik team
 answered on 16 Nov 2009
3 answers
193 views
Hi,
I found some issue. I am using BindingList bounded to RadGridView.
Using memorystream to save and restoree layout of grid.

Problem is that when i am using grid.LoadLayout(ms); layout is loading well but there is some problem with groups
Look at 2 pictures
11.png - after LoadLayout
12.png - after group header click ( status )
When i change sorting groups are displayed well.

Using nevest telerik Q3

Regards
Zbyslaw Kanik
Top achievements
Rank 1
 answered on 16 Nov 2009
1 answer
196 views

I have a DockPanel docked to the right in a docking manager.

The DockPanel is AutoHide. When I move the cursor to it and it is opened, the width is very large. Is there a way to set this width?

If I dock the DockPanel the width is what I've set the DockPanel.Size = new Size( width, height) to be.

Regards, Jill-Connie Lorentsen

Nikolay
Telerik team
 answered on 13 Nov 2009
1 answer
114 views
Hello,

My test app, is a WinForm application:

I have a column in a DataTable named "my]field". I also have a RadGridView with the "EnableFiltering" property set to "True". I assign my DataTable to the DataSource of the RadGridView. At runtime, when I attempt to set a filter on this column, I get this error: "Syntax error: Missing operand after 'field' operator."

Any ideas how I can have a "]" character in a column name and the filtering still works?

Thanks,
-Gary
Julian Benkov
Telerik team
 answered on 13 Nov 2009
3 answers
155 views
Hello,

We have a project using Q2 SP1. There is a grid with an unbound checkbox in one form. If the data is less than a page, the checkbox column works like a charm. If the data is more than a page, any selection of the checkbox column in the 2nd page and beyond will case the grid scrolls back to page 1. Is there any quick fix for this? Thanks in advance.

BR/shortie
Jack
Telerik team
 answered on 13 Nov 2009
6 answers
422 views
Hi,

I want to have a grid with a combo box column, but for each row, I want to apply different DataSource in the combo cox. The values in the combo box are depending on another column value for each row.

I can't use the MasterGridViewTemplate, because it's applying the SAME datasource for each row, so what should I do?
Nikolay
Telerik team
 answered on 13 Nov 2009
3 answers
244 views
Hi, I'm currently trying the charting component in my winform application. (version 2009.1.9.316)
Now I've got just a treeview and a chart component on my winform.
when I click on a treenode the chart view is loaded with the data, everything works fine.
now as long as my treeview isn't reloaded the chart loads the data, but when in my main form is triggered to reload the treeview and I click a treenode, my program crashes. with the following exception:

general exception:    at Telerik.Charting.Chart.GetException(RenderEngine renderEngine, Exception ex)
   at Telerik.Charting.Chart.GetImage(Int32 width, Int32 height)
   at Telerik.Charting.Chart.GetImage()
   at Telerik.WinControls.UI.RadChart.GetImage()
   at Telerik.WinControls.UI.RadChart.OnPaint(PaintEventArgs e)
  
in the innerexception I'm reading system.nullreferenceexception
   at Telerik.Charting.ChartSeriesItem.set_Parent(ChartSeries value)
   at Telerik.Charting.ChartSeriesItem.Clone()
   at Telerik.Charting.ChartSeries.CopyItems(ChartSeries originalSeries)
   at Telerik.Charting.ChartSeries.CloneSeries()
   at Telerik.Charting.RenderEngine.InitializeChartElements()
   at Telerik.Charting.Chart.GetImage(Int32 width, Int32 height)

how is this possible? I didn't found anything bizar in my code. I added a try catch around the code that fills the chart, but the error isn't triggered here, but in my main try catch of my program.

my code:

public partial class HistoricData : Form 
    { 
        public IOController TheIO { getset; } 
 
        public HistoricData() 
        { 
            InitializeComponent(); 
             
        } 
 
        public void FillData(List<ChartHistoric> days, string title) 
        { 
            try 
            { 
                rchrtHistoricData.DataSource = days; 
                rchrtHistoricData.ChartTitle.TextBlock.Text = title; 
                rchrtHistoricData.PlotArea.XAxis.DataLabelsColumn = "Month"
                rchrtHistoricData.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = -45; 
                rchrtHistoricData.DataBind();     
            }catch(Exception ex) 
            { 
                Logging.Log.LogMessageToFile("HistoricData.cs -> FillData(List<ChartHistoric> days): " + ex.Message + ex.StackTrace); 
            } 
             
        } 
 
        public void FillTreeView(TreeNode overview) 
        { 
            trvMonths.Nodes.Clear(); 
            trvMonths.Nodes.Add(overview); 
        } 
 
        public void ClearChart() 
        { 
            rchrtHistoricData.DataSource = new List<ChartHistoric>();  
            rchrtHistoricData.DataBind(); 
        } 
 
        private void trvMonths_AfterSelect(object sender, TreeViewEventArgs e) 
        { 
            if(trvMonths.SelectedNode == nullreturn
 
            //ClearChart(); 
 
            //get the selected historic data for this month or whole year. 
            //data for the whole year 
            if(trvMonths.SelectedNode.Tag.Equals("1")) 
            { 
                FillData(TheIO.GetDataChartHistoricYear(), "Month view"); 
            } 
 
            if(trvMonths.SelectedNode.Tag.Equals("2")) 
            { 
                FillData(TheIO.GetDataChartHistoricMonth(trvMonths.SelectedNode.Text), "Week view"); 
            } 
        } 
    }



The function TheIO.GetDataChartHistoricMonth or TheIO.GetDataChartHIstoricYear are returning a list of ChartHistoric

public class ChartHistoric 
    { 
        public ChartHistoric(string _month, int _days) 
        { 
            month = _month; 
            days = _days; 
        } 
        private string month; 
        public string Month 
        { 
            get { return month; } 
            set { month = value; } 
        } 
        private int days; 
        public int Days 
        { 
            get { return days; } 
            set { days = value; } 
        } 
    } 

Thanks a lot

gerbrand
Top achievements
Rank 2
 answered on 13 Nov 2009
9 answers
359 views
What is the best way to have multiple column heading rows but only single data rows?  For example:

+----------+-----------------------------+  
|  Item    |           Service           |  
|          +-----------------------------+  
|          |   Qty    |   Description    |  
+----------+-----------------------------+  
|  Oil     |     4    |    Quarts        |  
+----------+-----------------------------+ 

I don't have a data column for Service, for example. That is just a way to show the user how the Qty & Desc columns are grouped. I tried the ColumnGroupView but did not see a way to create the sample above since the Item column seems to need a parent group.

When I try the HTMLView apparently I need to add unbound columns to the grid or else I cannot format the headings. Specifically this line of code fails if I do not add dummy columns for the extra group (like Service above):

GridTableHeaderRowElement

 

header = (grid.GridElement as GridTableElement).TableBodyElement.Children[0] as GridTableHeaderRowElement;

 

 

 

 

 

The Children collection is empty.  If I DO add dummy columns to the grid to make the headings work then my data rows have mutiple rows. In the example above, a text box appears in a row above the 4 and Quarts columns representing Service which we don't want.

Anyway please let me know if I'm missing something obvious to make this work.

Jack
Telerik team
 answered on 12 Nov 2009
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
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
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?