Telerik Forums
UI for WPF Forum
3 answers
107 views
On inheriting from "RadGridView" and overriding the "OnApplyTemplate" the only the first column is rendered.
namespace WpfApplication7 
    public class  MyGrid : RadGridView 
    { 
        public override void OnApplyTemplate() 
        { 
            //Custom Code. 
        } 
    } 
 

<Window x:Class="WpfApplication7.Window1" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:gridView="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView" 
    xmlns:local="clr-namespace:WpfApplication7" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Title="Window1" Height="300" Width="300"
    <Grid> 
        <local:MyGrid> 
            <gridView:RadGridView.Columns> 
                <gridView:GridViewColumn Header="Column1"/> 
                <gridView:GridViewColumn Header="Column2"/> 
                <gridView:GridViewColumn Header="Column3"/> 
                <gridView:GridViewColumn Header="Column4"/> 
            </gridView:RadGridView.Columns> 
        </local:MyGrid> 
    </Grid> 
</Window> 
 

Am I doing something wrong


Vlad
Telerik team
 answered on 26 Apr 2010
3 answers
184 views
Hi,

I want to programmatically bind the xml document to RadGridView. I have xmldataprovider and I am programmatically setting the provider.document=xmldocument and the provider is the static resource of the grid.

This is not working.

Please let me know.

Thanks..
Vlad
Telerik team
 answered on 26 Apr 2010
1 answer
68 views
Hello all,

    Now that the "Telerik.Windows.Data.TableDefinition.FieldDescriptors" property is slated for destruction, what is replacing it?  I need to be able to specify colunms to my GridView control and have control over thier individual settings. 

- Rashad Rivera
Vlad
Telerik team
 answered on 26 Apr 2010
1 answer
159 views
hi,

I have a generic collection implementing INotifyCollectionChanged with an Add method as the following:

public void Add(TEntityType item)  
        {  
            if (Criteria(item))  
            {  
                InnerList.Add(item);  
                CollectionChanged(InnerList, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, item));  
                if (SelectAddedItem) CurrentItem = item;  
            }  
        } 

and it works fine with framework's ListView and DataGrid components with a binding to its ItemsSource property.

But RadGridView does not updates itself with "NotifyCollectionChangedAction.Add" but it works fine with "NotifyCollectionChangedAction.Reset". Am I doing something wrong ?
Vlad
Telerik team
 answered on 26 Apr 2010
1 answer
85 views
Hello All,

    I want to change that gray collor *behind* the tabs themselves to lets say Transparent.  I'm not taking about the color behind the content or the background color inside the tab.  I'm talking about the color behind the tab collection themselves.  How do I do that?

    In addition, how do I change the background color of the *non-active* tabs from that off-white color? 

- Rashad Rivera
  www.omegusprime.com
Dan Martin
Top achievements
Rank 1
 answered on 25 Apr 2010
2 answers
173 views
Dear Telerik,

Thank you for the export option, but I have two questions:

1. When exporting to png/bmp, the background is not exported,
    instead, a 32bit BMP, or a transparent PNG is created.

    Is there a solution for this problem?

2. We can enter a dpi in the export option, but my problem is sometimes
    the user interface is very small, and so is the chart,
    Would be great if we can supply a Width/Height of the exported chart.

With regards,
Rob
Rob Peters
Top achievements
Rank 1
 answered on 24 Apr 2010
4 answers
110 views
Hi,
is there a way to collapse panelbar up? Because now its taking 100% of rest height. If i have 2 panelbar items they get 50% of the content, and what i need is, that for example when there are two panelbar items first will get height of his all controls, and second panelbar will get rest. Sorry for mine english i dont know how to explain it ;)

Regards,
Zbigniew Kozłowski
Tina Stancheva
Telerik team
 answered on 24 Apr 2010
1 answer
64 views
I am using the grid as the source for my drag and drop in the RadDragAndDropManager.  I have one small issue and that is when I have a selected item in the grid and try to drag the scrollbar, it initiates the drag of the selected item.  How can I detect what part of the grid is under a specifc point?  I was planning on using the MouseClickPoint of the drag event args.

Thanks,
David Ribb
Tsvyatko
Telerik team
 answered on 23 Apr 2010
7 answers
241 views
i have a dataset with a column that contains image in byte format.

how can i do to bind the column in the dataset that contans the image with a gridviewimagecolumn and add to radgridview?

thnks for your help

Oscar Zapata
Imran Aliyev
Top achievements
Rank 1
 answered on 23 Apr 2010
1 answer
146 views
Hi all,

I am running into an problem binding the RadGridView to an empty ObservableCollection<>.

The Scenario.
Define a RadGridView with columns that bind to properties of type DerivedT which is based on type BaseT. Bind the ItemsSource to an empty ObservableCollection<BaseT>.

The problem
When the window is loaded, I receive a first chance exception of 'Property with name <..> cannot be found ot type BaseT.

We are currently using version '00547RadControls_for_WPF_2010_1_0416_Dev'  and this was working with the 0309 version of rad controls.

If required, I have a simple example that reproduces the error on a machine runing the above mentioned version but works fine on a machine running the 0309 version. I have attached screen shots of the exception and the stack trace.

Any help would be appreciated.
Stefan Dobrev
Telerik team
 answered on 23 Apr 2010
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
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?