Telerik Forums
UI for WPF Forum
1 answer
177 views
I got VirtualQueryableCollectionView working with RadComboBox when VirtualizingStackPanel is used.

However, when filtering is enabled, the ComboBox would load all the items (batched in LoadSize) from the VirtualQueryableCollectionView before displaying the dropdown. Am I missing something here?

The combobox Xaml:
<telerik:RadComboBox ItemsSource="{Binding Items}"
                     SelectedItem="{Binding SelectedItem}"
                     DisplayMemberPath="Name"
                     IsFilteringEnabled="True"
                     TextSearchMode="Contains"
                     ClearSelectionButtonVisibility="Visible"
                     ClearSelectionButtonContent="Remove">
    <telerik:RadComboBox.ItemsPanel>
        <ItemsPanelTemplate>
            <VirtualizingStackPanel/>
        </ItemsPanelTemplate>
    </telerik:RadComboBox.ItemsPanel>
</telerik:RadComboBox>

Vladi
Telerik team
 answered on 07 Dec 2012
1 answer
139 views
Is it possible to add support for VirtualQueryableCollectionView?

In the software that I am working on, the data source contains hundreds of thousands records via WCF data service (OData), and it would take forever to load if the list had to be populated fully before AutoCompleteBox can search.
Vladi
Telerik team
 answered on 07 Dec 2012
0 answers
90 views
Hello everyone.
Please vote for this PITs
Show unlimited items in menu
http://www.telerik.com/support/pits.aspx#/details/Issue=8750
Licensing
Top achievements
Rank 1
 asked on 07 Dec 2012
0 answers
93 views
Hello everyone.
Please vote for this PITs
Show unlimited items in menu
http://www.telerik.com/support/pits.aspx#/details/Issue=8750
Licensing
Top achievements
Rank 1
 asked on 07 Dec 2012
1 answer
131 views
Hi,

we're not happy with the gradient in Blue Theme of RadOutlookbar. So we want to have no gradient in the ItemTemplate of the OutlookBar.
Bright icons are hard to see clearly.

How can i edit the gradient of the ItemTemplate.
I tried to set a new ItemTemplate, but it stays gradient like in the skin.

Best regards,

David
Pavel R. Pavlov
Telerik team
 answered on 07 Dec 2012
1 answer
235 views
If you take a look at the Demo of PanelBar (http://demos.telerik.com/silverlight/#PanelBar/FirstLook) that is essentially what I want, but with the added functionality of collapsing the entire PanelBar to Left and information on the right expanding to the left. With just a button or something to re-expand the menu.

Apologies if there was a more appropriate area to post this, as this was my best guess.
Stefan
Telerik team
 answered on 07 Dec 2012
1 answer
87 views
Hi,

I am attempting to recreate the print and export example for WPF in my code. I have the PrintAndExportWithRadDocumentModel and Commands, and in my XAML I have 

<Window.Resources>
    <local:PrintAndExportWithRadDocumentModel x:Key="context" />
  </Window.Resources>

and 

<telerik:RadButton Content="Export"
        Height="40"
     Width="50"
        Command="{Binding ExportCommand, Source={StaticResource context}}"
        CommandParameter="{Binding}" />
<telerik:RadButton Content="Print"
        Height="20"
     Width="50"
        Command="{Binding PrintCommand, Source={StaticResource context}}"
       CommandParameter="{Binding}" />

However, when I click on the button I get a null object parameter in the Print method (in the PrintAndExportWithRadDocumentModel class). My question is, how do I bind the RadGridView to the button click so it gets passed as the parameter?





Vlad
Telerik team
 answered on 07 Dec 2012
4 answers
81 views
I have a problem with my TreeListView not responding the INotifyCollectionChanged events immediately.

When a user requests to change the order of a node, my code will remove and then reinsert all of the children of the node into a different position with a different display name. But the tree list view still displays the children in the old order and with the old name. If I expand some unrelated node, the children will change to the new order and the new display names.
Is there a way to get the tree list view change immediately?
My ItemsSource is an IQuerable against an ObservableCollection. It looks like this:
Public ReadOnly Property Children As IQueryable(Of BaseLimb)
  Get
    Return pGrouper.Children.Select(Function(e) e.Owner).AsQueryable
  End Get
End Property

I had other problems when I just may it an IEnumerable.
Is there some else I should be doing to make the change immediate?




Vlad
Telerik team
 answered on 07 Dec 2012
1 answer
109 views
I have a set of tabbed views that correspond to RadTreeViewItems so that when the treeViewItem is clicked, the correct tab is selected and when a different tab is clicked, the correct treeViewItem is selected.  I am binding to the RadTreeViewItem.Command property so that I am notified when the user clicks on the treeViewItem..

The problem is that programmatically changing the IsSelected property of a treeViewItem does not "reset the active" treeViewItem, meaning that the original treeVIewItem will not fire its Command when the user clicks on it.  Visually, everything looks correct, but I don't know how to notify the treeview that I programmatically changed the active treeViewItem.

Example, the user clicks on treeViewItem1 --> treeViewItem1 highlights and then highlights tab1.  The user then selects tab2 --> tab2 highlights and treeViewItem2.IsSelected is set to true.  When the user clicks back on treeViewItem1, its Command is not fired. 

Additionally, I do not want the treeViewItem that is programmatically set as IsSelected to fire its Command.  That would cause in infinite loop in my current code.
Ricky
Top achievements
Rank 1
 answered on 06 Dec 2012
0 answers
101 views
Hi,

We created a custom column (based on GridViewBoundColumnBase using the CreateCell* methods to create the various controls) to display a TextBox and a RadButton.  The purpose of the button is to show a modal window to display the content of the TextBox (because our TextBox cannot not accept multilines).

 Here an example of what we're doing:

|    SSN       |  Another column  | My Custom column |
--------------------------------------------------------------
|                  |                             |  *Text Box*   |Button|   <----- New Row
--------------------------------------------------------------
| 111111111 |                             |  *Text Box*   |Button|
--------------------------------------------------------------

There is a validation on the mandatory SSN column.


First implementation
Both the Cell and cell edit template define the button with IsEnabled = true.

  • When we click on the button on row #2, the Click Event of the button is triggerred (showing our modal window).  Then, the row validating of the first row is fired.  This leaves us in a bizarre situation where our modal shows info from the second row while the grid marks the first row with validation errors.

Second implementation
The button in the Cell Template is IsEnabled = False and the one in the CellEdit is IsEnabled=true.

In this scenario, when we click on the disabled button on row #2, the validation of row #1 is triggered.  The focus on row #2 is set only when row #1 is valid. 

However, on row #2 when the Cell Edit template is shown, the focus is set to the first control (Textbox)...

In the second approach, there are 2 problems: 1 - The "click" is not sent to the "Cell Edit" button AND 2 - the "Cell" button is disabled (at first, the user thinks that the button is not accessible.

--------------------------------------------

With that in mind, is there a way to this :

  • In the first implementation, is there a way to trigger Validation of the first row within our Custom column and giving back the focus on row #1;
  • In the second implementation, is there a way to visually make the the RadButton looks like an Enabled button event when disabled AND is there a way to catch the click on the disabled button and to trigger it on the enabled button;
  • A new and better implementation ;-)

Thanks.
-----------------------------------------------------

Using version: 2012.2.607.35 with WPF
Michel Loubier
Top achievements
Rank 1
 asked on 06 Dec 2012
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?