Telerik Forums
UI for WPF Forum
2 answers
110 views
Hi
I am trying to get a combobox inside the radgridview. Below code doesnt seem to work. Any help would be appreciated

   Dim farmer As New UI.GridViewComboBoxColumn()
            farmer.DataType = GetType(String)
            farmer.UniqueName = "UserID"

            farmer.HeaderText = "Farmer"
            farmer.DataSource = GetFarmerDataSource()
            farmer.DisplayMember = "UserID"
            farmer.ValueMember = "UserCode"
            farmer.FieldName = "UserID"
            farmer.Width = 150


            rgvBill.MasterGridViewTemplate.Columns.Add(farmer)


            Dim Bags As New UI.GridViewTextBoxColumn()
            Bags.DataType = GetType(Int32)
            Bags.UniqueName = "Bags"
            Bags.FieldName = "Bags"
            Bags.HeaderText = "Bags"
            Bags.Width = 50
            rgvBill.MasterGridViewTemplate.Columns.Add(Bags)


My radgrid at design time has no columns defined
Feroz
Top achievements
Rank 1
 answered on 17 Nov 2009
3 answers
249 views
Hi

Are we able to programmatically apply a style to a dynamically created RadTileViewItem? Specifically I would like to change the background colours of the headers. What is the template/parameters for the style?

Regards

Rav
Tihomir Petkov
Telerik team
 answered on 17 Nov 2009
8 answers
142 views
Hi,

I tried the Q3 2009 binaries on an application I'm developing with the Q2 release and discovered that some parts of the application don't
function anymore. E.g. the GridViewDataControl like you use in your first look example. So I was wondering if it's wise at this moment
to switch over to the beta release, because I'm still in an early phase of development.
Can you please give me some advise?

Thanks
Thomas


Thomas
Top achievements
Rank 1
 answered on 17 Nov 2009
3 answers
278 views
Hi..
Where can I find an example of conditional formatting a row?
thanks
Vlad
Telerik team
 answered on 17 Nov 2009
3 answers
363 views
Dear Sir,

Now i m having problem with RadTreeView as i have binded dynamically with class TreeViewFolder but at debug time i m getting parent node only even though i drag and drop from RadGridView to child node . Also i m trying to load image along with dragcue but i m not getting the same. image is only building with color of arrow. I want to have different image valid image when user drag items to valid treeview node or else invalid image for invalid treeview node. Also please let me know how to retrieve the selected item name from the path.

TreeView Looks Like

Personal Folder {Parent Item}
     Inbox    {Child item}
     Outbox {Child item}
     Sent Items {Child item}
     Deleted Items {Child item}

Thanks in advance..


Miral Shah
Miroslav
Telerik team
 answered on 17 Nov 2009
1 answer
137 views
hi,
in my application i want to hide first column from GridView.

So , help me out in my problem

Thanks!
Missing User
 answered on 16 Nov 2009
0 answers
233 views
We had several report from customers saying that mouse click events could not be handled. This happens because we now handle MouseLeftButtonUp and MouseLeftButtonDown events internally.

For those of you who are using our Mouse class we have added overloads to the original AddMouseButtonDownHandler and AddMouseButtonUpHandler methods that will allow you to handle already handled events as well. The new overloads are available in our 2009.3.1109 (or later) latest internal build.

In case you are using the AddHandler method it already has an overload which allows handling of already handled events.
We are currently evaluating several ideas to improve the current situation and we hope that we will be able to introduce those improvements as soon as possible.

Some other reports pointed out reduced performance of the RadGridView control. These problems occur when the grid is placed in a control that measures its children with infinity.  Such controls are ScrollViewer,  StackPanel (when vertical it measures with infinite height and when horizontal - with infinite width), and Grid panel with RowDefinition Height="Auto" or ColumnDefinition Width="Auto". When RadGridView (or any other grid) is measured with infinity virtualization is turned off which results in reduced performance. Modify your code so that RadGridView is placed in a container that will not measure it with infinity and the performance will be back to normal.
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 16 Nov 2009
1 answer
74 views
Hi..
How can you change the code so the Filter works on 'STARTS WITH' ?
Instead of looking for an exact match.
Thanks again
Jon
Top achievements
Rank 1
 answered on 14 Nov 2009
1 answer
224 views

Hi,
I was receiving the "Invalid Formatetc Structure" with adding the RadMenu only.

I was able to correct it by using the solutions at the link below.

Resetting toolbox items has also helped many of them. (very simple solution)

Remove all project reference and add them one by one. Recompile and done!

This happend with WPF Q3, VS2008 trial, Vista, i believe it is a VS problem.

http://codeforfuture.com/2009/02/04/solution-invalid-formatetc-structure/

Kaloyan
Telerik team
 answered on 13 Nov 2009
2 answers
177 views
Hi Guys,

I've managed to run into something I didn't think was possible. it appears that for some reason the code at
> Telerik.Windows.Controls.Docking.dll!Telerik.Windows.Controls.ProportionalStackPanel.MeasureOverride(System.Windows.Size availableSize = {203,458}) Line 205
has caused an ExecutionEngineException (I got that function and line from the Show Disassembly when the exception was thrown).

I'm aware I could be of much more use to you if I had posted here what's causing it, but it's very weird. The Docking and the tab control inside it (the document host) are working fine for me for a variety of different operations, there's only one that's causing this exception. However, I have no idea what about that operation (and it's an extremely complex one until the point where a new Pane is added) causes it.

Before attempting to take my code into pieces, my question is whether the Telerik guys can look at the line I posted above and check whether or not something stands out.

Thank you for your help!
yonadav
Kaloyan
Telerik team
 answered on 13 Nov 2009
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? 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?