Telerik Forums
UI for WPF Forum
1 answer
78 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
147 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
218 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
111 views
I'm Korean.

I can't  Writing And Reading

How to?
Tsvetie
Telerik team
 answered on 19 Nov 2013
1 answer
114 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
461 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
125 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
362 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
111 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
3 answers
176 views
Is it possible to change the "layout" of the RadDataForm (for instance, maybe generate 2 columns of property/value pairs instead of just 1)?  I know I can create any layout I want by providing custom ReadOnly / NewItem / and Edit templates.  However, in order to do that, I'd need to design specific templates for each DB table I want to work with (and there are many). 

While I may get to that at some point, for now I'd like to simply work with the auto-generated layout, except that I'd like it to better utilize the available screen space.  With the current format (only 1 property/value pair per row), I sometimes end up with a list of items that needs to be vertically scrolled, while I have *lots* of horizontal screen width being wasted.  I'd prefer to place multiple property/value pairs in a single row to better use the horizontal space and eliminate the vertical scrolling where possible.

Is this possible without creating custom templates for each edited table?

Jeff
Dimitrina
Telerik team
 answered on 19 Nov 2013
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?