Telerik Forums
UI for WPF Forum
1 answer
130 views
What I want to achieve is my tab strip being placed at the bottom, but with the next not rotated 180 degrees.

I set it to the bottom in my XAML like this

TabStripPlacement="Bottom" 

and I have this code in my style

<Trigger Property="TabStripPlacement" Value="Bottom">
                <Setter Property="telerik:RadDockPanel.Dock" Value="Bottom"
                        TargetName="HeaderDockedElement" />
                <Setter Property="LayoutTransform" TargetName="HeaderDockedElement">
                    <Setter.Value>
                        <RotateTransform Angle="180" />
                    </Setter.Value>
                </Setter>
                <Setter Property="BorderThickness" Value="1 1 1 0" />
            </Trigger>

Which is the code that rotates the text 180 degrees.  If I take that line out, the header completely disappears.  If I change it to something as small as Angle="10" it'll show up as rotated 10 degrees.  If I change Angle="0" it's gone again.  I've tried doing a TranslateTransform on the Y axis to see if maybe it was just being drawn off the screen and I could get it to at least show back up somewhere, but that didn't work either.  Any advice?
Petar Mladenov
Telerik team
 answered on 20 Feb 2012
7 answers
182 views
hello
how to Set Focus on FilterDescriptor in form load
Mariusz
Top achievements
Rank 1
 answered on 20 Feb 2012
0 answers
77 views
hi,

i'm working with a RdaGridiView and i want so write my changes in a sqlite Database. I use your Example from the wpf help files "Using in-memory Data" ..

public class RadGridViewSampleData
{
    public RadGridViewSampleData()
    {
        Cars = new ObservableCollection<Car>();
    }
    public ObservableCollection<Car> Cars
    {
        get;
        set;
    }
}

Now i like to write back the changes to the database. How can i get the column details after "RowEditEnded"?

Thanks
Regards
ww
ITA
Top achievements
Rank 1
 asked on 20 Feb 2012
3 answers
155 views
Hi

I've tried using inspiration from a Silverlight question, but to no avail (http://www.telerik.com/community/forums/silverlight/richtextbox/get-hyperlink-from-selected-text.aspx)

What I'm trying to do is find any bookmarks within the current selection, or that surround the current caret position.  I'd settle for just the last, but I'm struggling!

e.g, say I had a bookmark where the "[" and "]" are in the following sentence:

"The quick brown fox [jumped over] the lazy [dog]"

If the caret was anywhere within jumped over (either no text selected, or anywhere up to all of "jumped over" selected), I'd be able to get the bookmark name of the surrounding bookmark.

If I selected the whole sentence, I'd hope to get both bookmarks returned - but the first part is more important!

Thanks for any help.

Charlie
Ivailo Karamanolev
Telerik team
 answered on 20 Feb 2012
4 answers
190 views

Good evening,

Is it possible to assign tags to the "Span" element in a RadDocument (or something similar)?

For example :

<telerik:Span Tag="myValue" Text="Hello world" />

I'm trying to construct a document where the data is drawn from a database. Some how I need to assign a value to each span so that I can identify which database row ID it belongs to. Quite difficult to explain.

Thank you for your time,

Rob




Ivailo Karamanolev
Telerik team
 answered on 20 Feb 2012
1 answer
48 views
When designing the RibbonView using both Design and XAML views, the visual for the RibbonView switches tabs automatically and does not stay in synch with the XAML that you are working on.    For example, if you have 5 RibbonTabs and are adding RibbonButtons to the second tab using XAML, the design view will switch to the last tab.    So you then have to click the second tab in the Design view so that you can see the new button you just added via XAML.

Is there a fix or workaround for this?
Tina Stancheva
Telerik team
 answered on 20 Feb 2012
1 answer
89 views
I upgraded my system from 2011 Q3 to 2012 Q1 (downloaded WPF MSI and installed, used the upgrade Wizard to upgrade my project).

The chartview control does not show in either the toolbox (forced refresh during upgrade and again using the menu option 'Launch Toolbox configurator') nor within the VS2010 Choose Toolbox Items dialog, list of WPF controls.

The chart control is listed, and it would seem everything else - just not RadChartView.
It was in the toolbox in the 2011 Q3 package.

Can you advise what DLL it is in so I can check for that on my system?
Giuseppe
Telerik team
 answered on 20 Feb 2012
0 answers
201 views
hi,

i'm using RadgridView to display my Databaseitems from a sqlite Database. I bind the Data like that:

DataTable dt = new DataTable();
dt = ITA_CRM.Klassen.sqlite.Verbindungen_GET();
MyradGrid.ItemsSource = dt.DefaultView;

Now i want to insert Items, Delete itmes and change items. I would like to use the "telerikGrid:RadGridViewCommands.CancelRowEdit" or
telerikGrid:RadGridViewCommands.CommitEdit"

<telerik:RadButton Width="Auto" Content="save changes" Margin="0,0,5,0" Command="telerikGrid:RadGridViewCommands.CommitEdit" CommandTarget="{Binding ElementName=VerbindungenRADGRID}" Padding="5"/>
 
 <telerik:RadButton Width="Auto" Content="undo changes" Command="telerikGrid:RadGridViewCommands.CancelRowEdit" CommandTarget="{Binding ElementName=VerbindungenRADGRID}"  Padding="5"/>

Is it the right why? Is it better to bind the Data on an other way? how? Can't find a good example to do that.

Thanks a lot
regards
ww
ITA
Top achievements
Rank 1
 asked on 20 Feb 2012
1 answer
202 views

Hi,

I need to build a vertical bar chart that needs to be refreshed every second.

See attached file to check what I got until now.


The RadChart is bound to a Queue<int> that is refreshed every second.

 

The problem is that the BarSeries doesn’t get updated.

I manage to force it to be updated by calling RadChar.Rebind() method.

But it redraw the BarSeries instead of updating it.

 

Could you help me on this?
Thanks,
Hugo.

 

Petar Marchev
Telerik team
 answered on 20 Feb 2012
7 answers
2.0K+ views
I'd like to display dates in the grid in a short format, and then have a hover over tooltip that displays the full date.  For example, a cell might have 13/09, and the tooltip will display 13/09/2009.

Is this possible in the RadGridView?

Thanks,
Dan
Maya
Telerik team
 answered on 20 Feb 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?