Telerik Forums
UI for WPF Forum
15 answers
531 views
Hi,

i use the RadTabControl (latest Version). My problem is this. I want to add items with a button outside the rabtab-control.
And i want to remove the item by clicking on a "x" on the TabItem. How is this possible? I just find examples to do this in
the tabcontrol itself,

Thanks
best Regards
Rene
Kiril Vandov
Telerik team
 answered on 24 Jun 2013
2 answers
39 views
Hi

I am trying to use FilterDropDownControl but the pop-up control is not appearing next to the funnel, its appearing at random location.
Is there any way to set the pop-up placement
Vamshi
Top achievements
Rank 1
 answered on 24 Jun 2013
1 answer
123 views
Hi 

Is it possible to place the togglebutton at the right of the content when it is expanded to the right?

<telerik:RadExpander VerticalContentAlignment="Center"
                        VerticalHeaderAlignment="Center"
                        ExpandDirection="Right">
       <telerik:RadExpander.Content>
           <!--- Content --->
       </telerik:RadExpander.Content>
   </telerik:RadExpander>


Thanks in advance.

Greetings
Lowie
Lowie
Top achievements
Rank 1
 answered on 24 Jun 2013
1 answer
152 views
I am using RadSlider inside a ListBox. I am setting the Maximum value of RadSlider to 4000. It is taking long time to load the RadSlider. If I replace the RadSlider with normal slider, it works great. Please help in solving the issue.

Pavel R. Pavlov
Telerik team
 answered on 24 Jun 2013
3 answers
43 views
Hi There,
We recently upgraded to Q2 2013 and adding a DateTimeGroupDescription as RowDescription makes the pivotgrid blank.

Below is the sample code:

public void UpdatePivotGroups()
{
    dataProvider.RowGroupDescriptions.Clear();

     foreach (FieldClass field in this.RowGroupDescriptions)
     {
         if (field.DataType == typeof(DateTime))
             dataProvider.RowGroupDescriptions.Add(GetDateTimeGroupDescription(field));
      }
}

public DateTimeGroupDescription GetDateTimeGroupDescription(FieldClass field)
{
            DateTimeGroupDescription groupDescription = new DateTimeGroupDescription();
           
            groupDescription.Step = DateTimeStep.Day;
            groupDescription.PropertyName = field.FieldID;
            groupDescription.SortOrder = SortOrder.Ascending;
           
            return groupDescription;
  }

it worked as expected before the dll update. So I am wondering if I need to change the way adding DateTimeGroupDescription.

Thanks!
Polya
Telerik team
 answered on 24 Jun 2013
5 answers
462 views
Hi,
I have to load in a RadGridView records from a table which has more than 10 millions of records. In my window (apart from the RadGridView) I also have a RadDataPager to paginate all those records from 100 to 100 records, but my problem is that all of the several millions of records are loaded at the beginning and paginated after that. Because of that, my windows becomes too slow when loading.
I have read in http://www.telerik.com/community/forums/wpf/gridview/gridview-loading-rows---tooks-5-to-10-sec-with-2500-records.aspx
that using LINQ-to-SQL or LINQ-to-Entities eliminates the problem, but I don´t know how to implementate it. I've try it in different ways but always with the same result (window takes too much to load). How do you tell RadDataPager to take next 100 records from last time ".Take()" executed?
Please, if it's possible give me an example of how to bring only the amount of records I want (for example, 100 records) and when user clicks on "next page" of RadDataPager bringing the next 100 records... (I'm currently using WPF with pattern MVVM).

Thanks for answer,

Sonia.
Rossen Hristov
Telerik team
 answered on 24 Jun 2013
1 answer
397 views
Hi.
I've added RadBusyIndicator to my window, so it's looks like :
    <telerik:RadBusyIndicator Name="rbi" IsBusy="True" IsIndeterminate="False">
    <Grid>
        
        <Grid.RowDefinitions>

(......)

//all grids/wrappanels/buttons/radgridviews goes here

    </Grid>
    </telerik:RadBusyIndicator>
</Window>

And in window i've added method .Loaded, so it changes busyIndicator isBusy value to false.
Problem is that, when im pressed button to open this window all i can see is white screen (without anything), that tooks couple seconds, and then just viewing all controls in window.
How can i force busyIndicator to work while window isn't loaded?

Thanks!
Vladi
Telerik team
 answered on 24 Jun 2013
1 answer
120 views
I am working on a radgrid with ComboBox columns and I'm wanting to switch around the way the keyboard manipulates the dropdowns and the grid. I want to navigate through the cells with the arrow keys and when I get to the cell I want I want to hit Enter and that will open the dropdown list of that cell. After I navigate through the items of the dropdown list I want to hit Enter again and the cell no longer be in edit mode and the value i chose to be displayed. Currently I have it behaving similar to that except not exactly. The dropdown will open on Enter and I can cycle through the items, however, when I hit enter again the dropdown closes and the value is selected but the cell is still active and when I use the arrow keys it still sorts through the dropdown items so I have to hit Enter again to commit the data. And when I hit Enter the second time the data is committed and the cell under the cell I just changed is now the selected cell....I don't want Enter to move down. How can I accomplish this. I realize this is kind of confusing so any help would be appreciated thanks.
Dimitrina
Telerik team
 answered on 24 Jun 2013
1 answer
54 views
Hi,

I am creating an application using WPF, MVVM , C#.
I am just wondering if there is a way to save each tile of a RadTileView as image.

So far I manage to save the whole tileview by using the following code:

 private void SaveTileView()
        {
            var imagePath = "C:\\Users\\" + "TestSciChart" + Random.Next(200) + ".png";

            using (Stream stream = new FileStream(imagePath, FileMode.Create))
            {
                var encoder = new TiffBitmapEncoder();
                Telerik.Windows.Media.Imaging.ExportExtensions.ExportToImage(
                    ChartTileView, stream, encoder);
            }
        }

but I haven been able to save each tile separately? Can someone help me please?

this is my tileview declaration:

<telerik:RadTileView    x:Name="ChartTileView"
                                    telerik:PersistenceManager.StorageId="ChartTileView"
                                    Margin="0" Padding="0"
                                    VerticalContentAlignment="Top"
                                    VerticalAlignment="Stretch" 
                                    HorizontalAlignment="Stretch"
                               ColumnsCount="1"
                               IsAutoScrollingEnabled="True"
                               IsDockingEnabled="True"
                               IsVirtualizing="True"
                               ItemsSource="{Binding Views}"
                               ItemTemplate="{StaticResource HeaderTemplate}"
                                    ColumnWidth="*"
                                    RowHeight="250"   
                                    MaximizeMode="Zero" 
                               TileStateChangeTrigger="SingleClick">
            </telerik:RadTileView>


Thanks so much.

Sandra
Pavel R. Pavlov
Telerik team
 answered on 24 Jun 2013
1 answer
148 views
I'm using the RadGridView GridViewMaskedInputColumn with a mask for a phone number "(###) ###-####", and I would like to have the phone number display with the mask when not being edited in the grid.  I can seem to get the "DataFormatString to work.  I've tried DataFormatString="{}{0:(###) ###-####}" with no luck.  Thanks!
Lawrence
Top achievements
Rank 1
 answered on 23 Jun 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?