Telerik Forums
UI for WPF Forum
6 answers
197 views
Hi,

I have selected a cell and I want fetch the value of the previous cell of the selected cell. Please let me know how can be get that.

Thanks,
Ramasamy
Maya
Telerik team
 answered on 29 Sep 2011
1 answer
136 views
I have previously used RadDock in Telerik Winforms. When adding a dock window it had context menu options such as close, close all but this, close all, New Horizontal Tab Group.

Also on the right hand corner of the raddock, there was a dropdown with a list of all open document windows.

Are these features available in WPF docking?
George
Telerik team
 answered on 29 Sep 2011
2 answers
209 views
Hi
I just need 2 WPF controls. Is it possible to buy only 2 of them?

Best regards
Michael
Michael
Top achievements
Rank 1
 answered on 28 Sep 2011
4 answers
130 views

Hi, I am using RadControls for WPF (Q2 2011), in particular the GridView control. I am aware this control includes a cool looking dialog for filtering the data for each column however due to the fact I am trying to implement custom paging using Entity Framework I would also like to customise the look of the filter dialog, is this possible and if so please explain how.

I'd like to keep the section whereby one is able to filter the results by text search etc. but I don’t want to display the top section allowing the user to select the specific items in the collection. Hope that makes sense, I would send a screen shot however I don’t think its possible here??

Thanks in advance

 

Michael
Top achievements
Rank 1
 answered on 28 Sep 2011
2 answers
480 views
I'm having trouble showing the actual number of items in my grid. When the application loads there are no items. The grid is bound to an ObservableCollection. When the user selects a query option from a list, the ViewModel clears the OC and adds the result items from the chosen query. This is done via background worker, then the results are cast to an IList and added to the collection via the OC.Add method.

What I want to do is show the user how many items are in the grid at any given time. It's working to some extent. As long as I don't change the initial query, it works. I have a textblock binding to the GridView's Items.ItemCount property.

The problem comes when I filter the results, then try to do a different query. The GridView's ItemCount isn't updating appropriately. Sometimes it shows 0 when there are clearly 3 items in the grid. If I clear the filters or change the filters for that query, the number gets reset and from them on it works properly, until I change the query.

For example, one query returns all records. There are 73. If I filter the grid on a status column to show all closed, it tells me there are 19. If I then try to run a different query, this one shows 3 items in the grid (because there are 3 items with closed status). The grid keeps the filtering and applies it to the new results. But the count shows 0. If I then change back to the original all records query, the count shows 1 even though the original 19 filtered records are once again shown in the grid.

So how do I get the correct count no matter how the grid is populated or filtered? I can't bind to the count of the bound collection, because if the user filters the grid, I want to show the filtered total. Basically (the total items that are displayed or visible).
Rayne
Top achievements
Rank 1
 answered on 28 Sep 2011
1 answer
876 views
Is there a way to modify the disabled buttons style? When the buttons in our application are disabled, they turn light gray with gray text and we need to change the style so that it is more legible for users.
Regards,
Strasz
Tina Stancheva
Telerik team
 answered on 28 Sep 2011
2 answers
168 views
Hi, 

We have implemented searching mechanism for RadGridView. It works fine when all the columns in Grid are of String type. 
But in one of the grid I have Int columns.

I figured out the problem. Currently my FilterOperator is "FilterOperator.Contains" and then it throws error "The method or operation is not implemented." for int column. If I changed FilterOperator to IsEqualTo it works great. But why can't I have FilterOperator.Contains for Int as well? I wish if it could do that.

Regards
Sanket
christine
Top achievements
Rank 1
 answered on 28 Sep 2011
2 answers
167 views
Hi all,

This is probably a very simple WPF binding question (it strikes me that it ought to be!) but I can't find an answer to it so am asking here.

I have a RadDataGrid bound to a collection of business objects (projects, to be specific).
Each project has a lead contact and a customer.
I am displaying customers in a GridViewComboBoxColumn, and contacts in another combo box column.

Currently, I'm data binding Customer combobox to a collection of customers, and the Contacts one to a collection of Contacts, like this:

<telerik:GridViewComboBoxColumn DataMemberBinding="{Binding CustomerId}" UniqueName="Customer" Header="Customer" DisplayMemberPath="CustomerName" SelectedValueMemberPath="CustomerId"></telerik:GridViewComboBoxColumn>

and in the code behind:

((GridViewComboBoxColumn)radarGridView.Columns["Customer"]).ItemsSource = customers.Values;

it's working, in that the lead contact and customer for that project are displayed in the grid - but the dropdown list for Contacts contains *all* contacts and I really want to display only Contacts which belong to the selected customer.


I know I could do this by overriding a databinding event on each row and binding the contacts column to a filtered list of contacts, but I would have to do that for every column which relates to another and I can't believe there isn't an easier way.

i.e. in effect I would like to bind the contacts combobox to something along the lines of (yes, I know this isn't valid C# :):

contacts.Where(c => c.CustomerId == <currently selected customer ID>)


What am I missing?

Kev
Kevin
Top achievements
Rank 1
 answered on 28 Sep 2011
1 answer
53 views
While coding the Backstage, the default selected tab and blank grid stay in view. Is there a way to pin-up the Backstage screen so I can see my changes dynamically as I code? I tried selecting 'Is Backstage Open' and nothing changes.
Thanks
Petar Mladenov
Telerik team
 answered on 28 Sep 2011
0 answers
99 views
{
    ...
    grid.RowIsExpandedChanged += new EventHandler<RowEventArgs>(grid_RowIsExpandedChanged);
}
 
 
void grid_RowIsExpandedChanged(object sender, RowEventArgs e)
{
    RadGridView cur = sender as RadGridView;
    IList<RadGridView> subgridlist = cur.ChildrenOfType<RadGridView>();
    for (int i = 0; i < subgridlist.Count; i++)
    {
        ...
    }          
}

Using RadGridView I wanted to edit the child-elements when the hirarchy is expanded. In my case another RadGridView. The child element is not existant when the hirarchy is opened, but it's there when I close it again. So I assume the RowIsExpandedChanged Event fired before generating the controls. Is there a way for me to access the child elements when the hirarchy has been loaded, e.g. "RowIsExpandedLoaded"?
marc
Top achievements
Rank 1
 asked on 28 Sep 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?