Telerik Forums
UI for WinForms Forum
1 answer
168 views
Hello -

If I set the FieldName of a databound column, the corresponding values are displayed within the column.  This is normally desirable.  However, I happen to be using a custom element in that column, and the text drawn by the grid interferes with my element's visualization.  If I do not set the FieldName of the column, the problem disappears.  However, I then cannot sort or group the column.  Is there a way for me to sort/group by a databound column without the grid displaying the value of the column in the cells?

Thanks,
- Mike
Jack
Telerik team
 answered on 23 Apr 2009
1 answer
265 views
Hi where do I download the latest kit for CAB or SCSF for VS 2008 thanks
Jordan
Telerik team
 answered on 23 Apr 2009
5 answers
194 views
Hello experts!
I'm downloading the 2009 Q1 version of you winforms controls, but I can't find the CABS one.
I need to use CABS.
Now I'm using the last CABS version I found here, I can use this one with 2009 Q1?

Thanks!
Jordan
Telerik team
 answered on 23 Apr 2009
3 answers
154 views
Hi,

I cant get the summary row to show in my grid. This is the code I have for setting upo summary row

 

GridViewSummaryRowItem totals = new GridViewSummaryRowItem();

 

totals.Add(

new GridViewSummaryItem("Total", "{0}", GridAggregateFunction.Sum));

 

 

this.radGridView1.MasterGridViewTemplate.SummaryRowsBottom.Add(totals);

Am i missing something? Are there more properties i need to be setting on the grid or column or master view for the summary row to show ?

Thanks
Anisha

 

Anisha
Top achievements
Rank 1
 answered on 22 Apr 2009
1 answer
218 views
Hello, Ive been testing some of your controls and I love them, they are awesome. But Iam having a problem with the RadRibbonBar control. I cant find how to change a chunks border color. It seems like this should be really easy but I cant find how to do it anywhere. Ive tried using the theme builder but it seems like the designer stops just short of having the chunks in it. The theme builder stops at ExpandableStackLayout with nothing below it in the tree and if I use Edit UI Elements thats where all of the chunks properties are located. Now if try to use Edit UI Elements to try to change the chunks properties it only changes the "add new group" border color in Visual Studio's designer not any of the existing chunks border colors. I have also tried changing the color through code but I cant find a border color property anywhere. I know this has to be possible because the different themes the control comes with have different color borders on their chunks. Can you please point me in the right direction with a bit of sample code. I'm probably going to feel really stupid when you show me.... probably right in front of my face. Thanks for the help and for a great product.

Chris
Deyan
Telerik team
 answered on 22 Apr 2009
1 answer
323 views
I'm finding that if I call BestFitColumns, the column widths are set to one pixel.  I'm guessing this is happening because I call it too early, before the columns have been filled with data.  Can you suggest a good time to call this method?  Also, is it possible to combine the best fit behavior and still make one of the columns be "stretchy" -- i.e. take up the remaining space?  My goal is that all but one of the columns would size to their content, and that the remaining column would stretch to consume the remaining space.
Nick
Telerik team
 answered on 22 Apr 2009
1 answer
190 views
I'm wondering how I could catch the event when you click on the "delete row" in the default context menu.

What I want to do is when I click on that, it removes the row from one gridview and it has to be added to another gridview.

I was searching in the helpfiles but I didn't find anything that could help me.

thanks in advanced
Nick
Telerik team
 answered on 22 Apr 2009
12 answers
259 views
An error occurs in the cellFormating event:

in the first databinding of gridview the error does not happen , but if I try  a second databinding, for refresh the gridview,
the following error occurs:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.WinControls.Primitives.TextPrimitive.MeasureOverride(SizeF availableSize)

The code where the error occurs is the folowing:

 private void gvPremios_CellFormatting(object sender, CellFormattingEventArgs e)  
                         {  
 if (e.CellElement.ColumnInfo is GridViewDataColumn && !(e.CellElement.RowElement is GridTableHeaderRowElement))  
                             {  
                                     GridViewDataColumn column = (GridViewDataColumn)e.CellElement.ColumnInfo;  
 
                                     if (column.DataField == "MyColumn")  
                                     {                         
                                         if (e.CellElement.Children.Count > 0)  
                                             return;  
 
                                         RadLabelElement element = new RadLabelElement();  
                                         element.Text = "<html>This is a test..."                                           
                                        e.CellElement.Children.Add(element);  
                                     }  

The strange thing is in the "element.text" property, that if I not put the the tag "<html>"... the error does not happen, but, i need formating the field with a html code...
And the property "DisableHTMLRendering=false"  is not working as it should, leaving the whole column unconfigured.

Nikolay
Telerik team
 answered on 22 Apr 2009
10 answers
203 views
I've got something strange... 

My third child, when having only 1 row, it's not showing the row.

I took a screenshot of it

http://picasaweb.google.com/gerbrand.adlogix/TelerikViewIssues?feat=directlink

I'm not doing anything special in my code to make the grid. I've got it only with one record. When I have more records, I get to see them.


Jack
Telerik team
 answered on 22 Apr 2009
1 answer
320 views
I'm finding that the Grid doesn't use the font of its parent for the column headers and cells.  Is there a way to cause it to do so?
Mike
Telerik team
 answered on 22 Apr 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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?