Telerik Forums
UI for WPF Forum
2 answers
204 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
183 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
108 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
129 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
101 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
107 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
1 answer
134 views
Hello,

Most of your examples are showing how to use RadRichTextbox (and other controls) using code behind of the xaml.  I am writing application using MVVM pattern. 

In your example, in the code behind you are showing:

radRichTextBox.Document.MailMergeDataSource.ItemsSource = GetMyList()


I need to databind ItemsSource to my list which is in the ViewModel.

Thank you in advance

Petya
Telerik team
 answered on 12 Aug 2013
1 answer
236 views

Hi

When i double click on dates in radcalendar,the selected date should get added.But the date should not get added while double click on the header,navigation arrows and week days? when i click on the arrows to change month, if i do this to fast, the control fires a  "double click" event.

Is there any way to decide if i clicked a date or some other place on the control? 

Thanks & Regards
Kotteeswari

Vladi
Telerik team
 answered on 12 Aug 2013
1 answer
132 views
Hi,
Is there any way of adding panels and controls to a RadRichTextBoxStatusBar  or does this control is only used for Text features ?
I would like to add panels to display some stats...
Txs 
-Vince
Boby
Telerik team
 answered on 12 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?