Telerik Forums
UI for WPF Forum
1 answer
256 views
I have a RadChart (2011-Q3) with a single X axis and 2 Y axis's. The right Y axis gets its MaxValue and Step from binding to properties in my associated view model. Every three minutes the underlying data in the VM refreshes itself. I'm noticing that when the underlying data refreshes itself, the data on the chart refreshes, but the right Y axis does not. It does not attempt to retrieve new values for the MaxValue and Step. I've determined this by setting breakpoints on my getter properties. The getter is called once, when the chart first loads, and is never called again, even when the chart data refreshes.

Is this a bug in the Chart control, or is there something I need to do to cause the entire chart to refresh (including the axix's) when the underlying data refreshes?
Petar Marchev
Telerik team
 answered on 29 Dec 2011
6 answers
370 views
Hello,

I'm trying to replace the window that appears on AppointmentEditing event of the radscheduleview.


I'm updating an appointment, then I try to commit the changes with .Commit() method (which actually returns false -> there must be an error in this method, but I can't see it :P )

I'll give you a code snippet of what i'm trying to do:

  private void AppointmentEditingHandler(object sender, AppointmentEditingEventArgs e)
        {
            try
            {
...
 var appointment = e.Appointment;
...
 var radScheduleView = (RadScheduleView)e.Source;
                appointment.BeginEdit();
                appointment.Start = newStartDateTime;
                appointment.End = newStopDateTime;
                appointment.Subject = courseTypeToString;
                appointment.EndEdit();
                radScheduleView.Commit();
 
                e.Handled = true;
                e.Cancel = true;
                e.RoutedEvent = null;
}
catch (exception ex)
{}

I've tried every single thing on your forum but I haven't manage to make it work.

Please help me with the above issue, it's VERY annoying.
Nadisan
Top achievements
Rank 2
 answered on 29 Dec 2011
4 answers
128 views
Hi all,

I've made the first row of my grid contain comboboxes using a DataTemplateSelector. This works like a charm.

My problem is associated with validation errors when they occur in a cell in a different row. When a cell fails to validate, the cells in the rest of the grid become readonly and non-focusable, or disabled in some fashion, so the focus cannot be changed to a different cell in the grid. However, the comboboxes remain enabled. I want to disable them but cannot find a property in the tree above them to bind to.

I am trying to use something like:

const string xaml =
      "<DataTemplate>"
    + "<ComboBox Tag=\"{0}\" IsEnabled=\"{{Binding Path=IsEnabled, RelativeSource={{RelativeSource FindAncestor, AncestorType=telerik:GridViewCell}}}}\" />"
    + "</DataTemplate>";
string dataTemplateXaml = string.Format(xaml, fieldIndex);

In this example, I am looking to the IsEnabled property on the enclosing GridViewCell but it does not work. I've used Snoop to walk up the tree to the RadGridView to find a property to which I can bind to get the correct behavior. I cannot find a property that changes when there is a validation error in a cell in the grid.

Maybe I'm way off base on this approach. Suggestions would be greatly appreciated.
Scott
Top achievements
Rank 1
 answered on 29 Dec 2011
0 answers
92 views
hi all
i want each row having an color like reports.
for example:
row 1 white , row 2 black , row 3 white , row 4 black ...
this two color to all rows Decussate.
any one know how can do this?
thankful.
rastin
Top achievements
Rank 1
 asked on 29 Dec 2011
2 answers
384 views
Hello,

Please see the attached screenshots of my RadTreeViewItems. As you can see, when the tree has lost focus, the highlight colour of the SelectedItem becomes almost impossible to distinguish from an unselected item and this is causing usability issues with our users. I would like to know how to make the highlight colour not change when the tree has lost focus.

Thanks,

Ammaar.
Yogesh
Top achievements
Rank 1
 answered on 29 Dec 2011
0 answers
100 views
Hello i am using RADDocument for converting the Grid to the table.
I am able to convert the grid successfully along with Image and colors. But that RADDocument works only for Printing the Table. and for exporting the table to PDF the table is exported successfully but the colors are not displayed at all.
After reading to some of your posts i found a Solution for that but the problem is colors are not getting displayed as expected.
Can u please help me for that
Nisarg
Top achievements
Rank 1
 asked on 29 Dec 2011
1 answer
261 views
I'm trying to make a multi-select combobox with checkboxes in each item. Is there an event/way to get access to the clear selection button? I didn't see an event and I wasn't having luck finding the button in the visual tree. I was hoping i could hook into previewleftmousebuttondown and do my clear action. 
Yana
Telerik team
 answered on 29 Dec 2011
1 answer
155 views
hi
the tree view UI is perfect in ie and firefox on system but if i browse on Ipad the [+] add node visual to small is there is any way to increase the size of node that give me help on visualized on ipad.
Hristo
Telerik team
 answered on 29 Dec 2011
5 answers
144 views
Hi Forum,
    Sorry if this is a repeat, I could not find a similar problem on the forums.    

I am having trouble using the 2011.3.1116.40 version of the telerik WPF controls. I have a WPF Map InformationLayer that has it's ItemsSource bound to an ObservableCollection, and what I was seeing is that changes to the collection were not showing up on-screen until I zoomed in or out.

My DataTemplate for the InformationLayer contains a UserControl that holds the content and defines the MapLayer.Location property, and this seems to be causing the problem.

 

I built a sample app to test and found that clearing the items always updates correctly, however when I add items they do not show until I zoom or add another item at a later time (in which case the older item shows but the new item does not.)

Even when adding multiple items at the same time they do not show up on the map until another item is added at a later time.

If I change my DataTemplate to wrapper the UserControl in a Grid that sets the MapLayer.Location but is defined as a local resource the items appear immediately.

In the code below, "HintTemplate" is the DataTemplate that appears immediately, while "HintTemplate2" appears only after a later change to the collection or a Zoom.

<DataTemplate x:Key="HintTemplate">
        <Grid
            telerik:MapLayer.Location="{Binding Location}"
            HorizontalAlignment="Center"
            VerticalAlignment="Center">
            <local:Hint />
        </Grid>
    </DataTemplate>
      
    <DataTemplate x:Key="HintTemplate2">
        <local:Hint />
    </DataTemplate>

 
I'll use the wrapper approach for now to work around my issue, but would really appreciate it if someone could tell me what I've done wrong. 

The sample app zips up to 17Kbytes, so I can easily provie it if that will help explain my issue.

Thanks,
    Ian Barnes

Sia
Telerik team
 answered on 29 Dec 2011
0 answers
97 views
hi all
i have radgridview and radcarousel.
i want when i filter radgridview with its filter controls then its filter apply to radcarousel.
anyone can help me?
thankful.
rastin
Top achievements
Rank 1
 asked on 29 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?