Telerik Forums
UI for WPF Forum
5 answers
457 views
hi All

I want 1 column to fill all available width on the screen (the rest are auto width). the issue is that if I set the column  Width="*" then the whole grid is way wider than the available screen space and it produces a horizontal scrollbar.

I am using the latest 2010 version.

I have seen that this issue was mentioned as a bug several times as far back as 2008. Is this still a bug in the current version?
Tina Stancheva
Telerik team
 answered on 12 Jan 2011
3 answers
97 views
I want to focus on a cell of a rad grid view (telerik) without using any event dependin on certain condition.
Please help me as soon as possible.
Maya
Telerik team
 answered on 12 Jan 2011
3 answers
157 views

I have a simple RadPanelBar with ExpandMode="Single" where every item contains a TextBox. Is it possible to enable the user to tab between the TextBoxes?

 

Let's say I have this GUI:

<Grid>
    <Grid.RowDefinitions>
        <RowDefinition Height="25" />
         <RowDefinition Height="10" />
         <RowDefinition Height="200" />
        <RowDefinition Height="10" />
        <RowDefinition Height="25" />
     </Grid.RowDefinitions>
    <TextBox Name="TextBoxA" Grid.Row="0" />
    <telerikControls:RadPanelBar Grid.Row="2" Orientation="Vertical" ExpandMode="Single" >
         <telerikControls:RadPanelBarItem Header="Test 1" IsExpanded="True" >
             <TextBox Name="TextBoxB1" />
         </telerikControls:RadPanelBarItem>
         <telerikControls:RadPanelBarItem Header="Test 2" IsExpanded="True" >
             <TextBox Name="TextBoxB2" />
         </telerikControls:RadPanelBarItem>
     </telerikControls:RadPanelBar>
    <TextBox Name="TextBoxC" Grid.Row="4" />
 </Grid>

 

This is my desired behavior:

  1. The user has focus on TextBoxA.
  2. The uses presses Tab -> Focus is moved to TextBoxB1
  3. The uses presses Tab -> Focus is moved to TextBoxB2, and the corresponding PanelBarItem is expanded
  4. The uses presses Tab -> Focus is moved to TextBoxC

 

Is this possible?

Petar Mladenov
Telerik team
 answered on 12 Jan 2011
3 answers
69 views

Hi,

I read that a Silverlight version of the ScheduleView is comming up. It looks like the ScheduleView has a some advantages over the old RadScheduler, which would be useful in the Silverlight project I'm currently working on. I'm trying to decide which component to use, would it be possible to release a development build of the ScheduleView for Silverlight? 

Jakkie Esschert van den
Top achievements
Rank 1
 answered on 12 Jan 2011
1 answer
265 views
Hi

I need to implement a screen that requires a grid with multiple nested hierarchies (formerly WinForms using DevExpress). From the documentation I see examples of nested grids, but never with multiple grids on the same level (potentially to use multiple ChildTableDefinitions)  or with multiple nested hierarchies i.e. more than one level deep.

Firstly, is it possible to implement these two cases using the Telerik grid and secondly do you have any guidance on how I would go about it?

Regards
Dirk
Vlad
Telerik team
 answered on 12 Jan 2011
1 answer
61 views
Hello ,

I am using following vb.net code to generate a bar chart. But instead of XCategory values "India","Saudi Arabia" ,"United States of America" it shows 1 2 3  sequence. But if i change  Bar3DSeriesDefinition to BarSeriesDefinition  , it works fine.
Desparatly looking for the solution.

Thanks

 

 

 

 

chart1 = New RadChart
chart1.SamplingSettings.SamplingThreshold = 0
Dim sr As New Telerik.Windows.Controls.Charting.DataSeries
sr.Definition = New Bar3DSeriesDefinition
Dim dtpt As Telerik.Windows.Controls.Charting.DataPoint
  
  
  
dtpt = New Telerik.Windows.Controls.Charting.DataPoint
  
