Telerik Forums
UI for WPF Forum
3 answers
179 views
In the demo section of the WPF controls there is a neat transition control of the old window getting dimmed, the effects like click the button of "View Code"  and "View Example".The animation between two usercontrols.The animation like jelly.Could you pls send me a wpf demo?

I do not wannt the effects below like this
http://www.telerik.com/community/forums/wpf/transition-control/transition-between-pages.aspx

Thank you very much.

Pls email to : tmobile@126.com

Zou
George
Telerik team
 answered on 26 Nov 2010
1 answer
93 views
Hi guys, I am new to WPF all together so not strong on concepts.

I have generated RadgridView and based on the selection of the cell in this Radgridview, I want to populate a new RadgridView.

public partial class SummaryTable : UserControl
  {
      public SummaryTable()
      {
          this.InitializeComponent();
      }
      private void MainGridView_SelectedCellsChanged(object sender, GridViewSelectedCellsChangedEventArgs e)
      {
          IList<GridViewCellInfo> cellList =  this.radView1.SelectedCells;
         GridViewCellInfo cellInfo = (GridViewCellInfo)cellList.First();
          
         // Initialize MyView object based on cellInfo.Item to capture the details of whole row
      }
}


The problem is how to pass this MyView object to Top-level ViewModel class so that it can initialize the second table that I want to generate based on the MyView object. I was thinking that when Top-level class will get notified about the new MyView object then it will set the DataSource for the second table to populate it.

Please let me know if you have any other suggestions. I am a new player :)

Thanks,
Mark
Rossen Hristov
Telerik team
 answered on 26 Nov 2010
5 answers
169 views
Hi,

I created a set of LINQ classes, Customers.Memberships.CertificatesUsed

    First, I want to display the records from the Certificates collection

    I tried the sample code below but it doesn't seem to work

<telerik:RadGridView AutoGenerateColumns="False"
                     ItemsSource="{Binding Path=Memberships.CertificatesUsed}">
    <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn Header="Membership ID" 
                           UniqueName = "MembershipID" 
                           DataMemberBinding="{Binding Path=MembershipID}">
        </telerik:GridViewDataColumn>
        <telerik:GridViewDataColumn Header="Certificate No" 
                           UniqueName = "CertificateNo" 
                           DataMemberBinding="{Binding Path=CertificateNo}">
        </telerik:GridViewDataColumn>
        <telerik:GridViewDataColumn Header="Date Used" 
                           UniqueName = "DateUsed" 
                           DataMemberBinding="{Binding Path=DateUsed}">
        </telerik:GridViewDataColumn>

    
</telerik:RadGridView.Columns>
  
</telerik:RadGridView>

How should I bind the grid to the Certificates list?

Next, I want to be able to filter the content of the grid based on the selected Membership ID from a separate combo box.

How do I do it?

Thanks!
Maya
Telerik team
 answered on 26 Nov 2010
9 answers
143 views
Will loading 1m data in telerik data grid view will not consume too much memory?

Let's say PC specs is Pentium 4, 1.4GHz and memory is only 512 MB.

Will it be slow to load all data with this computer?
Leo
Top achievements
Rank 2
 answered on 25 Nov 2010
2 answers
123 views
Hi guys,
once again i am here because i have another problem using GroupDescriptors and i am following the same way as in the example in you demo. I don't know if the problem is the same as in my other post but i really don't have a clue whats going on.
It just dont recognize in xaml intellisence the resourceTypeCollection and gives this error message :

   em System.Collections.ArrayList.get_Item(Int32 index)
   em System.Windows.Data.ListCollectionView.ProcessCollectionChangedWithAdjustedIndex(NotifyCollectionChangedEventArgs args, Int32 adjustedOldIndex, Int32 adjustedNewIndex)
   em System.Windows.Data.ListCollectionView.ProcessCollectionChanged(NotifyCollectionChangedEventArgs args)
   em System.Windows.Data.CollectionView.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
   em System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   em System.Collections.ObjectModel.ObservableCollection`1.RemoveItem(Int32 index)
   em System.Collections.ObjectModel.Collection`1.RemoveAt(Int32 index)
   em System.Windows.Data.ListCollectionView.CancelNew()
   em Telerik.Windows.Controls.ScheduleView.ScheduleViewDataConnection.HackCollectionViewBug(Boolean isCommit) em c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\ScheduleViewDataConnection.cs:line 896
   em Telerik.Windows.Controls.ScheduleView.ScheduleViewDataConnection.CommitNew() em c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\ScheduleViewDataConnection.cs:line 875
   em Telerik.Windows.Controls.ScheduleViewBase.CommitNew(IAppointment appointment) em c:\Builds\WPF_Scrum\Release_WPF_2010_Q3

