Telerik Forums
UI for WPF Forum
1 answer
125 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
124 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
209 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
161 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
446 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
138 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
11 answers
159 views
Hello!

I want to display a lot of rows in my RadGridView so therefor I want to make it as compact as possible with little space between the rows. Is there a way to remove the area of the HorizontalGridLines? Setting the HorizontalGridLine height to zero that is.

Best regards,
Anna
Krish
Top achievements
Rank 1
 answered on 10 Feb 2011
1 answer
126 views
Are there plans to allow a user to pick a custom color, not just one from the palette?  Without this, the color picker is useful, but much less useful for general purpose use.

Petar Mladenov
Telerik team
 answered on 10 Feb 2011
1 answer
140 views
I try to use the function ExportToImage(Stream) from a RadChart object and it always throw an null reference exception whatever the chart I try. 

Here is a sample code I try to test the function :

List<int> data = new List<int>();
Random rand = new Random(123456);
for (int i = 0; i < 50; i++)
{
    data.Add(rand.Next(10, 100));
}
 
chartTest.DefaultSeriesDefinition = new LineSeriesDefinition() { ShowItemLabels = false, ShowPointMarks = false };
chartTest.DefaultView.ChartArea.AxisX.LabelStep = 25;
chartTest.DefaultView.ChartArea.EnableAnimations = false;
chartTest.ItemsSource = data;
 
Stream ms = new MemoryStream();
chartTest.ExportToImage(ms);
/*BitmapImage src = new BitmapImage();
src.BeginInit();
src.StreamSource = ms;
src.EndInit();
 
img1.Source = src;*/


Exception throw at this line :

chartTest.ExportToImage(ms);

Exception message :

{"Object reference not set to an instance of an object."}

Exception call stack :

   at Telerik.Windows.Media.Imaging.ExportHelper.get_TransformToDevice() in c:\Builds\WPF_Scrum\Release_WPF_2010_Q2_SP1\Sources\Development\Core\Controls\ExportExtensions\ExportHelper.cs:line 50
   at Telerik.Windows.Media.Imaging.ExportHelper.get_TransformToDeviceMatrix() in c:\Builds\WPF_Scrum\Release_WPF_2010_Q2_SP1\Sources\Development\Core\Controls\ExportExtensions\ExportHelper.cs:line 43
   at Telerik.Windows.Media.Imaging.ExportHelper.get_SystemDpiX() in c:\Builds\WPF_Scrum\Release_WPF_2010_Q2_SP1\Sources\Development\Core\Controls\ExportExtensions\ExportHelper.cs:line 16
   at Telerik.Windows.Media.Imaging.ExportHelper.GetElementImage(FrameworkElement element) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q2_SP1\Sources\Development\Core\Controls\ExportExtensions\ExportHelper.cs:line 62
   at Telerik.Windows.Media.Imaging.ImageExporter.Export(FrameworkElement element, Stream stream, BitmapEncoder encoder) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q2_SP1\Sources\Development\Core\Controls\ExportExtensions\ImageExporter.cs:line 12
   at Telerik.Windows.Media.Imaging.ExportExtensions.ExportToImage(FrameworkElement element, Stream stream, BitmapEncoder encoder) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q2_SP1\Sources\Development\Core\Controls\ExportExtensions\ExportExtensions.cs:line 100
   at Telerik.Windows.Controls.RadChart.ExportToImage(Stream stream) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q2_SP1\Sources\Development\Controls\Chart\Chart\RadChart.Exporting.cs:line 168
   at TestChart.MainWindow..ctor() in C:\Dev\TestChart\TestChart\MainWindow.xaml.cs:line 41
Missing User
 answered on 10 Feb 2011
8 answers
104 views
Hello,

I am trying to reorder the rows at a grid by drag and drop. I have looked at the examples and solutions you have given about this case. But i can not convert it to q3 2009 sp1. the objects use at the solutions are no more at q3 2009 sp1. Can you kindly suggest a solution.
Regards.
Hristo
Telerik team
 answered on 10 Feb 2011
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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?