dtpt.YValue =1000
dtpt.XCategory = "India"
sr.add(dtpt)
  
dtpt = New Telerik.Windows.Controls.Charting.DataPoint
  
dtpt.YValue =2500
dtpt.XCategory = "Saudi Arabia"
sr.add(dtpt)
  
  
  
dtpt = New Telerik.Windows.Controls.Charting.DataPoint
  
dtpt.YValue =1000
dtpt.XCategory = "United States of America"
sr.add(dtpt)
  
  
With chart1
.DefaultView.ChartArea.DataSeries.Add(sr)
.DefaultView.ChartArea.AxisX.LabelRotationAngle = 90
.FontSize = 8
End With

 

Yavor
Telerik team
 answered on 12 Jan 2011
4 answers
143 views
Hi

I added a RadTreeView as the child of RadOutlookBarItem. 
DefaultImageSrc of RadTreeViewItem for this RadTreeView, is not appearing.

If the same RadTreeView is outside RadOutlookBar, this works.

Is it a known bug ? Or is there any workaround for this ?

Regards
SBK
Petar Mladenov
Telerik team
 answered on 11 Jan 2011
1 answer
81 views
I am using the standard filtering built into the GridView Control. One of the view's colums is bound to an object instead of a string.  Inside the colums the objects show correctly (because the DisplayMemberPath="Name" is properly set).

1) When the I click the filter button for that column the object types are displayed instead of the object names.
2) The avaiable options for filtering is also less than for the normal text column.  Only "Is equal to" and "Is not equal to" shows.

Must my objects implement a specific interface to play correctly with the DataGrid's filtering? Must must be done to show all the filtering options?

Thanks
Milan
Telerik team
 answered on 11 Jan 2011
1 answer
114 views
We are using the ToCSV method on RadGridView to export a grid to excel.

This works fine in most regions, but in germany each record appears in a single cell.

This is because germany uses ";" as the CSV separator by default. The current separator can be found in "CultureInfo.CurrentCulture.TextInfo.ListSeparator"

Is there anyway we can force GridView to use a particular separator?

We are using telerik 2009.2.813.35

<code>
var string = RadGridView1.ToCSV();
WriteStringToFile(string);
</code>
Veselin Vasilev
Telerik team
 answered on 11 Jan 2011
10 answers
353 views
Hi,

I'm trying to show rowdetails when rowSelected. 'mean' is one of column in DataTable, but I got  binding error. Can someone tell me what went wrong. Thanks.

System.Windows.Data Error: 40 : BindingExpression path error: 'mean' property not found on 'object' ''DataRow' (HashCode=22373539)'. BindingExpression:Path=mean; DataItem='DataRow' (HashCode=22373539); target element is 'TextBlock' (Name=''); target property is 'Text' (type 'String')



<

 

 

telerikGrid:RadGridView x:Name="radGridView" Grid.Row="0" ItemsSource="{Binding DataTable}" AutoGenerateColumns="True"

 

 

 

ShowGroupPanel="False" RowDetailsVisibilityMode="VisibleWhenSelected" IsReadOnly="True"

 

 

 

AutoGeneratingColumn="radGridView_AutoGeneratingColumn"

 

 

 

RowIndicatorVisibility="Collapsed" IsSynchronizedWithCurrentItem="False">

 

 

 

 

<telerikGrid:RadGridView.RowDetailsTemplate>

 

 

 

 

<DataTemplate>

 

 

 

 

<StackPanel Orientation="Horizontal"

 

 

 

Margin="10,10,10,10">

 

 

 

 

<TextBlock Text="Average Measure Value: " />

 

 

 

 

<TextBlock Text="{Binding mean}" />

 

 

 

 

</StackPanel>

 

 

 

 

</DataTemplate>

 

 

 

 

</telerikGrid:RadGridView.RowDetailsTemplate>

 

 

 

 

</telerikGrid:RadGridView>

 

Vlad
Telerik team
 answered on 11 Jan 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?