Telerik Forums
UI for WPF Forum
1 answer
90 views
I'm using a RadGridView within a RadDocking RadPane. in my application the MVVM pattern is used. So the ItemSource and the SelectedItem Properties data bound to my view model. Everything is working as expected until the RadPane is undocked from the RadDocking and becomes a floating window. When this happens any selection of a row is lost and the bound property becomes null.
Why is this happening? I've tried using the SelectionChanging or SelectionChanged events to get notified when the selection is removed but neither of those seem to be triggered. It is very important for my application to be informed about any selection changes within the grid view since it stores user configurations which are switched once the user selects another one.

Any help on this would be appreciated.
Thanks and regards.
Yoan
Telerik team
 answered on 13 Aug 2013
8 answers
131 views
Hi there,

I have a problem with the Headers in my GridView after scrolling, which causes misalignment. Partly, the columns are added dynamically.
The number of the added columns depends on the data I get. Attachment are pictures of the problem with a smaller version of the tool. Could be a Telerik Bug, as on release Q3 2012 notes I can find :
  • Fixed: When scrolling with frozen columns and dynamically added columns, merged headers were sometimes misaligned
Thank you for your support! 
Dimitrina
Telerik team
 answered on 13 Aug 2013
1 answer
59 views
Hi,

I am implementing a form layout with RadDocking.  I want to have one pane docked to the left which can only be Pinned and Unpinned. 
A. This panel should not move (I've achieved that with CanFloat="False")
B. No other panel can be dragged over it and grouped with it.  I understand that RadPane must be inside RadPaneGroup.  Is this correct?  Can I have a RadPane not in the group container somehow?
C. No other panel can be placed to the left of this panel.  Even through I've set CanFloat to false, it does not stop other panes to be moved to the left of this pane and therefore moving this pane towards the center.

I am also would appreciate if you implement in the near future Docking inside Docking.  

Thank you in advance. 

Michael
Vladi
Telerik team
 answered on 13 Aug 2013
2 answers
215 views
Hi.
As i show on screen, i've changed tile style to look like buttons in my app. Problem is that there is so much space between tiles.. How can I change it? Style have as default 150x150 size and tiletype is single.

XAML
 <Grid Grid.Row="0">
            <telerik:RadTileList Name="tileList" Margin="0">

            </telerik:RadTileList>
        </Grid>

Screenshoot:
http://snag.gy/mAiB4.jpg
Maya
Telerik team
 answered on 13 Aug 2013
1 answer
190 views
Hi,

I will test this control with simple calculations. My first test was to device a cell value with 2: =A1/2. The result in the spreadsheet returns: 5
This problem occurs in the online demo application and also in a small test of me:

private void Button2_Click(object sender, RoutedEventArgs e)
{
    Workbook workbook = new Workbook();
    Worksheet worksheet = workbook.Worksheets.Add();
    worksheet.Cells[0, 0].SetValue(1);
 
    worksheet.Cells[0, 1].SetValue("=A1/2");
    Excel.Workbook = workbook;
}

When I set the current culture to English, it works fine:
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");

It will go wrong when set it to:
Thread.CurrentThread.CurrentCulture = new CultureInfo("nl-BE");
Boryana
Telerik team
 answered on 13 Aug 2013
3 answers
112 views
I have a binding on "SelectedValue" and "CurrentDateTimeText".

Now when I Change the ViewModel (DataContext) "CurrentDateTimeText" is set to null despite "SelectedValue" having a value. Only when the user "physical" changes something in the Input text box of the control the "CurrentDateTimeText"-Property gets updated.

This causes a number of Problems in my Setup which I have to work around.

Why is this property not properly updated?
Kalin
Telerik team
 answered on 13 Aug 2013
1 answer
134 views
Hi,

I have a CodedUI Test written on an application that has RadRibbonWindow with RadRibbonView inside it. When I run the test it throws the following exception when the application is being closed by clicking on the Close button at top right corner.

Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException: The playback failed to find the control with the given search properties. Additional Details:
TechnologyName:  'UIA'
ControlType:  'TabList'
AutomationId:  'ribbonView'
 ---> System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
Result StackTrace: 
at Microsoft.VisualStudio.TestTools.UITest.Playback.Engine.IScreenElement.FindAllDescendants(String bstrQueryId, Object& pvarResKeys, Int32 cResKeys, Int32 nMaxDepth)
   at Microsoft.VisualStudio.TestTools.UITest.Playback.ScreenElement.FindAllScreenElement(String queryId, Int32 depth, Boolean singleQueryId, Boolean throwException, Boolean resetSkipStep)
   at Microsoft.VisualStudio.TestTools.UITest.Playback.ScreenElement.FindScreenElement(String queryId, Int32 depth, Boolean resetSkipStep)
   at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindFirstDescendant(String queryId, Int32 maxDepth, Int32& timeLeft)
 --- End of inner exception stack trace ---
    at Microsoft.VisualStudio.TestTools.UITesting.Playback.MapControlNotFoundException(COMException ex, IPlaybackContext context)
   at Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowComException(COMException innerException, IPlaybackContext context)
   at Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowException(SystemException exception, IPlaybackContext context)
   at Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowException(SystemException exception, String queryId)
   at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindFirstDescendant(String queryId, Int32 maxDepth, Int32& timeLeft)
   at Microsoft.VisualStudio.TestTools.UITesting.SearchHelper.GetElement(Boolean useCache, ISearchArgument searchArg)
   at Microsoft.VisualStudio.TestTools.UITesting.SearchHelper.Search(ISearchArgument searchArg)
   at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindInternal()
   at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.<Find>b__d()
   at Microsoft.VisualStudio.TestTools.UITesting.CodedUITestMethodInvoker.InvokeMethod[T](Func`1 function, UITestControl control, Boolean firePlaybackErrorEvent, Boolean logAsAction)
   at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.Find()
   at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.GetPropertyPrivate(String propertyName)
   at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.<>c__DisplayClass11.<GetProperty>b__10()
   at Microsoft.VisualStudio.TestTools.UITesting.CodedUITestMethodInvoker.InvokeMethod[T](Func`1 function, UITestControl control, Boolean firePlaybackErrorEvent, Boolean logAsAction)
   at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.GetProperty(String propertyName)
   at Microsoft.VisualStudio.TestTools.UITesting.ALUtility.GetTechElementFromUITestControl(UITestControl uiTestControl)
   at Microsoft.VisualStudio.TestTools.UITesting.ActionExecutorManager.GetActionExecutor(UITestControl uiControl)
   at Microsoft.VisualStudio.TestTools.UITesting.Mouse.ClickImplementation(UITestControl control, MouseButtons button, ModifierKeys modifierKeys, Point relativeCoordinate)
   at Microsoft.VisualStudio.TestTools.UITesting.Mouse.<>c__DisplayClass6.<Click>b__5()
   at Microsoft.VisualStudio.TestTools.UITesting.CodedUITestMethodInvoker.InvokeMethod[T](Func`1 function, UITestControl control, Boolean firePlaybackErrorEvent, Boolean logAsAction)
   at Microsoft.VisualStudio.TestTools.UITesting.Mouse.Click(UITestControl control, MouseButtons button, ModifierKeys modifierKeys, Point relativeCoordinate)
   at Microsoft.VisualStudio.TestTools.UITesting.Mouse.Click(UITestControl control, Point relativeCoordinate)
   at Lexicon.CodedUITests.UIMap.ExitTheApp() in z:\Lexicon2013\Code\Development\Lexicon\Applications\Lexicon.CodedUITests\UIMap.Designer.cs:line 43
   at Lexicon.CodedUITests.LexiconCodedUITest.LoginToLexiconTest() in z:\Lexicon2013\Code\Development\Lexicon\Applications\Lexicon.CodedUITests\LexiconCodedUITest.cs:line 32

I am using VS 2012 with Telerik version Q2 SP 2013 (2013.2.805.45)

Hope someone help me solve this issue asap.

Thank you.

Gajan

Stefan
Telerik team
 answered on 13 Aug 2013
1 answer
107 views
Hi

I am using getting a ContextSwitchDeadlock on the following conditions.

1.  Printing a grid with many rows. It can't handle a  grid with 1000 rows from the Northwind database, Order Details table.  If I filter the grid down to about 100 rows I don't get a ContextSwitchDeadlock.

2.  When I have a grid with many thousand of rows (Adventureworks2012) It sometimes locks when switching between partial screen and fullscreen.  If I open and close task manager my app unlocks.

I am using
Latest version of telerik libraries
Dynamic ObservableCollection for ItemsSource

My solution contains two projects and both projects have problem #2

Could you please provide guidelines or recommendations (as detailed as possible) on how best to code for eliminating these locks.
My app is very close to completion but I can't deploy with this problem.  I know you may need my code at some point but could we try your guidelines first.

Thanks
Rich
Ivan Ivanov
Telerik team
 answered on 13 Aug 2013
0 answers
58 views
I came into the office this morning and tried to open ScheduleView. I get an error message that says Unrecognized database format. I looked at the ScheduleView files and the *.mdb file says that it is Microsoft Office Access Application.

Someone please, please help me. Thankfully I have websync so I at least can set appointments.

Cathy

Cathy
Top achievements
Rank 1
 asked on 12 Aug 2013
1 answer
112 views
Hi,

I bind RadGridView with dynamic object with auto generated column,
I want to customize column Header with its Name as textblock and ComboxBox with Unit.

Thanks
Shrikant.
Yoan
Telerik team
 answered on 12 Aug 2013
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
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?