Telerik Forums
UI for WPF Forum
3 answers
110 views
I have a RadGridView that contains a HierarchyChildTemplate creating another RadGridView for each item in my collection. The collection is of ClassA objects and ClassA contains a collection of ClassB objects and an identifier. I would like to share columns across all the children RadGridViews. ClassA is essentially a grouping of ClassB objects where I can perform some validation among other things. This is what I would like the grid to look like 

+ Instance of Class A
    b.A     b.B       b.C
    b.A     b.B       b.C
+ Instance of Class A
    b.A     b.B       b.C
    b.A     b.B       b.C

A treelistview almost does what I want but my tree is only one level deep and I would need a way to style the root parent row differently. I was hoping you might have some suggestions for how I can accomplish this. Thank you
Boris
Telerik team
 answered on 11 Sep 2014
5 answers
245 views
Hello everyone! How can I position the layout of controlpanelitem.content?
Boris
Telerik team
 answered on 11 Sep 2014
1 answer
337 views
We want to style the RadDocumentPane Header according to the style of our custom RadTabItem Style which uses the Corner Radius Property. For an example please take a look at the screenshots below.

Please let us know, if anybody has an idea or knows a solution for solving the Problem. 

Masha
Telerik team
 answered on 11 Sep 2014
1 answer
166 views
Hi,

When i press the Decimal key in Excel its readed as a decimal separator (in spanish culture a comma) but the radspreadsheet control inserts a dot instead.
Is there any way to make radspreadheet work this way? 


Thanks
Nikolay Demirev
Telerik team
 answered on 11 Sep 2014
2 answers
160 views
Hello,

when you try to reset the UseGlidingConnector property with a connection attached, an exception is thrown.
How can I (programmatically) find the corresponding connection, detach it from the gliding connector and attach it to a normal connector?
And for Undo-Functionality: how can I re-attach it to the gliding connector when performing an undo?

Alex
Alexander
Top achievements
Rank 1
 answered on 11 Sep 2014
1 answer
158 views
Dear Telerik Team!

I use templates for my appointments. There are few of them and each appointment template uses its own tooltip template. When I hover mouse over appointment, correct tooltip is displayed, but if the mouse hovers an edge of the appointment and the mouse cursor changes into resize "mode" (NS cursor), displayed tooltip is incorrect. Is there anything I can do about it?

Very best regards and thank you!
Krzysztof Kaźmierczak
Yana
Telerik team
 answered on 11 Sep 2014
1 answer
159 views
Hello,

I am using MVVM pattern for the Diagram implementation. What is the best way to prevent dragging the shapes out of the container?

Thanks,
Petar Mladenov
Telerik team
 answered on 11 Sep 2014
4 answers
226 views
Hello I have a grid with rows reordered I'm trying the method ScrollIndexIntoView, to make sure that the grid scroll while dragging a row.

The first time it works, the second no.
Post my code

