Telerik Forums
UI for WinForms Forum
2 answers
78 views

to telerik :

pleaze present this possible ...

thanks beforehand.

Gal
Top achievements
Rank 2
 answered on 18 Mar 2010
10 answers
127 views
I can't seem to get RadMenuItems to be drawn with the arrow next to them when they are top level menus.  They show in the designer when I change the item's ShowArrow property to true.

I also want to be able to Edit UI Items and change the arrow direction to down and change the arrow's color.  After I get done in the designer, it looks great, but when I run I get no arrows, and sometimes when rebuilding the project, the arrow direction does not stay on my selection at design-time.
Nikolay
Telerik team
 answered on 18 Mar 2010
1 answer
116 views
Hi,

Please cen anyone help me with the following, I am trying to retrieve the values from a NewRow using the rowvalidated event, all is fine, the first time you add a new row

The second time you add a new row I am unable to get the values from the CheckBox Column

Is there any other way of doing this, am I doing it correctly??

I have attached the code for review

Thanks

Pieter
private void gridAddress_RowValidated(object sender, Telerik.WinControls.UI.RowValidatedEventArgs e)  
        {  
            if (e.Row is Telerik.WinControls.UI.GridViewNewRowInfo)  
            {  
                Telerik.WinControls.UI.GridViewDataRowInfo newRowInfo = (Telerik.WinControls.UI.GridViewDataRowInfo)((Telerik.WinControls.UI.GridViewNewRowInfo)e.Row).DataRowInfo;  
                //...    
                if (newRowInfo != null)  
                {  
                    CustomerAddress add = new CustomerAddress();  
 
                    add.CustomerID = currentitem.CustomerID;  
 
                    add.Addresstype = AddressTypes.AddressTypesByID(Convert.ToInt32(newRowInfo.Cells["AddressType"].Value));  
                    add.Address1 = newRowInfo.Cells["Address1"].Value.ToString();  
                    add.Address2 = newRowInfo.Cells["Address2"].Value.ToString();  
                    add.Suburb = newRowInfo.Cells["Suburb"].Value.ToString();  
                    add.City = newRowInfo.Cells["City"].Value.ToString();  
                    add.Zipcode = newRowInfo.Cells["ZipCode"].Value.ToString();  
                                                    
                    //if (newRowInfo.Cells["IsPrimary"].Value.Equals(true))  
                    //{  
                    //    add.IsPrimary = Convert.ToBoolean( newRowInfo.Cells["IsPrimary"].Value.ToString() );  
                    //}  
                    //else  
                    //{  
                    //    add.IsPrimary = false;  
                    //}  
                      
                    add.IsPrimary = Convert.ToBoolean(newRowInfo.Cells["IsPrimary"].Value.ToString());  
 
                    currentitem.CustomerAddress.Add(add);  
                }  
 
            }    
        } 
Svett
Telerik team
 answered on 18 Mar 2010
3 answers
145 views
I like the way Chart control is displayed in the grid. here.
http://dotnetslackers.com/CSharp/re-231250_Multiple_child_views_with_RadGridView_for_WinForms.aspx

This gives me a thought.   Can i display a userControl in a Grid.    Maybe in a column or any other alternative .

Regards
Lee
Jack
Telerik team
 answered on 18 Mar 2010
1 answer
51 views
Lets say we don;t want to use any existing theams.

We can design our own new using given tool, which creates an XML file.  
<XmlTheme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ThemeName="HighlightNewRow">
  <BuilderRegistrations> ........

Are there any custom Theams readily available to download as XML file ?

Regards
lee.
Nikolay
Telerik team
 answered on 18 Mar 2010
3 answers
512 views
dear support
I have downloaded your trial version of telerik-radcontrols for-winforms q2-2009 sp1 and need to access grid footer to add total row in grid
could you hepl me plz
Jack
Telerik team
 answered on 18 Mar 2010
4 answers
189 views
Hi
i have a carousel added to my form,
Carousel Properties that have to implemented:
1- Its a straight vertical Path
2- Suppose to have Buttons with image on left and and corresponding text on the right for each button.
3- When user enters the mouse on a button, it is suppose to grow in size with the image increasing in size(i.e Image Replaced by a higher resolution image), (Note:-Buttons are Transparent with no boundaries).
4-Can i display the path of carousel at run time, like a solid line.

Problems
I have added the carousel, with a basier path, its vertical, i have added the buttons, the buttons seems to be aligned at the center of the path, i want them left aligned because it problems with images which are not even when added to buttons, due to their different sizes.
Can u please help me figure out how i can add images and text at design time to each button, rather than doing from the theme builder, make them grow and shrink on mouse events listed above, display solid basier path at run time, apply a different theme to each button using the theme builder rather than applying a standard theme to the whole carousel. theme supposed to be an sml file loaded from a theme manager.

i would really appreciate a quick response and some application which will enable me to do all of this stuff.

P.s. A seggestion
It would be highly effective if you guys can document a help file of a complete project like the carousel and book store example online, listing every function used, and all processes, it would help a novice programmer like me and many other to find a solution to their problems effectively and decrease design times.
Nikolay
Telerik team
 answered on 18 Mar 2010
1 answer
76 views
How system decides the height of the Child Grid ?  When there are no child records the grid height seems to be quite small .
I want set the height of child grid to a fixed size.  How can i do that ?

