Telerik Forums
UI for WPF Forum
3 answers
116 views
Ok I have a cool idea but I don't know if I can pull it off...

I have a chart for a dashboard that displays metrics data in a stack for every day of the current week. 
I load all of the days of the week except for the current day using a query into an archive data warehouse table.
I pull the current days data from current tables.

This works well but my goal is to display this data on a dash console in the office and update the chart every 15 seconds.  
I only want to update the current day's bar though....  I don't want to refresh the whole control.

i.e.

if today is Tuesday I want to display Sat, Sun, Mon, Tue values but I want to refresh Tue every 15 seconds and only re-paint the bars for Tuesday.

Is this possible?
Thanks,
Tim
Velin
Telerik team
 answered on 09 Oct 2009
6 answers
243 views
Can you shed any light on what would cause this issue? Typically, it will happen when I group or when I try to sort on a column.

I'm using the grid to display a set of search results, 10 columns in total. There will be duplicate values in some columns as some identifiers (customer / transaction IDs, etc) may appear multiple times. The grid is bound via MVVM to an ObservableCollection of objects via the DataContext. The columns are set up as attributes of those objects on first bind of the DataContext.

The data comes up fine on first load; then has issues when we sort or group.
Hristo
Telerik team
 answered on 09 Oct 2009
1 answer
86 views
I cannot see any way of selecting multiple items programmatically only single items. I am asking as I have a need to automatically refresh the grid but keep a users selections that they may be working on at the time.
Milan
Telerik team
 answered on 09 Oct 2009
1 answer
86 views
Any plans to allow floating panels to move outside the bounds of the main window?

-Terry
Kaloyan
Telerik team
 answered on 09 Oct 2009
1 answer
187 views

Is there a way, in XAML, to cause the tab item headers to stretch across the width of the tab control.

For example, I have three tabs, red, blue and green. I have a tab control with it's width set to auto, the tab headers will only fill up part of the space above the tab content, I want them to fill up all the space.

More specifically if I have 4 tabs I want last tab to take up the remaing   space.

Dimitrina
Telerik team
 answered on 09 Oct 2009
2 answers
94 views
Hello again,

I have another anoying bug in the GridView! With the following grid's XAML code:

<telerik:RadGridView Grid.Row="1" Margin="0,5,0,5" Name="rgvAdministrativeAgent" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" SelectionChanged="rgvAdministrativeAgent_SelectionChanged" AutoGenerateColumns="False" RowEditEnded="rgvAdministrativeAgent_RowEditEnded" ValidationMode="Row">  
    <telerik:RadGridView.Columns> 
        <telerik:GridViewDataColumn Header="Name" DataMemberPath="Name" /> 
        <telerik:GridViewDataColumn Header="Abbreviation" DataMemberPath="Abbreviation"  /> 
    </telerik:RadGridView.Columns> 
</telerik:RadGridView> 

When I start editing a row, everything is fine until I hit the "enter" key!

Then, the RowEditEnded event is launched as expected but when it ends, the row stay in edit mode! As long as I use the "enter" key, it will stop the edition mode and worse: it will relaunch each time the RowEditEnded event with a strange behavior because de e.newData stays the same as the first time the event was launched (even if data was modified before hitting "enter" key).

The only way to get out of this is to click anywhere else (wich launches also the RowEditEnded).

I don't know if it is normal, but I would expect the grid to stop editing the row when hitting "enter".
Is there any workaround?

Thanks,

Daniel
Daniel Nevers
Top achievements
Rank 1
 answered on 09 Oct 2009
3 answers
132 views
<TabItem.header>
<textBlock>ABC</textBlock>
</TabItem.Header>

When I am modifying Header template like this then it's not raising tab click event but when I click somewhere to end corners of tabheader.Event fires.I think It is something related with bubble events Which is not working when modifying header.

Please help me for this.
Kiril Stanoev
Telerik team
 answered on 08 Oct 2009
5 answers
259 views
Hi,

The grid control looks good performance and feature wise.
However i was wondering how to switch on the cell-only/cell-row navigation (with keyboard) feature.

Can anybody suggest me on this?

Thanks,
Anurodh
Hristo
Telerik team
 answered on 08 Oct 2009
2 answers
211 views

Hi.

I updated to Q2 2009 SP1 and now I have problem with small sliders (Width less than 56).
I use default theme (I think Office_black) and when I want to create slider with small Width it is not working right.

For example I want to do something like this:

myTestSlider = new Telerik.Windows.Controls.RadSlider();
myTestSlider.IsSnapToTickEnabled = true;
myTestSlider.TickPlacement = Telerik.Windows.Controls.TickPlacement.None;
myTestSlider.TickFrequency = 1;
myTestSlider.Focusable = false;
myTestSlider.Width = 34; // 8+20+6
myTestSlider.Minimum = 1;
myTestSlider.Maximum = 10;
Canvas.SetLeft(myTestSlider, 10);
Canvas.SetTop(myTestSlider, 10);
myTestCanvas.Children.Add(myTestSlider);

Slider Control has width 34 but its "internal" parts look and work like on width around 56 and so right part is not visible and goes beyond right border.
I don’t know if I am doing something wrong but currently I am not able to make small sliders.

Best regards,
Michal

Michal
Top achievements
Rank 1
 answered on 08 Oct 2009
3 answers
414 views
protected void RadGrid1_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e) 
         
    { 
        if (e.Item is GridHeaderItem) 
        { 
            GridHeaderItem header = (GridHeaderItem)e.Item; 
            // to set the height of the Grid Header 
            header.Height = Unit.Pixel(20); 
 
            // to add an Image in the Grid Header 
            Image img=new Image(); 
            img.ID = "Image1"
            img.ImageUrl = "~/Image1.gif"
            header["columnUniqueName"].Controls.Add(img); 
 
        } 
    } 


Can anyone please let me know how to do above thing in WPF RADGRIDVIEW because radgridview dont have any event like ItemDataBound. I m also using Telerik.windows.control namaspace not Telerik.Web.UI. 



Below is my Code

// I m adding Columns dynamically,

GridViewDataColumn IsUnRead = new GridViewDataColumn();
IsUnRead.Header = "R";
IsUnRead.UniqueName = "IsUnRead";
IsUnRead.Width = new GridLength(40);
this.gvEmail.Columns.Add(IsUnRead);



I want to have Image in header also dynamically by code.


Thanks in advance. Your view will be highly appreciated.

MIRAL SHAH 
Milan
Telerik team
 answered on 07 Oct 2009
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?