private void OnDropInfo(object sender, DragDropEventArgs e)
{
    if (!(e.Options.Source is GridViewRow))
        return;
 
    RadGridView gridView = sender as RadGridView;
    uPlanning planningContainer = GetPlanningContainer(gridView);
    planningContainer.pTimer.Enabled = false;
 
    IList draggedItems = e.Options.Payload as IList;
    TreeViewDragCue cue = e.Options.DragCue as TreeViewDragCue;
    cue.DropPossibleIconTemplate = null;
    cue.DropPossibleIcon = null;
    cue.DropImpossibleIconTemplate = null;
    cue.DropImpossibleIcon = null;
 
    if (e.Options.Status == DragStatus.DropPossible)
    {
        int rowIndex = 0;
        if (draggedItems.Count > 0)
        {
            GridViewRow row = this.AssociatedObject.ItemContainerGenerator.ContainerFromItem(this.currentDropItem) as GridViewRow;
            DropPosition pos = this.GetDropPositionFromPoint(e.Options.CurrentDragPoint, row);
 
            //azzero template drag&drop
            foreach (GridViewRow gvr in gridView.ChildrenOfType<GridViewRow>())
                gvr.BorderThickness = new Thickness(0, 0, 0, 0);
 
            rowIndex = gridView.Items.IndexOf(this.currentDropItem) + 1;
 
            #region Template drag&drop
            switch (pos.ToString())
            {
                case ("Before"):
                    cue.DragActionContent = String.Format("Sposta prima di ");
                    if (row != null)
                    {
                        row.BorderThickness = new Thickness(0, 5, 0, 0);
                        row.BorderBrush = new SolidColorBrush(Colors.White);
                    }
                    break;
                case ("After"):
                    cue.DragActionContent = String.Format("Sposta dopo ");
                    if (row != null)
                    {
                        row.BorderThickness = new Thickness(0, 0, 0, 5);
                        row.BorderBrush = new SolidColorBrush(Colors.White);
                    }
                    break;
                default:
                    cue.DragActionContent = String.Format("Inserisci ");
                    break;
            }
 
            if (currentDropItem != null)
            {
                if (currentDropItem is PROD_ORDINI)
                    cue.DragTooltipContent = (currentDropItem as PROD_ORDINI).opcliedes;
                else
                    cue.DragTooltipContent = (currentDropItem as Cvt).cvtnumero;
 
                cue.IsDropPossible = false;
 
                if (gridView.Tag.ToString() == "E" && draggedItems[0] is PROD_ORDINI)
                {
                    //se sposto all'interno dei da pianificare
                    cue.DragActionContent = null;
                    cue.IsDropPossible = true;
                }
                if (gridView.Tag.ToString() == "F" && draggedItems[0] is Cvt)
                {
                    cue.DragTooltipContent = null;
                    cue.IsDropPossible = true;
                }
            }
            #endregion
        }
        else
        {
            //azzero template drag&drop
            foreach (GridViewRow gvr in gridView.ChildrenOfType<GridViewRow>())
                gvr.BorderThickness = new Thickness(0, 0, 0, 0);
        }
 
        gridView.ScrollIndexIntoView(rowIndex);
    }
}
Dimitrina
Telerik team
 answered on 11 Sep 2014
1 answer
149 views
Hello all,
It's my first(?) post so please be forgiving. To be onest the same post I've sent to ScheduleView section :-), so this is quote:

"I've studied ScheduleView with database entity framework (SDK samples).I'm wondering if it is possible to get automatic feedback from database and automatically refresh WPF GUI (ScheduleView) ? In SDK example database is placed in mdf file, but for my needs I've transferred all the tables to SQL Server (Express) - through executing all the sql scripts placed in the ScheduleView Database tutorial. I've modified connectionString to connect with SQL Server instance, instead of database mdf file.
Everything works perfect, but I want to achieve effect in which other person(s) will update Appointments directly in SQL database (e.g. via MS SQL Server Management Studio) and in my application WPF ScheduleView (GridView ?) changes will be automatically visible (e.g. Appointment subiect automatically wil be refreshed). Whether it is at all possible ? I hope all my "problems" are clear to you dear forum people."

Regards
Robert
Yana
Telerik team
 answered on 10 Sep 2014
1 answer
171 views
Hello all,
It's my first post so please be forgiving.
I've studied ScheduleView with database entity framework (SDK samples).I'm wondering if it is possible to get automatic feedback from database and automatically refresh WPF GUI (ScheduleView) ? In SDK example database is placed in mdf file, but for my needs I've transferred all the tables to SQL Server (Express) - through executing all the sql scripts placed in the ScheduleView Database tutorial. I've modified connectionString to connect with SQL Server instance, instead of database mdf file.
Everything works perfect, but I want to achieve effect in which other person(s) will update Appointments directly in SQL database (e.g. via MS SQL Server Management Studio) and in my application WPF ScheduleView (GridView ?) changes will be automatically visible (e.g. Appointment subiect automatically wil be refreshed). Whether it is at all possible ? I hope all my "problems" are clear to you dear forum people.
Regards
Robert
Yana
Telerik team
 answered on 10 Sep 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
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
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
SplashScreen
Rating
Accessibility
Callout
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?