Telerik Forums
UI for WPF Forum
3 answers
317 views
I have a RadDataForm bound to a single DataRowView of a DataTable.  If I allow the form to auto-generate the editor fields, the "Cancel" function works as advertised.  That is, I can edit any number of the fields, press Cancel, and their original values are returned prior the the form shifting back to ReadOnly mode.

However, if I supply a custom template for the same DataRowView, when I edit some data and press Cancel, the original values are not put back into the editor fields.  The form is placed back in ReadOnly mode (as expected), but the modified values are still there.

How can I get a custom template to play nicely with the Cancel function?  I see no mention of this anomaly in the docs or on the forums.

Jeff
Dimitrina
Telerik team
 answered on 19 Nov 2013
1 answer
115 views
Hi,

I'm using the ScheduleView control with a WeekViewDefinition and I would like to know if it's possible to have the viewdefinition allways without any scrollbars. I mean, whatever the size of the control, I want the view content always visible in the current view area.

Thank's
Alain
Rosi
Telerik team
 answered on 19 Nov 2013
1 answer
174 views
Hello,

I have a RadGridView that i bind to custom objects and those objects have a property which is a list of child objects.  All works fine, except I cannot figure out how to capture child grid/table edit events. For instance in the code behind I have this:

          this.radGridView.RowEditEnded += radGridView_RowEditEnded;


so I can respond and call some other services when a row edit ends on a parent row.  But how to attach handlers to my child table definitions?

Thanks!
Yoan
Telerik team
 answered on 19 Nov 2013
3 answers
276 views

Hello, I have a problem with a Hierarchical GridView.
Both my father grid and child one have dataset as datasource.
When I'm going to add a new row in child gridview i should populate the fields with a value taken from a textbox.
To populate cells of the new row I used the sub SubGrids_AddingNewDataItem or SubGrids_BeginningEdit to assign values to each cell.
The process seems to work, I can see the new added row but i can't see assigned values of each gridview cells immediatly, I have to click 2 times over each cell to see the values.
Once the new row is added to my gridview i don't see any value even if the item contains the value in code behind. The second time I enter the cell I can see the value I set in code behind.
I need your help to know how to add a new row in my child gridview, setting values from code behind and get them immediately visible when creating new row process ends.


Best Regards
Dimitrina
Telerik team
 answered on 19 Nov 2013
1 answer
152 views
I'm Korean.

I can't  Writing And Reading

How to?
Tsvetie
Telerik team
 answered on 19 Nov 2013
1 answer
157 views
I have tried everything I can think of and I can't get the grid to scroll when it has more records than the size will display. Here is the XAML code that I have:


<Window
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" x:Class="xxx.MainWindow"
        Title="MainWindow" Height="716.724" Width="878.584">
 
 
 
        <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="60"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>          
            
         
        <telerik:GridViewDataControl
            Name="Grid"
            ItemsSource="{Binding Items}"           
            Grid.Row="1"        
            ShowGroupPanel="False"
            AutoGenerateColumns="False">
 
                        
             
            <telerik:GridViewDataControl.Columns>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding ISCI}" Header="ISCI" UniqueName="ISCI" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding CallLetters}" Header="Call Letters" UniqueName="CallLetters" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding OrderTracking}" Header="OrderTracking" UniqueName="Order Tracking" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Mft_Priority}" Header="Priority" UniqueName="Priority" />
                <telerik:GridViewCheckBoxColumn AutoSelectOnEdit="True" EditTriggers="CellClick" DataContext="{Binding SetTopPriority, Mode=TwoWay}" Header="Bump" UniqueName="SetTopPriority"/>
 
            </telerik:GridViewDataControl.Columns>
 
        </telerik:GridViewDataControl>
         

    </Grid>
</Window>
Yoan
Telerik team
 answered on 19 Nov 2013
3 answers
520 views
Hi ,

In my application, i have two radlistboxes. When i drag an item from one to another, the item gets added correctly.
But   "DragOver"  and  "Drop"  event is never called. What i should do to invoke the drop.

Thanks in advance,
Selva
Nick
Telerik team
 answered on 19 Nov 2013
5 answers
193 views
Hi,

actually with my RadScheduleView, I use a week view definition with the following parameters to have only 3 ranges of time, ie: 8am, 1pm and 6pm. Actually my control display 8:00, 13:00 and 18:00 and I would like to know if it's possible to replace those values by: AM. PM & Evening???

Thank's
Alain
Kalin
Telerik team
 answered on 19 Nov 2013
2 answers
408 views
Hi,
I wanted to download the RadControls for WPF source code.
Where can I download a source code from?
Takashi Nimura
Top achievements
Rank 1
 answered on 19 Nov 2013
1 answer
148 views
Hi,

We are trying to display data for a particular DataPoint which triggered a mouse event in a label but we are not having too much luck with it as we keep getting the entire BarSeries, not the actual DataPoint, passed into the event.

Here is a recap of what we are trying to achieve:

- a Stacked BarChart has two bar series ("Events" and "NonEvents" in the example) which are populated through a binding.
- there are three categories displayed: "G1", "G2" and "G3".
- on mouse over event of "G3"  bar we would like to display text "G3" on a label which is not a part of the chart.

Any ideas on this?

Best regards,
Tanja Risovic


Code:

  public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            
            var dataModel = new List<ViewDataModel>();

            var dataModel1 = new ViewDataModel();
            dataModel1.Events = 151;
            dataModel1.NonEvents = 24;
            dataModel1.GroupID = "1";
            dataModel1.GroupLabel = "G1";
           

            dataModel.Add(dataModel1);


            var dataModel2 = new ViewDataModel();
            dataModel2.Events = 4132;
            dataModel2.NonEvents = 529;
            dataModel2.GroupID = "2";
            dataModel2.GroupLabel = "G2";
          

            dataModel.Add(dataModel2);

            var dataModel3 = new ViewDataModel();
            dataModel3.Events = 1832;
            dataModel3.NonEvents = 109;
            dataModel3.GroupID = "3";
            dataModel3.GroupLabel = "G3";
           

            dataModel.Add(dataModel3);

            BarChartPercentage.DataContext = dataModel;         

                    }

        private void BarSeries_MouseEnter(object sender, MouseEventArgs e)
        {

            this.label.Content = ???; //We would like to show the GroupLabel of the DataPoint which triggered the mouse event, for example "G3"
      
        }

    }
Petar Marchev
Telerik team
 answered on 19 Nov 2013
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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?