Telerik Forums
UI for WPF Forum
2 answers
87 views
i need to set tooltip for radialrange in radialscale ...right now i am doing it by setting property like

 rs.Ranges.Add(New RadialRange With {.Background = Brushes.Blue, .Min = 0, .Max = 200, 
.StartWidth = 0.1, .EndWidth = 0.1, .TooltipFormat = "critical {0:F0}", .Tooltip = "critical"}})
but couldnt get to show tooltip with this..please help me out

Thanks,

Kapil Garg
Kapil
Top achievements
Rank 1
 answered on 09 Sep 2010
3 answers
93 views
Hello,
I want to have TabControl with two TabItems.
First TabItem will contain RadGridView (BROWSE TAB).
Second TabItem will contail UserControl with textboxes for currently selected/added/edited row (DETAIL TAB).
Detail textboxes will be editable only when row is in editable/append state, otherwise will be readonly.
Second TabItem (DETAIL) will contain toolbar with PREV, NEXT, EDIT, DELETE, ADD, COMMIT and CANCEL command, and buttons will be enabled only if needed (no rows - only ADD is enabled etc). Primary way how to change record will be by buttons on detail form ( not keys in the grid).
Result of all operations will be visible in grid (Grid can be read-only if needed). Primary source (ObservableCollection?, CollectionViewSource?) must be controlled by grid too (for example, source must be sorted when header in grid is clicked).

Does exist some example? Or some tip how to integrate RadGridView with this application logic?
Thank you very much.
Maya
Telerik team
 answered on 09 Sep 2010
6 answers
113 views
I'm trying to get a RadDropDownButton's Content to display a DataPager and a GridView. I have both displaying properly, and can bind to the current DataMember just fine. The pager's ItemSource binds find, and displays the proper number of pages.What I cannot do is bind the GridView's ItemSource to the DataPager's PagedSource. I have no way to specify the ItemSource binding on GridView. ElementName does not find it.

They are siblings, on the same level inside the DataTemplate.

Any ideas?
Rossen Hristov
Telerik team
 answered on 09 Sep 2010
3 answers
80 views
The WPF and Silverlight Gauges are pretty in the demos but I must say they are a real pain to get started with.  I have been using various gauge products in my applications for years and I think yours look great and operate great but to use them in your code really is a pain.

With great customizability comes great pain.  

I think you would do your clients a big favor if you provided a Gauge designer.  So that I can via a UI build out the XAML required for my Gauge.  Start out with a high level Linear, Radial..etc and allow me to tweak some (not all) of the properties to make it into a gauge that I want in my application.  Then allow me to cut and past the Gauge XAML into my code or do the paste for me.  I think that would make your tools a million times better.

Another comment, somewhat related.  Your demos have source code behind them so it is possible for a developer to take some of the code modeled in your demo and use it in their app.  However your demo's use custom classes (whilst the code is written very well) it obfuscates what is happening.  Because of this and your extremely limited documentation for WPF/Silverlight there is a great barrier to using your products.  Wizards like the one I explained would help out a lot.  Clearer documentation would also help greatly.  An example of a shortfall in your documentation is this:  I want to databind to a RadGridView but do not want to use AutoCreateColumns.  You have no documentation on it.  To me, AutoCreateColumns is not a real world feature but Custom Columns are.. there is documentation on the prior but not on the latter.  One more note on WPF documentation.  Create basic examples instead of massively complex examples.  For example, do not use Control Templates and Styles in your basic examples (unless you are giving an example of such).  This only confuses a WPF/XAML newbie and can turn them off of using your product.  Maybe in a year it will make sense to elevate past some of the XAML/WPF basics but at this stage of the game I think it is good to show straightforward examples and add on to them in more advanced examples.

Anyway, I have been a Telerik customer for many years (across many of my clients) and I love your products.  I just wanted to provide you some feedback in these areas that I consider deficiencies.

Thanks,
David Sandor

Giuseppe
Telerik team
 answered on 09 Sep 2010
1 answer
136 views
I have enabled cell validation in my gridview and I am using CellValidating events. I also have 2 buttons on my window. If I am inside a cell and click on my buttons it fires the cellvalidating events. Is there a way to not to fire the cellvalidating event when selecting a cancel button.
Milan
Telerik team
 answered on 09 Sep 2010
2 answers
890 views

Hi!

I know setting DataContext = DataTable.DefaultView named MODULES at class scope for a page is enough to bind every component via {Binding ColumnName}. But I note that radGridView is not filled in this way:

public class MyClass

