Telerik Forums
UI for WPF Forum
1 answer
86 views
I am using the day view and ordering by resource. It appears that the headers are showing up in a random order. Sometimes the resource is on top, sometimes it's the date. I have attached a screen shot of the issue.

This is the XAML for my day view
<telerik:DayViewDefinition VisibleDays="{Binding DataContext.VisibleDays, ElementName=Schedule}" MajorTickLength="1h" MinorTickLength="{Binding DataContext.Interval, ElementName=Schedule}" DayStartTime="{Binding DataContext.DayStartTime, ElementName=Schedule}" DayEndTime="{Binding DataContext.DayEndTime, ElementName=Schedule}" TimerulerMajorTickStringFormat="{}{0:h t}" TimerulerMinorTickStringFormat="{}{0:mm}" />
Yana
Telerik team
 answered on 09 Mar 2012
1 answer
107 views
Hi All,

When I try to install Telerik WPF trial version I am getting this error:
unable to find a version of the runtime to run this application

I am Win XP professional, 32bits
I already have .Net framework 4.0 installed

Regards
Chavdar Dimitrov
Telerik team
 answered on 09 Mar 2012
5 answers
136 views
I am currently using the RadDragAndDropManager for the first time and dragging from a RadTreeView to a RadPaneGroup.
Seems to do most of what I need; I'm currently doing all the work on the DropInfoHandler.

The problem I have, is that the "DropInfo" event fires IMMEDIATELY when I drag the RadTreeViewItem over the pane, rather than when I let go of the left mouse button. This is an issue because I have multiple grids, and the user will want to drag over the top of some grids to get to other grids.

Is this functionality by design, or have I done something wrong?


XAML:
<telerik:RadDocking x:Name="Docking" Close="Docking_Close">
 
   <telerik:RadSplitContainer InitialPosition="DockedLeft" Width="240" >
      <telerik:RadPaneGroup>
         <telerik:RadPane x:Name="rpDatabaseBrowser" Header="Database Browser">
            <Grid>
               <telerik:RadTreeView Name="RadTreeView1" ImagesBaseDir="/Images/" LoadOnDemand="RadTreeView1_LoadOnDemand" IsDragDropEnabled="True" telerik:RadDragAndDropManager.AllowDrop="False">
               </telerik:RadTreeView>
            </Grid>
         </telerik:RadPane>
      </telerik:RadPaneGroup>
   </telerik:RadSplitContainer>
 
   <telerik:RadDocking.DocumentHost>
      <telerik:RadSplitContainer>
                     
         <telerik:RadPaneGroup x:Name="rpg1" telerik:RadDragAndDropManager.AllowDrop="True">
            <telerik:RadPane x:Name="rp1" Title="Pane 1">
               <Grid>
                  <telerik:RadGridView x:Name="GridView1" Visibility="Hidden" DataLoadMode="Asynchronous">
                  </telerik:RadGridView>
               </Grid>
            </telerik:RadPane>
         </telerik:RadPaneGroup>
 
         <telerik:RadPaneGroup x:Name="rpg2" telerik:RadDragAndDropManager.AllowDrop="True">
            <telerik:RadPane x:Name="rp2" Title="Pane 2">
               <Grid>
                  <telerik:RadGridView x:Name="GridView2" Visibility="Hidden" DataLoadMode="Asynchronous">
                  </telerik:RadGridView>
               </Grid>
            </telerik:RadPane>
         </telerik:RadPaneGroup>
 
      </telerik:RadSplitContainer>
   </telerik:RadDocking.DocumentHost>
 
</telerik:RadDocking>



Code behind
public MainWindow()
{
   InitializeComponent();
   RadDragAndDropManager.AddDropInfoHandler(rpg1, OnDatabaseBrowserDropInfo);
   RadDragAndDropManager.AddDropInfoHandler(rpg2, OnDatabaseBrowserDropInfo);
}
 
private void OnDatabaseBrowserDropInfo(object sender, DragDropEventArgs e)
{
   //work out which RadTreeViewItem is dragged from
   //work out which RadPaneGroup is dropped on
   //populate Grid on RadPane
}
Nick
Telerik team
 answered on 09 Mar 2012
0 answers
88 views
Hi everybody,

I am exporting a radgridview, version: 2010.1.603.35 (I can´t change it)

My Grid has data this way (decimal) and it keeps the data-format really cool, works pretty well:


But I am unable to get the data when I export with the decimals:


As you can see in the result, I get the number 10000 instead 100,0 or 100 even. Maybe I am missing something.

Can you help me with this? Thanks in advance.

Alvaro
Alvaro
Top achievements
Rank 1
 asked on 09 Mar 2012
3 answers
103 views
Hi

I have various Permission Ranges one after another, each followed by a carriage return.  My aim is to reorder these ranges.

I've managed to cobble together some code that deletes the range of the one I want to remove and it inserts a fragment (fragment obtained prior to deletion via CopySelectedDocumentElements).

This mainly works... except if I have bookmarks in the range I want to copy, they get deleted.  It would appear that copying the selected elemtents to a fragment ignores Bookmarks.

Any suggestions or workarounds welcome!

Charlie
Iva Toteva
Telerik team
 answered on 09 Mar 2012
1 answer
208 views
Hi,

I searched the internet but haven't found anything on this. So I have a RadGridView in my application, which has 2 columns which contains text. What I want to achieve is that the text in these 2 columns can be selected and copied to the clipboard.

Thanks for the help.

Kind Regards,

Andras

Vlad
Telerik team
 answered on 09 Mar 2012
0 answers
46 views
Just received and imported the newest DLLs into my project and it has made all of my existing filter buttons triple in size.  This creates a massive hassle for everyone using this tool.

Are there size/placement properties available to set for the filtering button per column?

Thanks in advance.
Tanner
Top achievements
Rank 1
 asked on 09 Mar 2012
0 answers
114 views
I have some operations that require me to perform updates on items (in bulk, possibly hundreds of thousands, so on the server end), but restricted to the items filtered by the user in the grid.  I'm aware of the Telerik.Windows.Data "Where" extension that returns an IQueryable given the grid's filter collection, and that IQueryable has an Expression property that seems to be just what I want.

The signature of my update statement is 

Update<TResult>(Expression<Func<TEntity, TResult>> entityExpression<Func<TEntity, bool>> predicate);

You can disregard the "entity" argument, that describes the data to be updated.  How can I use Expression returned from the "Where" method populate the "predicate" argument?

Thanks!

IT Department
Top achievements
Rank 1
 asked on 08 Mar 2012
1 answer
127 views
What I am trying to do:
I have a bar chart with a series of data points which start out unselected.  When I click on a data point in the chart or set the DataPoint.IsSelected property to true, I want the visual display of the bar to change so it stands out by adding a black border around it. So far, I have been unable to get the chart to reflect these selection changes.
  Side note -- the Pie chart I did this for automatically has the "explosion" as the default ChartSelectionBehavior which is awesome.

How do I get the chart bars to reflect data point IsSelected changes?


Thanks in advance,

Tracy
Tracy
Top achievements
Rank 1
 answered on 08 Mar 2012
6 answers
254 views
Hi,

Is it possible to bind to an array of arrays?

We need to bind to some dynamic data, so we cannot pre-generate classes for the data items.


Craig
Kristjan Einarsson
Top achievements
Rank 1
 answered on 08 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?