I hope you guys can help me out.
Thankz,
Pedro Pereira
Pedro
Top achievements
Rank 1
 answered on 25 Nov 2010
3 answers
150 views
What's the best way to go about adding labels (counties within a state, specifically in my case) to one of the state SHP/DBF examples from the drill down demo? Is it done in the SHP file or can I do it from the DBF data?

Thanks in advance!
Andrey
Telerik team
 answered on 25 Nov 2010
3 answers
61 views
Hello All,

I have a very strange issue that unfortunately I cannot duplicate with a small sample application.  Figured I'd just throw it out there to see if anyone had something similiar.

We are using the latest version Q3 2010.

We add RadPane items to the RadPaneGroup dynamically using Code.

Steps:
  • If I have say 5 panes visible, select any pane other than the last one
  • Make another application active, for example Outlook, or Internet Explorer
  • Go back to our new application
  • You can see the selected pane becomes the last one

Has anyone ran into something similiar?

Thanks,
George
Telerik team
 answered on 25 Nov 2010
1 answer
171 views
I have a complex object model so I need to throw up a separate form to add a new one instead of letting the user edit the rows in-place.  But I still like the idea of offering the "click here to add row" feature.  It's just that when I intercept the OnAddingNewDataItem event I'd like to do this:

        private void OnAddingRow(object sender, Telerik.Windows.Controls.GridView.GridViewAddingNewEventArgs e)
        {
            var editDialog = new MyFormView(null);
            var rowAdded = (bool)editDialog.ShowDialog();

            if (rowAdded)
                GridView.CommitEdit();
            else
                GridView.CancelEdit();
        }

But what happens is even when I Cancel out of the dialog box and call CancelEdit, the grid still shows a newly inserted row (with empty values).  How can I cancel the add that's in progress programmatically?

Update: similar thing happens when I intercept OnDeletingRow so I can throw up a confirmation dialog box - if the user hits Cancel I'd like to cancel the delete, otherwise commit it, but CancelEdit and CommitEdit don't do the trick
Maya
Telerik team
 answered on 25 Nov 2010
3 answers
98 views
Hi,

I have a RadGridView inside the control template. I have binded the SelectedItem property with a property in view model. but it is not working property, when I select an item from grid view the view model property doesn't get set.

Please help me out.
Vlad
Telerik team
 answered on 25 Nov 2010
1 answer
103 views
I am using a RadPanelBar to allow my users to select a report category, then a report in the category. Once the user clicks the report the selected event is fired and I hide the RadPanelBar and go show them the report. If they come back to the report selection, I have left the RadPanelBar exactly as they left it, with the last report they selected highlighted. Everything thing up till this point is great. However, if they want to go back to the report they just saw, and select the already selected RadPanelBar item, no Selected event is fired. I've tried other RadPanelBar events such as MouseDown, etc., nothing works. Does anyone know how to detect the reselection of an already selected item?

I'm using a HierarchicalDataTemplate to display the RadPanelBarItems and it is bound to an ObservableCollection. I can have a MouseDown event on one of the TextBoxes in the template, but then it fires before the RadPanelBar Selected event. Therefore, it's very hard to know from the template MouseDown event what is going on. Is the user reselecting an item, choosing another, etc? It seems that to make an intelligent template MouseDown event handler work correctly, you are abandoning the RadPanelBar Selected property and doing it all on your own. Is there something I'm missing here?
Petar Mladenov
Telerik team
 answered on 25 Nov 2010
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
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
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?