Telerik Forums
UI for WPF Forum
0 answers
102 views
Hi Support

Move First Command when the focus is in last column donot work, is it bug? Can I fix it?

Thanks in advance
Mehri
Mehri
Top achievements
Rank 1
 asked on 05 Oct 2011
2 answers
375 views
Hi,

I have a radgridview that is bound to an observablecollection containing 16 properties, one for each column of the radgridview.  I have an WCF service that I poll every second, updating the observablecollection and thus, updating the radgridview.  I'm doing this with a dispatchertimer that fires a backgroundworker.  This works quite smoothly, although larger result sets (more than 50 rows) cause the GUI to freeze and/or the radgridview to "blink" momentarily.  Those, I'm assuming are limitations of WPF's threading abilities.  Anyhow, the largest problem I have is that on radgridview's that scroll vertically, when a user scrolls down, the grid scrolls all the way back to the top whenever the collection changes.  

I'm using Row and Column virtualization, if that makes any difference.  

Is there a way to make the grid not scroll to the top when the collection changes??
Kurt
Top achievements
Rank 1
 answered on 05 Oct 2011
3 answers
99 views
Hi

I want expand some row at run time in gridview and treeview. Please help me.

Thanks 
Vijay Kumar
Vera
Telerik team
 answered on 05 Oct 2011
0 answers
82 views
Hi,

I have a self referencing grid view in a output.xaml and having an event in the ViewModel.

Calling this event while adding new items in the other screen (to add the Grid view Headers).

Add couple of Headers and click the Output tab to view the values in the Grid View. Now its showing the grid with parent child relationship and the headers.

Now if I go and add a new header then the event will be called in the ViewModel of the output and binding the grid to show the new headers and the relevant values for the column. Here I am facing problem that while re-binding it takes time and binding the grid without the self referencing hierarchy. it just binds all the rows in the datatable property as the parent node.

Anybody knows where i have made the mistake.

Thanks,
Ramasamy

Ramasamy
Top achievements
Rank 1
 asked on 05 Oct 2011
1 answer
332 views
In my application, I have a column in my RadGridView that is bound to a property of type 'System.Type'. When attempting to sort by this column, I get a System.ArgumentException{"At least one object must implement IComparable."}. I am not interested in wrapping the System.Type class at all to implement the IComparable(T) interface and would like to be able to provide a function delegate to the ColumnSortDescriptor to sort the types by name instead of using the default comparer as I could with a normal list.

Function CompareTypeByName(ByVal x As System.Type, ByVal y As System.Type) As Integer
  If x Is Nothing Then
    If y Is Nothing Then
      Return 0
    Else
      Return -1
    End If
  Else
    If y Is Nothing Then
      Return 1
    Else
      Return x.Name.CompareTo(y.Name)
    End If
  End If
End Function

Dim typeList As New List(Of System.Type) 
typeList.Add(GetType(String)) 
typeList.Add(GetType(Int32)) 
typeList.Sort(AddressOf CompareTypeByName)

Is there a way to do this (or something like it) currently?

Thanks,
Jason
Jason
Top achievements
Rank 1
 answered on 04 Oct 2011
0 answers
111 views
I wish to make a List of my custom objects available for the user to modify with RadGridView.
What should I do?Any example?Thx in advance.
Isilme
Top achievements
Rank 2
 asked on 04 Oct 2011
1 answer
254 views
I have a toolbar filled with buttons:

<telerik:RadToolBar >
            <telerik:RadDropDownButton >
                <StackPanel Orientation="Horizontal">
                    <Image Source="/Fdj.Eurp.GuiMain;component/Graphics/User.png" ></Image>
                    <TextBlock Text="aaa" ></TextBlock>
                </StackPanel>
                <telerik:RadDropDownButton.DropDownContent>
                    <StackPanel Orientation="Vertical" Name="spUserAccountPanel">
                        <telerik:RadButton Content="bbb"></telerik:RadButton>
                        <telerik:RadButton Content="ccc"></telerik:RadButton>
...
However after clicking one of the buttons, the whole menu does not close itself. How can I enforce it?
Petar Mladenov
Telerik team
 answered on 04 Oct 2011
1 answer
144 views
Hello All,

We have a requirement where the SelectedDate must be a Saturday only.  We are using the MVVM pattern.  I am able to change the SelectedDate property to the Saturday, however when I re-open the calendar, the last day of week the user clicked is still highlighted.  How can I remove the highlighting, even though the SelectedDate has already been changed properly.

For example, say the user clicks Oct 11 (a Tuesday), I want Oct 15 (Saturday) to be highlighted, not Oct 11.

As I mentioned, the actual SelectedDate property is set just fine, it's the highlighted date I can not figure out how to remove.

I can provide a simple test project if needed.

Here is a screenshot of the issue.  Note the Date in the control, and what's highlighted.
http://i865.photobucket.com/albums/ab216/CA-Psycho/Public/CalendarIssue.png

Thanks,
Chris
Miroslav Nedyalkov
Telerik team
 answered on 04 Oct 2011
1 answer
180 views
Hi,

can anyone tell me if it's possible for the SelectionStart/SelectionEnd properties to have 1 day of range by default, of course afetr that, the user can have the possibility the expand this range?

Thank's
Missing User
 answered on 04 Oct 2011
1 answer
98 views
Hello,
I am using rad chart in one of my application.i want to show two instances of usercontrol having rad chart in my main window.
how can i achieve it my data,title for both the charts is different

Please let me know how this could be achieved using mvvm
Evgenia
Telerik team
 answered on 04 Oct 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
Expander
Slider
TileList
PersistenceFramework
DataPager
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?