Telerik Forums
UI for WPF Forum
1 answer
81 views
Hi,

how can i write the grid view data template using c# code

 <telerikGrid:GridViewDataColumn  >
                    <telerikGrid:GridViewDataColumn.Header>
                        <telerik:RadToggleButton Width="65" Height="50"
HorizontalContentAlignment="Center"
VerticalContentAlignment="Center">
                            <telerik:RadToggleButton.Content>
                                <Image Source="/Images/GreenCheck.png" Height="55" Width="65" />
                            </telerik:RadToggleButton.Content>
                        </telerik:RadToggleButton>
                    </telerikGrid:GridViewDataColumn.Header>
                </telerikGrid:GridViewDataColumn>

thanks
sarag
Maya
Telerik team
 answered on 14 Feb 2011
0 answers
61 views
Ignore this post!
Rod Yager
Top achievements
Rank 1
 asked on 11 Feb 2011
0 answers
70 views
Ignore this post! How do you delete posts?
Rod Yager
Top achievements
Rank 1
 asked on 11 Feb 2011
4 answers
164 views
Hi,
I'm changing the cell colour in the RowLoaded event via:
int reservedCells = 5;
if (item.Values[i].OriginalValueChanged)
{
         e.Row.Cells[i + reservedCells].Background = new SolidColorBrush(Color.FromRgb(255, 0, 0));
}

And it works fine until I scroll the grid or just re-size the window, is this a bug or am I doing the completely wrong ?

cheers
kristján.
Maya
Telerik team
 answered on 11 Feb 2011
1 answer
94 views
Hello Telerik Team,
                           I have a doubt regarding colors in textbox.

In our project one master page contains 10 fields. They are 5 wpf text box .remaining 5 radcombobox.(not microsoft combo box).

In run time radcombo box gives yellow border when mouse over and cursor on focus.The same color i want to set text box also?

here i want to set only one time.it reflect all text box in my whole project.

pls give me sample solution?
Konstantina
Telerik team
 answered on 11 Feb 2011
3 answers
98 views
I haven't come across any code example showing how to use custom sampling for data points in the chart control - at least what to say to the
 radchart.SamplingSettings.SamplingFunction to signify custom sampling or how the sampling delegate would look like ... Please help out.
Evgenia
Telerik team
 answered on 11 Feb 2011
1 answer
133 views
If I click the close button on the radPane is the Pane disposed off? 
How can I make sure that the pane is not disposed off when closed but disappear form the screen.
Also how to re-show this pane?
Konstantina
Telerik team
 answered on 11 Feb 2011
3 answers
131 views
What is wrong with thsi code? why the busy indicator does not show up?


<Window xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"  x:Class="WpfApplication1.MainWindow"
        Title="MainWindow" Height="350" Width="525">
    <Grid HorizontalAlignment="Stretch">
 
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
 
        <telerik:RadButton Click="Button_Click" Grid.Row="0" HorizontalAlignment="Center" Content="Load Appointments" FontWeight="Bold" Margin="12" Padding="18 4" />
        <telerik:RadBusyIndicator x:Name="busyIndicator" Grid.Row="1" BusyContent="Loading data....">
            <Button Height="34" Width="90" Content="xxx"/>
        </telerik:RadBusyIndicator>
 
    </Grid>
</Window>



using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
 
namespace WpfApplication1
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }
 
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            busyIndicator.IsBusy = true;
 
            System.Threading.Thread.Sleep(100000);
 
            busyIndicator.IsBusy = false;
 
        }
    }
}
Teodor
Telerik team
 answered on 11 Feb 2011
9 answers
389 views
I need to load radbook from database , without save images into tmp , and i want navigate on that dinammicly .
So is it possible , we have .something like

this ,radbook.load(_my image as byte[]) or as Image - so i i can convert before to use.



Tina Stancheva
Telerik team
 answered on 11 Feb 2011
3 answers
117 views

Hi

I need to add columns in the header column as shown in the attached design.

 

NOVEMBER

DECEMBER

27

28

29

30

1

2

3

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The columns should be added to the header column. If anyone knows how to do it, please reply.

Thanks

 

Manishkumar
Top achievements
Rank 1
 answered on 11 Feb 2011
Narrow your results
Selected tags
Tags
+? 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?