Telerik Forums
UI for WinForms Forum
3 answers
174 views
Hi,

Is there any where to get or find more new Themes?

Thx
Nick
Telerik team
 answered on 15 Oct 2009
4 answers
154 views
I see from previous forum posts that you had a plan to convert the ASP.net Editor to make it available in Windows Forms, but I don't know whether that is stil part of your plans.

I have a need to replicate my application in both Windows Forms and ASP.net, and a WYSISYG XHTML compliant editor is something I need, and I use Editor in ASP.net to provide this. Do you still have plans to include a Windows Forms (or WPF) version of this control ?

Phillip Hamlyn
Rumen
Telerik team
 answered on 15 Oct 2009
4 answers
107 views
Hi

I need to masked a column like {(123)-123-1234}, I use this mask {(###)-###-####} or {(000)-000-0000} but this are wrong.
HamiD Mayeli
Top achievements
Rank 1
 answered on 15 Oct 2009
3 answers
279 views
I would like to add a button, maybe two, to the GroupHeader of a RadGroupBox, I've tried the following, however the button is not the correct size, it looks like it's being rendered at one pixel wide:

public class TestGroupBox : RadGroupBox
{
    private StackLayoutPanel  m_objStackLayoutPanel  = new StackLayoutPanel ();
    private RadButtonElement m_objButton = new RadButtonElement();

    protected override void CreateChildItems( RadElement parent )
    {
        base.CreateChildItems( parent );

        m_objStackLayoutPanel.Orientation = System.Windows.Forms.Orientation.Horizontal;

        ImageAndTextLayoutPanel panel = this.GroupBoxElement.Header.Children[2] as ImageAndTextLayoutPanel;
        this.GroupBoxElement.Header.Children.RemoveAt( 2 );
        this.GroupBoxElement.Header.Children.Add( m_objStackLayoutPanel );

        m_objStackLayoutPanel.Children.Add( m_objButton );
        m_objButton.Size = new System.Drawing.Size( 16, 16 );
        m_objStackLayoutPanel.Children.Add( panel );
    }
}

Nick
Telerik team
 answered on 15 Oct 2009
1 answer
282 views
Hello,

I was trying to use the radgrid and I have 2 columns.  One column has the names of files (example, test.docx, Instructions.pdf)  and the other column I want to use to display the icons for these different extensions (example, display a word icon for word documents and so on).  I am currently using a binding source to bring back the filenames for the first column and the second column is blank. 

How do I set the picture in that column through code?  I do not need the logic to display the correct icon, I just can't figure out how to populate the column with my own information.

Thanks,
Jack
Telerik team
 answered on 15 Oct 2009
1 answer
106 views
Dear,

I have a question regarding drag & drop on a grouped GridView.
The drag & drop functionality (drag & drop between two GridViews) works but now I want to drag on the header of a group.
I need to get the ID or text of the header group.

private void gridAssigned_DragDrop( object sender, DragEventArgs e ) { 
            if ( e.Data.GetDataPresent( typeof( GridViewDataRowInfo ) ) ) { 
                // dropped on which group? 
                // need ID or text... 
                GridViewRowInfo droppedDriver = GetRowAtPoint( gridAssigned, gridAssigned.PointToClient( new Point( e.X, e.Y ) ) ); 
                // row I'm dragging 
                GridViewDataRowInfo draggedInfo = ( GridViewDataRowInfo )e.Data.GetData( typeof( GridViewDataRowInfo ) ); 
            } 
        } 
 
private GridViewRowInfo GetRowAtPoint( RadGridView grid, Point location ) { 
            RadElement element = grid.ElementTree.GetElementAtPoint( location ); 
 
            // headercells are for grouping 
            if ( element is GridHeaderCellElement ) { return null; } 
            if ( element is GridCellElement ) { return (( GridRowElement )element).RowInfo; } 
 
            return null
        } 

Thanks in advance!
Jack
Telerik team
 answered on 15 Oct 2009
2 answers
112 views

When I set the grid to smaller Row Size like that:

grid.GridElement.RowHeight = (int)Math.Floor(this.GridElement.RowHeight * 0.9); 
grid.GridElement.TableHeaderHeight = (int)Math.Floor(this.GridElement.TableHeaderHeight * 0.95); 

The dynamic sizing of the Grouping Panel does not seem to function correctly anymore. The grouped Headers are not drawn properly and the x mark is barely visible anymore.

What's the correct way to make data rows a little smaller, but retain the functionality of the grouping panel?
Regards

Erwin


Jack
Telerik team
 answered on 15 Oct 2009
1 answer
149 views
Hi, I'm experiencing a problem of RadMenu item display.

As shown in the attachment PNG, menu items are clipped on the right. This artifact can be observed in other cases, like a drop-down menu shown in a ribbon component, for example.

I also have prepared a sample project, which is absurdly simple but shows the problem on my PC. Please refer to "http://www.softgate.jp/directdl/MenuTest.zip".

For you information, I am using Japanese VS 2008 SP1 on Japanese Vista x64 Ultimate.

Any help would be appreciated. Thanks in advance.

Edit:
I noticed that I was just placing RadMenuButtonItem instead of RadMenuItem. Sorry for bothering you.
Jack
Telerik team
 answered on 15 Oct 2009
1 answer
124 views
Hi,

When localizing our application everything localizes fine, except for the HeaderText on columns in all the gridviews in our application...?

All columns are designed at designtime using the property editor and localization is preformed runtime by:
CultureInfo ci = new CultureInfo(SomeLCID);
Thread.CurrentThread.CurrentUICulture = ci;

All other standard controls is going well...just not the header text on the gridview columns... any clues or hints on why the grids wont localize? Or anything i can try to find out more about the problem?

We use:
Visual Studio 2008
Telerik WinForms controls, v. 2009.1.9.414 (v2.0.50727)

Thanks in advance!

/Thomas
Jack
Telerik team
 answered on 15 Oct 2009
1 answer
141 views
Hi all.

I'm new to Telerik WinForms which I'm using to produce a quick prototype. I'm looking for a simple way to populate a GridView but haven't found a simple way to adjust the columns. Initially I've tried to use the Property Builder to adjust the size of each column but then I can't assign a DataTable to the DataSource (which I understand is the preferred way of adding data to a grid) without adding new columns to the grid.
 
Then I stumbled upon AutoResizeColumns which seems to offer an alternative that would work but it doesn't look like RadGridView support this. If so, how do I add data to the grid without setting each column size in code?

Regards, Jon
Jon Ronnenberg
Top achievements
Rank 1
 answered on 14 Oct 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
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
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?