{

public MyClass()
{
   this.InitializeComponent();

}

public void Page_Loaded(object sender, System.Windows.RoutedEventArgs e)

{

DataTable dtbDatos = new DataTable();
GlobalDataBaseManager.ComandoSQL(CommandType.Text, vsSQL, ref dtbDatos);
  dtbDatos.TableName = "MODULES";
   DataContext = dtbDatos.DefaultView;

}

...

<Grid x:Name="pnlConsulta" Height="322">
  <telerik:RadGridView x:Name="grdGridConsulta" ItemsSource="{Binding MODULES}" Margin="19,20.675,23,8" ShowGroupPanel="False" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" AutoGenerateColumns="False" ColumnWidth="Auto">
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn Header="[lblCodigo]" DataMemberBinding="{Binding CA001}" UniqueName="CA001"/>
<telerik:GridViewDataColumn Header="[lblTitulo]" DataMemberBinding="{Binding CA002}" UniqueName="CA002"/>
<telerik:GridViewDataColumn Header="[lblEjecutable]" DataMemberBinding="{Binding CA003}" UniqueName="CA003"/>
<telerik:GridViewDataColumn Header="[lblID]" DataMemberBinding="{Binding CA004}" UniqueName="CA004"/>
<telerik:GridViewCheckBoxColumn Header="[chkInactivo]" DataMemberBinding="{Binding CA005, Converter={StaticResource ValueConverter}}" UniqueName="CA005"/>
<telerik:GridViewDataColumn>
<telerik:GridViewDataColumn.Header>
<StackPanel Orientation="Horizontal">
<Image Height="20" Stretch="UniformToFill" Source="/App_LocalResources/Imagenes/usuarios.png" />
<TextBlock Text="Columna Prueba" TextWrapping="Wrap"/>
</StackPanel>
</telerik:GridViewDataColumn.Header>
</telerik:GridViewDataColumn>
</telerik:RadGridView.Columns>
</telerik:RadGridView>
</Grid>

It is not enough to Bind to class DataContext??

thanks

ENTERPRISE INTERNATIONAL SAS
Top achievements
Rank 1
 answered on 08 Sep 2010
1 answer
112 views
Hello,

I have a couple questions about the Minimized Width/Height properties.

When the TileView is populated from a Data Source, and the minimized dock is in any position(Left,Right,Bottom, Etc).
The Minimized Height or the width doesn't function depending on the Dock properties.

If I dock the Minimized panels on the bottom the Width doesn't work but the Height Does. If Dock it to the right the 
Minimized panel width works but not the height.


Its sizing itself to the container size. I have the scrollbar visible.

If the TileView is not populated from a DataSource it works fine

Any Thoughts

Regards,
Rick Mueller
Tina Stancheva
Telerik team
 answered on 08 Sep 2010
1 answer
105 views
Hi guys,

Is there any way of creating a variable width column chart in telerik controls, something like detailed on this website: http://peltiertech.com/Excel/ChartsHowTo/VariableWidthColumns.html

We are wanting to create a chart which steps up, with the width of the column being based upon a date e.g. 1st september to 31st september.

Thanks,

JD
Velin
Telerik team
 answered on 08 Sep 2010
2 answers
159 views
The following exception occurs when we execute our application on a non development pc:

Beim Festlegen der Eigenschaft "Telerik.Windows.Controls.StyleManager.Theme" wurde eine Ausnahme ausgelöst.  

(roughly: When setting property "Telerik.Windows.Controls.StyleManager.Theme" an exception occurred.)

bei System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)

   bei System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory,

   Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)

   bei System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties,

   Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)

   bei System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)

   bei System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)

   bei dcits.rmx.NETConnector.UI.Views.SelectContactWinterSportsServiceItemView.InitializeComponent()

   bei dcits.rmx.NETConnector.UI.Views.SelectContactWinterSportsServiceItemView..ctor(

   SelectContactWinterSportsServiceItemViewModel viewModel)

   bei dcits.rmx.NETConnector.UI.Controllers.SelectContactWinterSportsServiceItemController..ctor(

   ObservableCollection`1 serviceItems, DNCUIEasyKeyboards keyboard)

   bei dcits.rmx.NETConnector.DNCUIController.SelectContactWinterSportsServiceItemReferringToReceiptShowDialog(

   DNCArrayList serviceItems, DNCUIEasyKeyboards keyboard, DNCUIDialogResults& dialogResult,

   DNCContactWinterSportsServiceItem& selectedServiceItem)


I think this has to do with the setting

telerik:StyleManager.Theme="Windows7"

in the XAML file.

Note that this error does not occur on a development pc (Windows 7) but on pcs with Windows XP. Do we need special DLLs for this theme to work under a non Win7 environment?
ClausDC
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 08 Sep 2010
2 answers
95 views
Hello!
I have a chart with axis X being a time axis.
As in your "Flexible API" demo, I set the Time Format something like "HH:mm:ss" etc which works ok, but if i need to show the AM/PM designator, by changing the time format to "hh:mm:ss tt" there is no AM/PM shown, but only the time ( e.g. "10:05:30" )
How can be possible to have the day time displayed?

Thank you!
Roxana
RoxanaC
Top achievements
Rank 1
 answered on 08 Sep 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?