Hello,
I have an application developed in vb.net 2005 and using Telerik RadControls for WinForms 2008 Q3 Sp2. I have two types of panel controls (RadPanel for gradient back color and system panel control) used on the form (windows form). I set the form's "AutoScaleMode" to "DPI".
When I launch my application on a client machine with Windows XP OS and DPI more than 96, all controls adjust accordingly except the controls within RadPanel (as shown in attached image). Another problem with RadComboBox is that it doesn't adjust its size with respect to the size of text inside (unchanged due to DPI change). On the other hand when I use system panel control instead of RadPanel every thing looks fine. Please help me in this case. Also how can my application's UI be unaffected due to windows DPI change. Thanks
Thanks
Haroon
DataTable
table = new DataTable();
table.Columns.Add(
"STATE", typeof(string));
table.Columns.Add(
"VALUE", typeof(int));
table.Rows.Add(
"AVAIL", 50);
table.Rows.Add(
"ACD", 10);
table.Rows.Add(
"AUX", 20);
table.Rows.Add(
"ACW", 30);
table.Rows.Add(
"RING", 24);
table.Rows.Add(
"OTHER", 47);
radChart1.ChartTitle.TextBlock.Text =
"Agent Status For " + this.Text;
DataTable dt = table ;
Telerik.Charting.
ChartSeries series = new Telerik.Charting.ChartSeries();
series.Type = Telerik.Charting.
ChartSeriesType.Pie;
series.Appearance.LegendDisplayMode = Telerik.Charting.
ChartSeriesLegendDisplayMode.ItemLabels;
series.DataYColumn =
"VALUE";
radChart1.Series.Clear();
radChart1.Series.Add(series);
radChart1.DataSource = dt;
radChart1.DataBind();
|
|
Column1 |
Column2 |
Column3 |
|
Row1 |
IsEditable = true |
IsEditable = false |
IsEditable = false |
|
Row2 |
IsEditable = true |
IsEditable = false |
IsEditable = false |
|
Row3 |
IsEditable = true |
IsEditable = false |
IsEditable = false |
We recently updated to Q1 2010 SP2.
When I add a office2007BlackTheme to a form, the run in debug with Exceptions set up to break whenever an exception is thrown, I get the exception below on this line from InitializeComponent:
| this.office2007BlackTheme1 = new Telerik.WinControls.Themes.Office2007BlackTheme(); |
Everything still seems to work fine, but it is anoying when debugging.
BindingFailure was detected
Message: The assembly with display name 'Telerik.WinControls.XmlSerializers' failed to load in the 'LoadFrom' binding context of the AppDomain with ID 1. The cause of the failure was: System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.WinControls.XmlSerializers, Version=2010.1.10.504, Culture=neutral, PublicKeyToken=5bb2a467cbec794e' or one of its dependencies. The system cannot find the file specified.
File name: 'Telerik.WinControls.XmlSerializers, Version=2010.1.10.504, Culture=neutral, PublicKeyToken=5bb2a467cbec794e'
=== Pre-bind state information ===
LOG: User = LOGICIM\pacarrier
LOG: DisplayName = Telerik.WinControls.XmlSerializers, Version=2010.1.10.504, Culture=neutral, PublicKeyToken=5bb2a467cbec794e, processorArchitecture=MSIL
(Fully-specified)
LOG: Appbase = file:///C:/Users/pacarrier/Documents/Visual Studio 2008/Projects/TestTelerik/bin/Debug/
LOG: Initial PrivatePath = NULL
Calling assembly : System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.
===
LOG: This bind starts in default load context.
LOG: No application configuration file found.
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Post-policy reference: Telerik.WinControls.XmlSerializers, Version=2010.1.10.504, Culture=neutral, PublicKeyToken=5bb2a467cbec794e, processorArchitecture=MSIL
LOG: Attempting download of new URL file:///C:/Users/pacarrier/Documents/Visual Studio 2008/Projects/TestTelerik/bin/Debug/Telerik.WinControls.XmlSerializers.DLL.
LOG: Attempting download of new URL file:///C:/Users/pacarrier/Documents/Visual Studio 2008/Projects/TestTelerik/bin/Debug/Telerik.WinControls.XmlSerializers/Telerik.WinControls.XmlSerializers.DLL.
LOG: Attempting download of new URL file:///C:/Users/pacarrier/Documents/Visual Studio 2008/Projects/TestTelerik/bin/Debug/Telerik.WinControls.XmlSerializers.EXE.
LOG: Attempting download of new URL file:///C:/Users/pacarrier/Documents/Visual Studio 2008/Projects/TestTelerik/bin/Debug/Telerik.WinControls.XmlSerializers/Telerik.WinControls.XmlSerializers.EXE.