Telerik Forums
UI for WPF Forum
2 answers
79 views

Good morning,

As you can see in the attached file I've used a RadGridView Control to show some sales.
With my program I can sell two items, then close partially the sales and then insert a new product e close the sales partially or definitively.

I've made this by create an object who refer to my model (my db model) and add to it a variable "Type" (who tells me wath kind of row is).
For the details (see the White row) I read my data db and set the "Type" at 0, for the Yellow and Green row I'm not read the data from db but with an internal foreach with variuous Group by I can know when a Row is a subtotal or a total and for these last 2 condition I set the type at 1 or 2, then with styles and datatrigger I color the lines.

This works, but if I use filter or the search control I lost the total and subtotal row.

 

How can I avoid it?

Marco
Top achievements
Rank 1
 answered on 01 Mar 2017
1 answer
82 views

Hi,

I'm trying to diagnose a memory build inside the RadGridView where the only refence to the memory object is in the inpcSubscriptions in the RadGridView, how do I go about clearing this list down?

 

 

Stefan Nenchev
Telerik team
 answered on 01 Mar 2017
1 answer
127 views

Hello. I ask you about real-time chart with viewing of histirical data in http://www.telerik.com/forums/how-to-create-real-time-chart-(radcartesianchart-with-spline-series)-scrolled-or-panned-in-time. You gave me information with example there but this example works poorly. I've tryed to improve the functioning of the chart in the example but to no avail. So I still need RadCartesianChart that can show historical data. Please give me an example of such RadCartesianChart with historical data viewing that works good, if this is possible ofcourse. I need such RadCartesianChart very much. I would be very grateful to you for your help.

 

Martin Ivanov
Telerik team
 answered on 01 Mar 2017
1 answer
192 views

Hi simple question, I know you can clear the numeric approach in behind code using something like this 

 

    <telerik:RadButton Content="Clear" Command="{Binding ElementName=RMTI,Path=ClearCommand}"/>

 

But I'm looking for an MVVM approach. Any ideas? 

 

In my viewmodel I would set the NumericTextBox value to null but instead of clearing out, it would go to zero. NumericTextBox Value is of type double?

Dinko | Tech Support Engineer
Telerik team
 answered on 28 Feb 2017
9 answers
634 views
Hello. I'm trying to use RadDocking in my project, but I am having trouble with floating panes. In my scenario, I want to float a docked pane and to set the floating window size to either specific value or fullscreen, depending on pane content. I need to do it from code-behind.
I've found this solution: http://www.telerik.com/forums/add-maximize-button-to-radpane-header
And the idea begind it works. But it also creates an unwanted side effect. I can see the window changing size twice: first, when it appers on the screen (at this point it has some initial size, like 200x300), and second time, when I change its size in PaneStateChange event handler. If pane contains some rendering-heavy content this double resizing is especially noticeable. So the question is: is there a way to set initial ToolWindow size, before it is actually displayed (and rendered) for the first time?
Nasko
Telerik team
 answered on 28 Feb 2017
4 answers
214 views
Hello,

I have a requirement where user should be able to traverse through the spreadsheet columns vertically using only Tab or Enter Key.
For ex: If I have entered some value in column1, cell 1, when I press Tab, focus should move on to the next cell in the same column1. and I should be able to keep doing this for, suppose, next 1000 rows.  Then I would like to start on column2, cell1, and do the same traversal using Tab key or Enter key and so on.
So my question is how do I capture the tab key press event or enter key press event and move the focus on to the next cell below the current cell ( not the cell on the right side)  for data entry ?

I would really appreciate the quick response.
Thank you.

Tanya
Telerik team
 answered on 27 Feb 2017
4 answers
206 views
regards
I'm working with RadPivotGrid and RadPivotFieldList (WPF), the data comes from a cube olap. I'm trying to export to excel but when I do after a while the application crashes and I get the following exepcion:
ContextSwitchDeadlock was detected
Message: The CLR has been unable to transition from COM context 0x63ef2c8 to COM context 0x63ef438 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during long running operations.

as I can fix, I would give an example please?
Polya
Telerik team
 answered on 27 Feb 2017
0 answers
57 views

Hi,

I have GridViewDataColumn with a edit template containing a com:

<telerik:RadButton
    Command="{Binding DoSomethingCommand}"
    Focusable="False"
</telerik:RadButton>

 

My button command calls a command hander "MyViewModel.OnDoSomething" method in ViewModel attached to RadGridView row, but I am unable to figure out how to close edit mode after my handler is called. I tried to call CommitEdit() from Click() handler attached to button above. After adding click handler my "MyViewModel.OnDoSomething" is not called anymore.

I could fire new event from MyViewModel.OnDoSomething and intercept this event in View and call CommitEdit from there, but maybe there is a simpler way?

 

Thanks,

Łukasz

 

Lukasz
Top achievements
Rank 1
 asked on 27 Feb 2017
1 answer
247 views

Hi,

I want to load some view in content of pane. The pane is create dynamically to doubleclick on the item's panelbar.

My solution have 2 projects. One for view's and one for model views.

The code from doubleclick is:

private void MenuItemDoubleClick(object sender) {
    UserMenuTab selectedItem = (sender as UserMenuTab);
    string propValueTitlu = selectedItem.Titlu.ToString();
   if (propValueTitlu != null) {
     OuterDockPanes.Add(new RadPane {
       Header = propValueTitlu,
       Content = " ???? I want to put here the view ",
       Tag = "DocumentHost"        
  });
  }
 }

I dont know how cand I upload the solution for better undestanding... 

Thank you.

 

 

Polya
Telerik team
 answered on 27 Feb 2017
4 answers
139 views

Installing the Demos failed

 

Please see att. image

Torben
Top achievements
Rank 2
Iron
 answered on 24 Feb 2017
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?