Telerik Forums
UI for WPF Forum
3 answers
254 views
For an application on which I'm working, I want to export all appointments from a ScheduleView to an ICalendar format.  By following the ICal example provided in the  WPF Q2 2011 Demos, I have been able to successfully export all of my appointments using the AppointmentCalendarExporter.  

My next step was to create some exceptions to a recurring appointment, and try to export those.  This is where I ran into some problems.  If I create an exception which simply excludes an occurrence of a recurring appointment, then I can still export the recurring appointment to an ICalendar format (file or string), and the exclusion is represented in the ICal content like so:  "EXDATE:20110923T050000".  However, if I create an exception in which I change the time of an occurrrence of a recurring appointment (per the example here), then attempting to export the appointment to an ICal format results in a StackOverflowException.

Any idea what's going on here?
Yana
Telerik team
 answered on 29 Sep 2011
6 answers
206 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
142 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
214 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
139 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
514 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
891 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
177 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
175 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
56 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
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?