Telerik Forums
UI for WPF Forum
2 answers
79 views
(I'm not sure if this is the correct forum to post this question in or not. I'm seeing this behavior in the XAML view, so I suspect that I should post it here.)

I've got the DevCraft Complete suite. I suspect that it's effecting the display of code, perhaps its the JustCode piece; I'm not sure. What I'm seeing is some code in the XAML view looks fine, whereas other code is dim, almost to the point of being translucent. I've noticed this in both VS 2012 and VS 2013.

What is causing this? And what does it mean?
Rod
Top achievements
Rank 1
 answered on 17 Mar 2015
1 answer
158 views
Hi, I have this data {make: "Toyota", model: "Prius", fuel: ["Petrol", "Electric"] } (JSON for simple view) and a want show it on GridView Fuel column, with both data (Petrol and Electric) and make filterable, showing that model in the petrol selection and in the electric selection.

Sorry about my English.

Thanks in advance.
Dimitrina
Telerik team
 answered on 17 Mar 2015
2 answers
209 views
Dear Ad,

I would like to ask you a question that is about Sorting among groups in RadGridView control.
Look at the attachment.
1) when column is not grouping, I CAN sort size basing on Description then Length. (multi-criteria  sorting).
2) when column is grouped by Size, a box of Size at grouping area permits users to sort among group. The problem is; that sorting based on Caption/String of size.
The picture is showing 2x2 > 2x14 but actually I want  2x14 > 2x2 in this case.
I dig in this a lot, such as rebinding SortDescriptor at the event of grouping but looks like group-sorting is run at the last and noway to cancel it.
I called e.Cancel = true already, but this action seemed to make group-sorting disable like loosing this function on UI.

Please help me on "multi-criteria  group sorting".

Thanks
Hao
Dimitrina
Telerik team
 answered on 17 Mar 2015
1 answer
178 views
Hi team,
I've learned the Template Structure of RadExpander and know the header is just a RadToggleButton. Now I want to make the header sort of a container which contains other controls and also a button representing the functionality of the original RadToggleButton. I have no idea to do that? Any demos?

-Jingfei
Sia
Telerik team
 answered on 17 Mar 2015
1 answer
133 views
I am looking at ScheduleView to see if it can fit some of my scenarios. And here is some scenarios I stuck with:

1) occur 5 times a day on every 2 days

2) occur every 4 hours a day on every 2 days

Could I know how can I set this recurrence pattern on code behind?

Moreover, I have tried a RecurrencePattern like the following:

            pattern = new RecurrencePattern()
            {
                Frequency = RecurrenceFrequency.Daily,
                HoursOfDay = new int[] { 4, 8, 12, 16 },
                Interval = 2,
            };

and I suppose, on day 1 , the events occur at 4am,8am,12pm and 16 pm. On day 2, no event occur. On day 3 , events occur like on day . On day 4, no event occur.  But turn out, events occur on Day 2,Day 4 as well. Am I misunderstanding the parameter "Interval"? How can I set in this case if I want to occur on every 2 day?
Kalin
Telerik team
 answered on 17 Mar 2015
8 answers
1.1K+ views
I'm using DragDropManager to reposition ListViewItems within a single ListView. How can I prevent a ListViewItem from being dragged out of the ListView? RadDragAndDropManager used to have a DragQueryEvent, but I cannot find a similar event with the new  DragDropManager  framework.
Kalin
Telerik team
 answered on 17 Mar 2015
2 answers
198 views
I am trying to delete a field in database(using linq) corresponding to item on which delete button is clicked. the code is same as:http://demos.telerik.com/silverlight/#DataForm/FirstLook.how can i implement that?
Pranav
Top achievements
Rank 1
 answered on 17 Mar 2015
3 answers
385 views
Greetings.

In our web application we implemented the Telerik RadEditor.
Now we have a problem exporting a document to word.

When we export the document,  the text aligned to the right, keeps normal (from left to right).
However if we align the text with spaces to the right, the format keeps well.

Any idea what might be going on for right alignment not working? Don't know if it helps, put left align and center align are working and are well exported.

Regards.
Tanya
Telerik team
 answered on 17 Mar 2015
1 answer
129 views
Hi,
I use a VirtualCollection binded to a RadGridView (Version 2015.1.225.45    framework 4.5.1 ) 
My scenario is : when i click on the button move last  VirtualCollectionPays.MoveCurrentToLast(); the scrollbar of gridview move to last position and when i click on the button move fist  VirtualCollectionPays.MoveCurrentToFirst(); the scrollbar of gridview move to fist position .

Error :  when i move to the last and come back to first position the loading event in virtual collection make a recursive call and load all Items in the database .
I use a plain wcf services  not rest nether data services .
i use an async methode in the loading event .

//
public async void LoadData()
       {
           VirtualCollectionPays = new VirtualQueryableCollectionViewExtended<Pay>() { LoadSize = SizePage };
           VirtualCollectionPays.ItemsLoading += VirtualCollectionPays_ItemsLoading;
           
           PayDataPage datapager = null;
            
           var slowTask = Task.Run(() =>
           {
               datapager = _dataProvider.GetQueryableLazyPay(SizePage, position, PayFilterDescriptor, PaySortDescriptor, PayGroupDescriptor);
           });
 
           await slowTask;
 
           VirtualCollectionPays.VirtualItemCount = datapager.TotalCount;
           VirtualCollectionPays.Load(0, datapager.DataItems);
       }


 
async void VirtualCollectionPays_ItemsLoading(object sender, VirtualQueryableCollectionViewItemsLoadingEventArgs e)
        {
             
            BusyIndicatorGrid = true;
            try
            {
                PayDataPage datapager = null;
                ItemsLoading = Task.Run(() =>
                {
                    datapager = _dataProvider.GetQueryableLazyPay(SizePage, e.StartIndex, PayFilterDescriptor, PaySortDescriptor, PayGroupDescriptor);
                });
 
                await ItemsLoading;
                 
                VirtualCollectionPays.Load(e.StartIndex, datapager.DataItems);
                 
                BusyIndicatorGrid = false;
            }
            catch (Exception ex)
            {
                string mg = ex.Message;
            }
 
        }

when selected change of gridView the scrollbar change position 

void radGridViewPay_SelectionChanged(object sender, SelectionChangeEventArgs e)
       {
           var VMListePay = this.DataContext as VMListePay;
           radGridViewPay.ScrollIndexIntoView(VMListePay.VirtualCollectionPays.CurrentPosition);
        
       }


same problem when i change SelectionChanged with PropertyChanged

void VirtualCollectionPays_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
       {
           var VMListePay = this.DataContext as VMListePay;
           if (e.PropertyName == "CurrentPosition")
           {
               if (VMListePay.VirtualCollectionPays.CurrentPosition >= 0)
               {
                   radGridViewPay.ScrollIndexIntoView(VMListePay.VirtualCollectionPays.CurrentPosition);
               }
 
           }
       }










Dimitrina
Telerik team
 answered on 17 Mar 2015
19 answers
360 views
I've trying to test automatically a RadGridView using UI Automation / Coded UI from Microsoft. Everything is fine using the RadGridView built for .Net 3.5 SP2. Each cell is detected and I can click into it to modify the cell's value.
However, we have switched to .Net 4.0 and the corresponding Telerik version. Unfortunately, I'm facing the problem that I am just able to click into the cells of the last rows.

Any suggestions how to fix this problem?
bhadram
Top achievements
Rank 1
 answered on 17 Mar 2015
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?