Telerik Forums
UI for WPF Forum
1 answer
121 views
Hey there,
I'm just a novice programmer, so I don't know how to how to use Linq. I was trying to populate the Grid using an ADO:NET connection to my SQL database, but I haven't seen anywhere how to do this. Could you help me?
Regards,
Bernardo Caldas
Vlad
Telerik team
 answered on 27 Jul 2009
4 answers
441 views
respectfully,
i want to programmatically create a custom schema (create columns in custom without binding) and fill the gridview with custom data ( add new rows without binding )! I found that the wpf radgridview do not have the rows collection and it seems that is necessary to bind radgridview to a data source for displaying data, but i want to add new rows and columns programatically at run time even if i bound it to data source before! is there any approach for this purpose?!
thanks for your kindness ;)
Meisam
Top achievements
Rank 1
 answered on 26 Jul 2009
6 answers
277 views
I can't get it to display a list of objects which are view models.
Using version 2009.2.701.35 with vb.net in a model/view/view model framework.

This displays nothing:
            <telerik:RadCarousel  
                x:Name="RCAddressList" 
                ItemsSource="{Binding Path=AddressViewModelList}" 
                telerik:StyleManager.Theme="Office_Blue"
            </telerik:RadCarousel 

This displays the correct number of items, but it is just then name of the object. i.e. 4 addresses in the list means  AddressApp.ViewModel.AddressViewModel as text 4 times in the carousel.
            <ListView  
                x:Name="ListView"  
                ItemsSource="{Binding Path=AddressViewModelList}"  
                BorderThickness="0" Background="Transparent" 
                HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
                <ListView.ItemsPanel> 
                    <ItemsPanelTemplate> 
                        <telerik:RadCarouselPanel /> 
                    </ItemsPanelTemplate> 
                </ListView.ItemsPanel> 
            </ListView> 

Simplex
Top achievements
Rank 1
 answered on 24 Jul 2009
1 answer
49 views
Hi

I'm using the RadDragAndDropManager along with the RadGridView; it appears like the the column re-ordering and the grouping now no longer work. Do we have to code this manually if we use the RadDragAndDropManager?
Miroslav
Telerik team
 answered on 24 Jul 2009
2 answers
143 views
Hello guys, i have that lines in my code-behind:
public partial class MainWindow : Window 
    { 
        public MainWindow() 
        { 
            this.InitializeComponent(); 
            MainWindowViewModel model = new MainWindowViewModel(); 
            RadChart1.DefaultView.ChartArea = model.MainChartArea; 
            RadChart1.DefaultView.ChartLegend.UseAutoGeneratedItems = true
        }         
    } 
    public class MainWindowViewModel 
    { 
        private ChartArea _area; 
        public ChartArea MainChartArea 
        { 
            get  
            { 
                if (_area == null
                    _area = CreateChartArea(); 
                return _area; 
            } 
        }         
        private ChartArea CreateChartArea() 
        { 
            ChartArea area = new ChartArea(); 
 
            DataSeries ser1 = new DataSeries(); 
            ser1.Add(new DataPoint(23)); 
            ser1.Add(new DataPoint(45)); 
            ser1.Add(new DataPoint(33)); 
            ser1.Add(new DataPoint(12)); 
            ser1.Add(new DataPoint(50)); 
            ser1.LegendLabel = "Series 1 Label"
            area.DataSeries.Add(ser1); 
 
            DataSeries ser2 = new DataSeries(); 
            ser2.Add(new DataPoint(45)); 
            ser2.Add(new DataPoint(50)); 
            ser2.Add(new DataPoint(60)); 
            ser2.Add(new DataPoint(30)); 
            ser2.Add(new DataPoint(25)); 
            ser2.LegendLabel = "Series 2 Label"
            area.DataSeries.Add(ser2); 
 
            return area; 
        } 
    } 
and that is the XAML part:
<Grid x:Name="LayoutRoot"
        <control:RadChart x:Name="RadChart1"
            <control:RadChart.DefaultView> 
                <chart:ChartDefaultView> 
                     
                    <chart:ChartDefaultView.ChartLegend> 
                        <chart:ChartLegend x:Name="CustomLegend" Header="Legend Header" UseAutoGeneratedItems="True"
                        </chart:ChartLegend> 
                    </chart:ChartDefaultView.ChartLegend> 
                    <chart:ChartDefaultView.ChartTitle> 
                        <chart:ChartTitle> 
                            <TextBlock Text="Declarative RadChart"/> 
                        </chart:ChartTitle> 
                    </chart:ChartDefaultView.ChartTitle> 
                </chart:ChartDefaultView> 
            </control:RadChart.DefaultView> 
        </control:RadChart> 
 
    </Grid> 
but now... i don't have the Legend generated. So what's missing? How to get back the Legend if i use something like MVVM?


Liberte
Top achievements
Rank 1
 answered on 24 Jul 2009
2 answers
232 views
Hi

I'm trying to customise the RadCalendar, but I do not see how I can change the hover over and selection colors for days when in certain views (E.g. month/week view)

I have tried editing the Template using Blend and also checked out the post at
http://www.telerik.com/community/forums/wpf/calendar/how-to-change-datepicker-monthview-s-header.aspx

which is somewhat relevant, but I do not see any such property.

How should I go about achieving this?



Regards
Nikolay
Telerik team
 answered on 24 Jul 2009
3 answers
130 views
The text can be translated "drag a column header here to group by that column" to other languages

How can I do?

Thanks
Carles Vazquez
Top achievements
Rank 1
 answered on 23 Jul 2009
4 answers
114 views
I cannot get the Sample project to show the GridView from the Q2 release.  So, I decided to open the project in debug and see what was going on.  I find it very hard to believe that you are releasing a sample that compiles with 13 warnings of Obsolete classes.  How are we supposed to be using the sample project as a basis of our development if you are delivering usages of obsolete items?

Not pleased at all with this...
Stefan Dobrev
Telerik team
 answered on 23 Jul 2009
3 answers
242 views
I am using a RadCarousel and would like to change how the navigation buttons look.  I am assuming that the way to go about this is to use a ControlTemplate, however I have been unable to affect the visual appearance of the ScrollViewer.  Does anyone have an example of how to apply custom styling to the scrollviewer in a RadCarousel?

Thanks
Milan
Telerik team
 answered on 23 Jul 2009
8 answers
262 views
Hi

My RadPanelBar is bound to a collection of objects like this:

XAML:
<HierarchicalDataTemplate x:Key="hdt" ItemsSource="{Binding ClientPublications}">                         
            <TextBlock Text="{Binding Name}"></TextBlock> 
</HierarchicalDataTemplate> 
 
<telerik:RadPanelBar x:Name="reportMenuPanelBar" Grid.Row="1" Margin="1,0,1,1" ItemsSource="{Binding}" ItemTemplate="{StaticResource hdt}" Selected="reportMenuPanelBar_Selected"
</telerik:RadPanelBar> 

C#:
IList<ClientReport> reports = mgr.GetAllClientReports(); 
reportMenuPanelBar.DataContext = reports; 

I want the textweight for the child panel bar items to be different (i.e. bold or normal) depending on the value of an object's property.

How can I do this?

Thanks.
Ryan
Top achievements
Rank 1
 answered on 23 Jul 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
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
Security
VirtualKeyboard
HighlightTextBlock
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?