Telerik Forums
UI for WPF Forum
3 answers
207 views
Basically I have a parent-child situation I want to display in a flat grid. But for a series of consecutive rows with the same parent, I only want the first row to show the parent values.

It is basically the same as this question, but for WPF instead of WinForms.

How is it possible to achieve this?
kity
Top achievements
Rank 2
 answered on 07 Aug 2014
0 answers
84 views
 
 How to hide programaticly rows?
 
 bool: Visible is property in collection NasaShipsCollection
 
<br> <telerik:RadGridView ItemsSource="{Binding Path=NasaShipsCollection, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=true, NotifyOnValidationError=true, Mode=TwoWay}" <br>                                     SelectionMode="Single" SelectedItem="{Binding Path=SelectedEvent, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=true, NotifyOnValidationError=true, Mode=TwoWay}"  <br>                                     AutoGenerateColumns="False" ShowGroupPanel="False" RowIndicatorVisibility="Collapsed" CanUserDeleteRows="False" IsFilteringAllowed="True"><br>                    <telerik:RadGridView.Columns><br>                        <telerik:GridViewDataColumn Header="Name" DataMemberBinding="{Binding EShip}" />                        <br>                        <telerik:GridViewDataColumn DataMemberBinding="{Binding Visible, Mode=TwoWay}" FilterMemberPath="Visible" IsFilterable="True" ShowFilterButton="False" ><br>                            <telerik:GridViewDataColumn.FilteringControl><br>                                <controls1:BoolenFilteringControl  /><br>                            </telerik:GridViewDataColumn.FilteringControl><br>                        </telerik:GridViewDataColumn><br>                    </telerik:RadGridView.Columns>                                   <br>                </telerik:RadGridView><br>


public partial class EventField : IDataErrorInfo, IFilterDescriptor
{
#region IFilterDescriptor public Expression CreateFilterExpression(Expression instance)
 {
  return instance;
 }#endregion
}
public class BoolenFilteringControl :UserControl, IFilteringControl
{
 private bool _isActive; public void Prepare(GridViewColumn columnToPrepare)
 {
  // throw new System.NotImplementedException();
 } public bool IsActive
 {
  get
  {
   return true;
   // return _isActive;
  }
  set
  {
   _isActive = value;
  }
 }
}
kity
Top achievements
Rank 2
 asked on 07 Aug 2014
1 answer
448 views
My application contains a RadListbox and I'd like to drag and drop items in this RadListBox from one instance of my application to another instance. How can I accomplish this?

It's similar to wanting the CustomDragVisualStyle_WPF example to support drag and drop between instances instead of just allowing drag and drop within one instance.

I got it working with copy/paste buttons, but I also want to support drag and drop.
Kalin
Telerik team
 answered on 07 Aug 2014
5 answers
239 views
Hi,

I have two worksheets,

The first worksheet has a set of Defined Names and their values.

The second worksheet has a set of formulas that reference many of the Defined Names from the first worksheet. This is also the active worksheet.

If I set the value of the cell referenced by a Defined Name via code using Cells.SetValue, the value is updated on the first worksheet but the values on the second worksheet (that use the Defined Names) are not updated.

If I swap away and then back to the second worksheet, or make a modification to any cell on the second worksheet, all of the values on the second worksheet then correctly update.

It seems that worksheets not directly updated by Cells.SetValue are not being refreshed, even when they reference the updated cell?

Thanks
Anthony
Boryana
Telerik team
 answered on 07 Aug 2014
4 answers
284 views
How do I display minor gridlines in a ChartView?  The data is displayed in a standard cartesian grid with an X and Y axis.
Martin Ivanov
Telerik team
 answered on 07 Aug 2014
7 answers
252 views
I am trying to create a ChartView that uses a LogarithmicAxis, but I want to control the spacing and interval of the major tick lines & labels.  Currently you can only have major lines that are a equal distance from each other, and the labels will adjust accordingly.   I want to be able to display major lines on the Y-Axis at a set value interval, so that the lines will be spaced closer together as you move up the Y-Axis.

The attached image gives a good example of the affect that I am trying to achieve, with lines at value increments of 5.  Is this something that is easily achievable with this control?

Martin Ivanov
Telerik team
 answered on 07 Aug 2014
1 answer
134 views
Hi,

I am trying to create gridview's columns dynamically and it works ok, I have my own object with all properties I want to set on columns. One of them is CellTemplateName so I can set column.CellTemplate = Resources[columnDefinition.CellTemplateName] as DataTemplate and it works ok.

The problem is when I want to read and save column definitions from gridview. Then I don't know how to get this CellTemplateName. I tried to get column.CellTemplate.DataTemplateKey but it is null.

Can you help what is the right way how to get the correct resource name of the cellTemplate?

Thank you,
Karel Bem
Dimitrina
Telerik team
 answered on 07 Aug 2014
1 answer
139 views
Hi,

I'm using Telerik V2014.1.331.40 and I create a usercontrol which contain a ScheduleView, associated to the ScheduleView, I implemented a behavior derived on the ScheduleViewDragDropBehavior to raise en event on the resize completed operation. Sometime, something verry weird occur in the resize completed operation!!! The "Start" property are always in "Local" but sometime, I say sometime, the "End" property are in "Local" and sometime in "Utc"!!!

        public override void Resize(DragDropState state)
        {
            bool isCompleted = true;

            if (this.OnResizeCompleted != null)
            {
                ScheduleViewByWeekResizeCompletedArgs args = new ScheduleViewByWeekResizeCompletedArgs();

                args.ResizeCompletedAgendaSpot.SourceMeetingId = (Guid)(state.Appointment as AppointmentSpot).MeetingId;
                args.ResizeCompletedAgendaSpot.DestinationSpotStart = state.DestinationSlots.FirstOrDefault().Start;
                args.ResizeCompletedAgendaSpot.DestinationSpotEnd = state.DestinationSlots.FirstOrDefault().End;

                this.OnResizeCompleted(this, args);

                isCompleted = args.ResizeCompletedAgendaSpot.IsCompleted;
            }

            if (isCompleted)
            {
                base.Resize(state);
            }
        }

Thank's
Alain
Yana
Telerik team
 answered on 07 Aug 2014
6 answers
160 views
Hi,

I've written a xaml for adding annotation through a RadRichTextBox on contents in a Word document. But when I try to insert sample text using =rand() im getting the error attached.

Any idea why this is happening? I tried to put break points in every method and events on the code behind but the error shows up even before it executes any of my code.

Thanks,
Dexter
Boby
Telerik team
 answered on 07 Aug 2014
1 answer
168 views
I was looking at the tutorial here:

http://www.telerik.com/help/wpf/gridview-events-validation.html

And when I implemented this, I noticed that the error message only appears when I hover my cursor over the top right arrow. Is there a way to show the error when the user hovers over the cell? It seems difficult for the user to have to highlight such a tiny arrow. Thanks.
Dimitrina
Telerik team
 answered on 07 Aug 2014
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?