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?
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?
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.
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?
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
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.
Installing the Demos failed
Please see att. image