Telerik Forums
UI for WinForms Forum
2 answers
76 views

Hi,

 

When I want to enable filtering on GridView(Design mode). My VS(2008 TS) have a hang(I must kill VS process, see the attachment). I try to use Property Builder for this and the result was the same.

 

Best regards

Marcin Sowa

Julian Benkov
Telerik team
 answered on 28 Jan 2010
1 answer
103 views
I am experimenting to write a generic data browser for WCF data services.

When binding to a query result created using "select new" RadGridView does not display any data: 

Dim q = From o In svc.Orders Select o 'This query displays data

Dim q = From o In svc.Orders Select New With {o.OrderDate} 'This query does not display data

RadGridView1.DataSource = q.ToList

  1. How can I use autogenerated columns with "Select New"?
  2. Can the RadGridView automatically diplay hierarchical data from LINQ queries?
    Ex: from c in Customers select new with {CustomerId, c.Orders}

 

 

 

 

 

 

Julian Benkov
Telerik team
 answered on 28 Jan 2010
1 answer
89 views
Hi there,

I have bounded the radgridview with the datatable which is resulting all okay. but the time I go on filtering the records according to any criteria passing as a parameter on top of the column filter box. it throws two different errors:

1) Index -1 is  either negative or above rows count. (there are records into the grid)

and also sometimes throws as:
 
2) Exception has thrown by the target of invocation.

I haven't added any filtering code from myself as it's an inbuilt feature.

Please assist me with this ASAP. I need to fix this error.

Cheers,
Munsh
Jack
Telerik team
 answered on 28 Jan 2010
1 answer
143 views
How can I get the font object used in the gridview cells? The "Font" property of the gridview is not it -- it returns a different font than the one cell's text are drawn with.

Edit: I do know how to get the font in painting/formatting events, but that's not what I want. I want to be able to get it ahead of time (i. e., in the form "load" event) before anything is displayed to the user.

Thanks,
-DevJ
Jack
Telerik team
 answered on 28 Jan 2010
4 answers
149 views
We want to set recurrencerule as following

last week of every month

How can we do this in code using MonthlyRecurrenceRule ?
Dobry Zranchev
Telerik team
 answered on 28 Jan 2010
1 answer
203 views

Hi

I have my own objects I want to bind to my grid and I want to make the column by myself because it’s not all the fields I want publish so I do like this

            CompanyEOList Companylist = new CompanyEOList(WinXLFSecurity.XLFSecurity, WinXLFSecurity.CurrentDAL);  
            Companylist.GetAll();  
              
            gdCompanyList.MasterGridViewTemplate.AllowAddNewRow = false;  
            gdCompanyList.MasterGridViewTemplate.AutoGenerateColumns = true ;  
            gdCompanyList.MasterGridViewTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;  
 
gdCompanyList.MasterGridViewTemplate.Columns.Add(new GridViewDataColumn("Address", "Address"));  
            gdCompanyList.DataSource = Companylist ;  
 

 

where gdCompanyList is my grid. When I do like this and want filtering I can’t edit the filtering textbox. If I set the property AutoGenerateColumns to true it works. I have also tried to set the property AllowFiltering on the new column but that work either.

            Telerik.WinControls.UI.GridViewDataColumn newColumn = new GridViewDataColumn("Name", "Name")

            newColumn.AllowFiltering = true;

            gdCompanyList.MasterGridViewTemplate.Columns.Add(newColumn);

 

What have I missing ?

One other thing. When I bind my own objects to the grid and the user is edit the objects how do I force the grid to save the change ?

Best regards
Kim Johansen

Svett
Telerik team
 answered on 28 Jan 2010
2 answers
82 views
Hi,
I'm trying to reimplement a part of system using telerik gridView control.
I'm trying to bind a collection of objects to a dataGridView. This objects contains some other objects, that's why i want to use binding to sub objects. Everything works great, until a sub-object is a NULL. Then the whole row is not displayed. What I want to achive, is only not to display this column's value, and display all other values.
Is it possible using such a binding scenario?
Or should I do it in any other way (for example by initializing all these items with empty ones)? As far as these are database objects, I don't want to implement additional logic for adding such 'empty' items and deleting them before saving changes to DB.

I have similiar problem when using wpf version of this control.

Thanks for Your help in advance
Marcin Danek
Marcin Danek
Top achievements
Rank 1
 answered on 27 Jan 2010
1 answer
253 views
I would like to use a custom icon with RadMessageBox. I see that the only overloaded calls to Show() which let you pass an icon .bmp file also require that you pass the previous window as the first parameter. I would like to use the same default window as the overloads to Show() that don't require this parameter. What can I use as the window that would give me the same results?
Martin Vasilev
Telerik team
 answered on 27 Jan 2010
1 answer
63 views
I have a legacy app which I was doing some updates to, so I thought I'd attach the telerik WinForms controls.  I can't even express how pleased I am with the entire suite...my app looked like crap (admittedly) before.  However now just by changing a few classes to inherit from Telerik and no other changes, the app looks 200% better and somehow runs faster!

Nice work guys, super happy
Vassil Petev
Telerik team
 answered on 27 Jan 2010
1 answer
94 views
If I want to reorder columns in treeview, nothing happens. If I want to reorder columns in tableview, the property builder automaticaly closes. The only way reordering works is, if I first reorder columns in treeview (although it doesn't seem this does anything) and then reorder columns in tableview.
Julian Benkov
Telerik team
 answered on 27 Jan 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?