Telerik Forums
UI for WinForms Forum
3 answers
141 views
I have a hierarchical RadGridView that I am putting a RadPanel with a user control into during cell formatting.  When I expand the row to look at the control all I see is the AddNewRow Pane.  If I set AllowAddNewRow to false the row never expands.  Below is the code I am using to do this. Any help I could get with this would be great.

private void TemplateRelations()
{
    GridViewTemplate template = new GridViewTemplate();
 
    template.Caption = "Tracking Info";
    template.DataSource = trackingInfos;
    gvTrackingInfo.Templates.Add(template);
    template.AllowRowResize = false;
    template.ShowColumnHeaders = false;
    template.ShowRowHeaderColumn = false;
    template.Columns[0].Width = 800;
    template.Rows[0].Height = 500;
    for (int i = 1; i < template.Columns.Count; i++)
    {
        template.Columns[i].IsVisible = false;
    }
 
    GridViewRelation relation = new GridViewRelation(this.gvTrackingInfo.MasterTemplate, template);
    relation.ParentColumnNames.Add("TrackingNumber");
    relation.ChildColumnNames.Add("TrackingNumber");
    this.gvTrackingInfo.Relations.Add(relation);
}
 
 
private void gvTrackingInfo_CellFormatting(object sender, CellFormattingEventArgs e)
{
    TabContainer tabContainer = new TabContainer();
    GridViewDataColumn column = e.CellElement.ColumnInfo as GridViewDataColumn;
    if (column != null && column.OwnerTemplate.Caption == "Tracking Info")
    {
        RadPanel panel = new RadPanel();
        tabContainer.Height = 500;
        tabContainer.Width = 800;
        panel.Controls.Add(tabContainer);
        panel.TextAlignment = ContentAlignment.MiddleCenter;
        e.Row.Height = 500;
        e.Column.Width = 800;
        e.CellElement.Children.Add(new RadHostItem(panel));
    }           
}

Jack
Telerik team
 answered on 03 Feb 2011
2 answers
91 views
The reminder is working fine except for it shows all appointments old and new.
Am I missing something?
Is there a parameter to set on an appointment like a "dismissed" so the reminder doesn't display it?

Please I need help! ;)
Thanks...
Dobry Zranchev
Telerik team
 answered on 03 Feb 2011
6 answers
178 views
I am trying to use RadGridView.RowPain. I need an extra header row to show that the columns are categorized:

e.g.

[-------- Category A --------][-------- Cat B --------][-------- Category C --------]
[--- Col 1 ---][--- Col 2 ---][------- Col 3  --------][--- Col 4 ---][--- Col 5 ---]

This should be relatively easy, except I don't know how to find out the cell locations for the column headers. Because my cells cannot be moved, I tried adding up the cell widths, I had some success - except when use the horizontal scroll bar.

Please can someone explain how to get the cell locations.

Thanks
Richard Slade
Top achievements
Rank 2
 answered on 03 Feb 2011
7 answers
308 views
HI,

Is to edit the property of RadSpinEditor.Text??
Example put in the time format.

Marcelo
Peter
Telerik team
 answered on 03 Feb 2011
1 answer
358 views
Hello:

Our controls do not validate until after the user tabs off, which is the default for binding (OnValidating). However, in the case where the use clicks a save button, validation is taking place after the save event fires. This leads to situations where the changes aren't saved and the user closes the form, losing their changes.

In Windows Forms, you could call ValidateChildren to force the controls to bind to the underlying data object. This doesn't appear to work with Telerik controls.

Is there a way to force changes to commit to the data object before the save takes place? I don't want to change the binding DataSourceUpdateMode to OnPropertyChanged.

Thanks,
Travis Parks
Stefan
Telerik team
 answered on 03 Feb 2011
3 answers
158 views
Hi there guys

I'm trying to customize the filtering row in a Winform Telerik Grid. What I want is to hide the Filter Icon and only show the text boxes. When a user enteres text in the text box it should apply the "Contains" filter on the column.

I have been using Telerik ASP Net. Radgrid quite a lot and could set the "ShowFilterIcon=false" and on the gridboundcolumn and "AutoPostBackOnFilter=true" to get the desired functionality.

Any hints?
Richard Slade
Top achievements
Rank 2
 answered on 03 Feb 2011
9 answers
160 views
Is automatic DataBinding with a TelerikDropDownButton possible?
When I'm binding a DataSoure to a TelerikDropDownButton does it only shows the first line in the table. 
Must I create manually all items by a function when I load the form or is here an automatic mechanism?

thanks in advance
guy
Petar Mladenov
Telerik team
 answered on 03 Feb 2011
1 answer
142 views
I need to use two button columns on a grid view and to pop up win forms when each button is clicked.
On the cell click event other columns are identified but not the button columns,

How can I fix this??
Any help will be highly appreciated.

:-(
Richard Slade
Top achievements
Rank 2
 answered on 02 Feb 2011
1 answer
121 views
Hello.

According to this thread, I want to ask if radgridview support transposing?

Thanks in advance.
Richard Slade
Top achievements
Rank 2
 answered on 02 Feb 2011
3 answers
225 views
Good afternoon Telerik :)

There seems to be a problem with form closing events when using RadDock with MDI forms and AutoDetectMdiChildren. When I call the Close function of a docked form, the Closing event of the form is call twice. This does not happen when I close the form from the RadDock control (for example, with middle click on the tab document). This is a link to a project that demonstrates this problem.
This behavior breaks our data checking process (unsaved or invalid data etc).

Additionaly if someone cancels (setting the e.Cancel property of CancelEventArgs to true) the closing process on the second fire of the event, the form will close but the docking document will remain open.

I am using the latest trial release (Q3 2010).

Thank you in advance for the answer Telerik team :)
Richard Slade
Top achievements
Rank 2
 answered on 02 Feb 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?