Telerik Forums
UI for WPF Forum
5 answers
147 views
I have some content that will contain a browser window.  The browser window I am using does not work well with WPF transitions, etc. (i.e. air space issues).  So I need to Hide/Collapse the Browser portion of the content while any animations on its containing control are occurring. And I then would make the Browser window visible when the transition is complete.  Usually the content in a RADTransitionControl should not care, but there are times like above when it does.  Its ugly, but it is much better looking than the alternative.

Before obtaining the Telerik controls I had used the Transition Control from the WPF Toolkit.  I modified it to check and see if the content it was transitioning implemented an interface I created called ITransitioningAware.  If it did, it would call starting and completed methods on that interface to let the content know what is going on.  Has Telerik implemented anything similar to let the content be aware of the transitioning process?  If not, can it get onto the wish list?  I know its a special case, but that's what a lot of these kinds of features end up being for.

I could potentially implement the functionality in the parent of the TransitionControl by handling the Events it generates but I need to be aware of previous and next content to do it.  Are those available at the time of the events?

Thanks
Paul
Vladi
Telerik team
 answered on 21 Feb 2014
13 answers
189 views
Hi,

I use a WeekView definition, I set the FirstDayOfWeek to Monday and the VisibleDays to 5 to see only Monday to Friday. I add 5 appointments, 1 for each day of the week. If my computer datetime is different than Sunday, all my appointments are visible in the control. If my computer datetime is on Sunday, no one are visible in the control!!!

Thank's
Alain
Rosen Vladimirov
Telerik team
 answered on 21 Feb 2014
1 answer
79 views
Hi,

I have an appointment at 8:00 (for example) on 18/02/2014 I would like to move it on the same hour by pressing shift for example.
This mean:
If shift is pressed then change only the date of the appointment
else change the date and the time of the appointment

Regards
Yana
Telerik team
 answered on 21 Feb 2014
1 answer
106 views
Hello,
I've just got 2 question on RadMaskedInput...
  1. I'm using a RadMaskedNumericInput inside a CellEdit with a CellTemplateSelector , if I click tab it's successfully update the value, if I press Enter nothing happens... how can I handle this? I need at the Enter key to save and exit the cell
  2. I've some fields that are Int? and Decimal? I need to have them null without the validation to appear...is there a way I can turn it off?

Thanks

Petar Mladenov
Telerik team
 answered on 21 Feb 2014
1 answer
230 views
I am trying to setup a RadGridView bound to the a collection similar to the following:
​
public partial class JobDTO
{
    public int Id { get; set; }
    public string JobNumber { get; set; }
 
    public ObservableCollection<MachineTrackerDTO> MachineList { get; set; }
    public ObservableCollection<FixtureTrackerDTO> FixtureList { get; set; }
 
    public JobDTO()
    {
        MachineList = new ObservableCollection<MachineTrackerDTO>();
        FixtureList = new ObservableCollection<FixtureTrackerDTO>();
    }
 
}


I would like the have the MachineList and FixtureList collections as child tables (HierarchyChildTemplate) when displaying the RadGridView, but I also want control of the columns, formats, etc. of the child lists.  For a single child table, this is very easy (from the examples) using HierarchyChildTemplate.  However, I can't figure out how to accomplish with multiple child tables that are at the same level.

Is this possible?

Thanks,
Tim
Dimitrina
Telerik team
 answered on 21 Feb 2014
2 answers
137 views
Hello.
I'm having some problems with binding values with autoselect value from database.
My grid looks like:
(...another columns...)
<telerik:GridViewComboBoxColumn UniqueName="groupCol" DataMemberBinding="{Binding groupList}"  DisplayMemberPath="name"  SelectedValueMemberPath="gid" Header="Group" >

</telerik:GridViewComboBoxColumn>

And in code behind:


using (SqlCommand cmd = new SqlCommand("SELECT ISNULL(groupID, 0) as gid, (...other values...) ", conn))
                    {
                        using (SqlDataAdapter sda = new SqlDataAdapter(cmd))
                        {
                            DataTable dt = new DataTable();
                            sda.Fill(dt);
                            cardsDG.ItemsSource = dt.DefaultView;
                            ((GridViewComboBoxColumn)this.cardsDG.Columns["groupCol"]).ItemsSource = getGroups();
                        }
                    }

Method to get groups is just select groupID as gid, name from myTable, and add to List<groupList> with public int gid, public string name.

What I'd like to reach is that, if select return ID = 10, I want to select this element in combobox, if isnull is reached, then nothing is selected.
What I'm doing wrong?

Yoan
Telerik team
 answered on 21 Feb 2014
1 answer
67 views
Hi,

I am not sure what has changed but after I updated to Q3 2013 SP2 my app that uses docking is now crashing with an exception that it can no longer find the PRISM region "ShellMainRegion". Before the update I had no issues and my code has not changed in over a year.

If I comment out the Docking control my application has no issues.

My XAML snippet is below.

Thanks
Anthony

​            <telerik:RadDocking x:Name="RadDocking" BorderThickness="0" PreviewShowCompass="OnRadDockingPreviewShowCompass" Close="OnRadDockingClose" PaneStateChange="OnRadDockingPaneStateChange" AllowDrop="False">
                <telerik:RadDocking.DocumentHost>
                    <telerik:RadSplitContainer AllowDrop="False">
                        <telerik:RadPaneGroup BorderThickness="0" AllowDrop="False">
                            <telerik:RadDocumentPane Header="DocPane" Visibility="Collapsed" CanUserClose="False" ContextMenuTemplate="{x:Null}" AllowDrop="False">
                                <Grid x:Name="ShellMainGrid" Margin="-10,-10,-10,-10" Background="{StaticResource WindowBackgroundBrush}">
                                    <ContentControl x:Name="ShellMainRegion" Margin="5,5,5,0" prismrgn:RegionManager.RegionName="ShellMainRegion" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch"/>
                                </Grid>
                            </telerik:RadDocumentPane>
                        </telerik:RadPaneGroup>
                    </telerik:RadSplitContainer>
                </telerik:RadDocking.DocumentHost>
                <telerik:RadSplitContainer x:Name="RadSplitContainer" InitialPosition="DockedLeft" AllowDrop="False">
                    <telerik:RadPaneGroup x:Name="RadPaneGroup" AllowDrop="False"/>
                </telerik:RadSplitContainer>
            </telerik:RadDocking>
Kalin
Telerik team
 answered on 21 Feb 2014
3 answers
155 views
I am using the the RadDiagramContainerShape. I notice that when you drop a RadDiagramShape
component from the RadDiagramToolbox onto a RadDiagramContainerShape that works fine if there is no other item in the RadDiagramContainerShape.  But if you happen to be dropping a RadDiagramShape into a RadDiagramContainerShape that already has an item in it.  You try dropping this new shape on top of the item already in the container it fails to put the new dropped shape into the container.  But instead puts it under the RadDiagramContainerShape.  Is there way to get it to put into the container not under it?  
Martin Ivanov
Telerik team
 answered on 20 Feb 2014
1 answer
124 views
I have a treeview that is bound to an ObservableCollection<INode>. I use hierarchical templates to show the children property of each node when expanded. I have drag and drop working fine. However, I also want the user to be able to move nodes by right-clicking, opening a context menu, and choosing "Move Selected". This would move the selected leaf nodes to the different parent that was right-clicked. I have it working so that the ObservableCollection<INode> is updated and it updates the database, but the RadTreeView control does not update until the application is reloaded.

My question is how can I make the UI update after moving a node in code-behind.

Thanks,
Curtis
Curtis
Top achievements
Rank 1
 answered on 20 Feb 2014
9 answers
395 views
Hi,

I already have to Grid's (with controls inside) on my Window. How  do I transitions between these two Grid's. XAML code?

/Ken
Dimitrina
Telerik team
 answered on 20 Feb 2014
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
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
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?