Telerik Forums
UI for WPF Forum
0 answers
139 views
Hi,

I want to handle the sorting state 'None' so as to sort the records in ascending order of first column. I have added following code to implement this
private void playersGrid_Sorting(object sender, GridViewSortingEventArgs e)
      {
          if (e.NewSortingState == SortingState.None)
          {
              this.playersGrid.SortDescriptors.Clear();
              SortDescriptor descriptor = new SortDescriptor();
              descriptor.Member = "Name";
              descriptor.SortDirection = System.ComponentModel.ListSortDirection.Ascending;
              //ColumnSortDescriptor csd = new ColumnSortDescriptor();
              //Telerik.Windows.Controls.GridView.ColumnSortDescriptor csd = new Telerik.Windows.Controls.GridView.ColumnSortDescriptor();
              //csd.Column = this.playersGrid.Columns[0];
              //csd.SortDirection = System.ComponentModel.ListSortDirection.Ascending;
              this.playersGrid.SortDescriptors.Add(descriptor);
          }
      }

I have tried to use sort descriptor and ColumnSortDescriptor but none of these worked for me. Please suggest how can i acomplish this behaviour.
Pankaj
Top achievements
Rank 1
 asked on 18 Nov 2011
10 answers
461 views
Hello,

is it possible to have  a left aligned RadMaskedNumericInput field? 

Setting the HorizontalContentAlignment to left will show a left aligned value in view mode, but while editing there is a margin on the left side of the value. i tried to set the TextBoxStyle, but with no success.

i know that numeric field typically aligned right, but sometimes there are exceptions ;)

Koren
Top achievements
Rank 1
 answered on 17 Nov 2011
4 answers
104 views
I got a message today, when I got into VS 2010, that there was an upgrade to the Telerik WPF toolkit to 2011.3.1116.0.  However, I'm now having problems getting it installed.  I think it may be because I hadn't launched VS 2010 as an administrator; I ran it as a regular user.  When I did, it complained that it couldn't uninstall something (the preivous version, I believe).  Now, every time I get into VS 2010 I get a message saying that VS Extension Manager sees an update from version 2011.2.915.0 to 2011.3.1116.0.  When I tell it to run the upgrade, it now fails with the error message:

"Microsoft Visual Studio
The extension could not be installed because the folllwing error occurred:
Telerik WPF VSExtensions is already installed"

I'm running this on a Windows 7 Ultimate machine, 32-bit.
Rod
Top achievements
Rank 1
 answered on 17 Nov 2011
3 answers
153 views
i want to remove the match case button or disable it. for string datatypes , in the data filter . can anyone plz help me with this.
Chandan
Top achievements
Rank 1
 answered on 17 Nov 2011
1 answer
73 views
Are there any examples using the RadScheduleView in a continuous manner in the Timeline view.  I'd like to hide the date range selection and just allow the user to scroll forever.  First thought is I could respond to an event when a new day is scrolled into view and just expand the underlying window.  Is this possible? Is there already an example of this somewhere?

Thanks!
Rosi
Telerik team
 answered on 17 Nov 2011
8 answers
99 views
Hello,

In telerik chart control, when I reduce the size of window, axis lines are getting blur. See image for more details.

I have marked that area by red color border for better understanding. Below image shows the example of the type of Line which should be actually.

Thanks in advance.


Maulik Suchak
Sia
Telerik team
 answered on 17 Nov 2011
1 answer
127 views

 

We seem to have a problem getting filtering working correctly.

The behaviour we are seeing in our application is demonstrable in the demo.

Steps to reproduce:-
1. Run WPF Demos
2. Select TreeListView from All Controls
3. In the Name column select the filter
4. Set “Show rows with a value that” to Starts with
5. Type in “set” and then apply the filter, all works as expected
6. Clear the filter
7. Type in “get” and then apply the filter.  Nothing happens; the previous filter based on “set” is applied.

To summarise we seem to be able to set a filter only once, after that you need to close the app to clear the filer.

Apologies if this has been reported before and been fixed in a later build than we are using (Q2 2011 SP1 – 2011.2.920.35)

Regards

John

Vera
Telerik team
 answered on 17 Nov 2011
2 answers
319 views
Hi Support

I'm using unbound RadDataFilter and I need to send the condition which is built by the user as parameter to StoredProcedure (SQL) but I couldn't find a way to convert CompositeFilterDescriptor to Sql Statement. Is it possible? How can I do that?

Thanks in advance
Mehri
Mehri
Top achievements
Rank 1
 answered on 17 Nov 2011
1 answer
133 views
Hi
We are forming a scheduleView and defining all appointments as readonly.
we have written the following code to do so:

 

 

//setting the scheduleView as readonly

 

 

 

Slot readOnlyslot = new Slot() { IsReadOnly = true };

 

readOnlyslot.Resources.Add(

 

new Resource("readOnly"));

 

 

 

ObservableCollection<Slot> _readOnlySlots = new ObservableCollection<Slot>();

 

_readOnlySlots.Add(readOnlyslot);

RadTimeLineView.SpecialSlotsSource = _readOnlySlots;


this worked great untill we changed the dll`s from version 2011.2.712.40
to version 2011.2.920.40
from some reason the readonly behavior is not affective on the new version
(when we restored the old dll`s, the behavior was back again).
Any ideas how to solve this for we still want to use the latest Telerik version
Thanks
Yana
Telerik team
 answered on 17 Nov 2011
3 answers
84 views
I've got a bar chart in which some of the bars are very short, so short I can't click on them, how are you guys handling this issue?
Nikolay
Telerik team
 answered on 17 Nov 2011
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
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?