Regards
Lee.
Martin Vasilev
Telerik team
 answered on 18 Mar 2010
6 answers
387 views
I am having a problem with the RadGridView not allowing the user to re-order the columns via column header dragging after the grid has been bound to a data source. I can click and begin to drag a column header, however once I release the mouse button, the column returns to its original position, not the position I dropped it at. This only happens after I have bound the grid to a datasource.

Am I doing something wrong or is this expected behavior?

Using GridView version 2009.2.9.729

The code below is a form with a RadGridView and 3 columns. After I click the bind button, I can no longer re-order columns:

using System;  
using System.Drawing;  
using System.Windows.Forms;  
using System.ComponentModel;  
using Telerik.WinControls.UI;  
 
namespace TelerikGridTest  
{  
    public partial class SimpleGridTest : Form  
    {  
        private Telerik.WinControls.UI.RadGridView radGridView1;  
 
        private void btnBind_Click(object sender, EventArgs e)  
        {  
            BindingList<SomeObject> data = new BindingList<SomeObject>();  
            data.Add(new SomeObject("1.1", "1.2", "1.3", "1.4"));  
            data.Add(new SomeObject("2.1", "2.2", "2.3", "2.4"));  
            data.Add(new SomeObject("3.1", "3.2", "3.3", "3.4"));  
 
            radGridView1.DataSource = data;  
            //now I can't re-order columns  
        }  
 
        private void btnUnbind_Click(object sender, EventArgs e)  
        {  
            radGridView1.DataSource = null;  
        }  
 
        public SimpleGridTest()  
        {  
            GridViewTextBoxColumn gridViewTextBoxColumn1 = new GridViewTextBoxColumn();  
            GridViewTextBoxColumn gridViewTextBoxColumn2 = new GridViewTextBoxColumn();  
            GridViewTextBoxColumn gridViewTextBoxColumn3 = new GridViewTextBoxColumn();  
            this.radGridView1 = new Telerik.WinControls.UI.RadGridView();  
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();  
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterGridViewTemplate)).BeginInit();  
            this.SuspendLayout();  
            this.radGridView1.Location = new System.Drawing.Point(15, 50);  
            gridViewTextBoxColumn1.FieldAlias = "Val1";  
            gridViewTextBoxColumn1.FieldName = "Val1";  
            gridViewTextBoxColumn1.HeaderText = "column1";  
            gridViewTextBoxColumn1.UniqueName = "column1";  
            gridViewTextBoxColumn1.Width = 150;  
            gridViewTextBoxColumn2.FieldAlias = "Val2";  
            gridViewTextBoxColumn2.FieldName = "Val2";  
            gridViewTextBoxColumn2.HeaderText = "column2";  
            gridViewTextBoxColumn2.UniqueName = "column2";  
            gridViewTextBoxColumn2.Width = 150;  
            gridViewTextBoxColumn3.FieldAlias = "Val3";  
            gridViewTextBoxColumn3.FieldName = "Val3";  
            gridViewTextBoxColumn3.HeaderText = "column3";  
            gridViewTextBoxColumn3.UniqueName = "column3";  
            gridViewTextBoxColumn3.Width = 150;  
            this.radGridView1.MasterGridViewTemplate.Columns.Add(gridViewTextBoxColumn1);  
            this.radGridView1.MasterGridViewTemplate.Columns.Add(gridViewTextBoxColumn2);  
            this.radGridView1.MasterGridViewTemplate.Columns.Add(gridViewTextBoxColumn3);  
            this.radGridView1.Name = "radGridView1";  
            this.radGridView1.Size = new System.Drawing.Size(600, 355);  
            Button btnBind = new Button();  
            btnBind.Text = "Bind to Data";  
            btnBind.Location = new Point(15, 15);  
            btnBind.Size = new Size(100, 25);  
            btnBind.Click += btnBind_Click;  
            this.Controls.Add(btnBind);  
            Button btnUnbind = new Button();  
            btnUnbind.Text = "Unbind from Data";  
            btnUnbind.Location = new Point(115, 15);  
            btnUnbind.Size = new Size(100, 25);  
            btnUnbind.Click += btnUnbind_Click;  
            this.Controls.Add(btnUnbind);  
            this.ClientSize = new System.Drawing.Size(630, 415);  
            this.Controls.Add(this.radGridView1);  
            this.Name = "SimpleGridTest";  
            this.Text = "SimpleGridTest";  
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterGridViewTemplate)).EndInit();  
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();  
            this.ResumeLayout(false);  
            this.PerformLayout();  
        }  
    }  
 
    public class SomeObject  
    {  
        public SomeObject() { }  
        public SomeObject(string val1, string val2, string val3, string val4)  
        {  
            Val1 = val1;  
            Val2 = val2;  
            Val3 = val3;  
            Val4 = val4;  
        }  
        public string Val1 { get; set; }  
        public string Val2 { get; set; }  
        public string Val3 { get; set; }  
        public string Val4 { get; set; }  
    }  
}  
 
Zsolt Hunyadi
Top achievements
Rank 1
 answered on 18 Mar 2010
2 answers
150 views
Hi room !

When I Select Cell on RadGridView, I want only color Cell Selected.

I don't want color border that row.

Help me!

Thanks 
jam ban
Top achievements
Rank 1
 answered on 18 Mar 2010
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
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
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?