Telerik Forums
UI for WPF Forum
1 answer
66 views
Hi,
I have UserControl with RadGridView. If start it from WPF application everything is OK, but if I start from VB6 then grouping in RadGridView doesn't work. In earlier versions was ok.
Is there currently a work around for this issue?

Thanks in advance,
Evald
Tihomir Petkov
Telerik team
 answered on 18 Mar 2010
1 answer
154 views
I'm trying to use tiles as a dashboard so i want to be able to add or remove tiles via a context menu

once I have opened my context menu how can I determine which tile the mouse is over?

thanks
Tihomir Petkov
Telerik team
 answered on 18 Mar 2010
1 answer
187 views
 

Hai

am having a WPF user control in my telerik Form, when i click my button in my form , i just want to pass some value to the textbox which is in the usercontrol, tell me how to do this.

Hristo
Telerik team
 answered on 18 Mar 2010
3 answers
116 views
Is zooming/scrolling supported in XBAP?
I checked the http://demos.telerik.com/wpf/ (zooming and scrolling section) and there was a message saying "This example is not available in XBAP".

Regards,
Bijan
Vlad
Telerik team
 answered on 18 Mar 2010
2 answers
95 views
Hello,

I'm trying to bind a collection of objects that I would like to display in a hierarchical fashion in the radgridview. I have one parent item that has roughly about 600 child items. When I try to expand the parent to display the child items, the process is very slow and takes around 10 seconds to finalize the display. Has anyone here had the same experience when trying to display a large child set? Andi if so, what solution did you find fixed the problem?

Thanks in advance.
Chris Andrade
Top achievements
Rank 1
 answered on 18 Mar 2010
1 answer
80 views
I have
in xaml the following GridViewColumn in

<ctrls:RadGridView >
            <telikControls:RadGridView.Columns>
<telikControls:GridViewComboBoxColumn
                        Name="dboDocCollections"
                        Header="Some Header"
                        IsReadOnly="True"
                        IsGroupable="True"
                        SelectedValueMemberPath="Id"
                        DisplayMemberPath="Name"
                        DataMemberBinding="{Binding Path=Batch.DocCollectionId}"

i have a structure for GridViewComboBoxColumn:
  Class Dummy
    { public long Id {get;set};
      public Name{get;set;}
     }

.............................
Code behind I'm assign a source (List<Dummy>()) for GridViewCombo, but the RadGridView don't display data (DisplayMember) accordingly for Combo source assigned.

I want to mention that in previous version of RadGridView  assembly same code worked ok!
Pavel Pavlov
Telerik team
 answered on 17 Mar 2010
9 answers
217 views
hai

am trying to run the wpf demo. if goes downloadind upto 10 mb after that it shows Application download Error

below is the error log
what the problem is?

PLATFORM VERSION INFO
 Windows    : 5.2.3790.131072 (Win32NT)
 Common Language Runtime  : 2.0.50727.3053
 System.Deployment.dll   : 2.0.50727.3053 (netfxsp.050727-3000)
 mscorwks.dll    : 2.0.50727.3053 (netfxsp.050727-3000)
 dfshim.dll    : 2.0.50727.3053 (netfxsp.050727-3000)

SOURCES
 Deployment url   : http://demos.telerik.com/wpf/
 Application url   : http://demos.telerik.com/wpf/Telerik.Windows.Examples.exe.manifest

IDENTITIES
 Deployment Identity  : Telerik.Windows.Examples.xbap, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=06e954e71cc7b2f5, processorArchitecture=msil
 Application Identity  : Telerik.Windows.Examples.exe, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=06e954e71cc7b2f5, processorArchitecture=msil, type=win32

APPLICATION SUMMARY
 * Online only application.
 * Browser-hosted application.

ERROR SUMMARY
 Below is a summary of the errors, details of these errors are listed later in the log.
 * An exception occurred while downloading the application. Following failure messages were detected:
  + Downloading http://demos.telerik.com/wpf/Telerik.Windows.Examples.exe did not succeed.
  + The operation has timed out

COMPONENT STORE TRANSACTION FAILURE SUMMARY
 No transaction error was detected.

WARNINGS
 There were no warnings during this operation.

OPERATION PROGRESS STATUS
 No phase information is available.

ERROR DETAILS
 Following errors were detected during this operation.
 * [3/10/2010 4:34:48 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
  - Downloading http://demos.telerik.com/wpf/Telerik.Windows.Examples.exe did not succeed.
  - Source: System.Deployment
  - Stack trace:
   at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
   at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
   at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
   at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
   at System.Deployment.Application.DeploymentManager.SynchronizeCore(Boolean blocking)
   at System.Deployment.Application.DeploymentManager.SynchronizeAsyncWorker()
  --- Inner Exception ---
  System.Net.WebException
  - The operation has timed out
  - Source: System
  - Stack trace:
   at System.Net.HttpWebRequest.GetResponse()
   at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)

COMPONENT STORE TRANSACTION DETAILS
 No transaction information is available.

 


Hristo
Telerik team
 answered on 17 Mar 2010
1 answer
164 views
Hi, Telerik.
I need your help.

I am working with Telerik RadGridView. RadGridView displays hierarchial manner.

Then I want to get  the data of a selected child gridview row and display the data in a new Page for Editing in the MouseDoubleClick event.

Is there any way for me to accomplish this?

Thank you!
Pavel Pavlov
Telerik team
 answered on 17 Mar 2010
1 answer
127 views
I would like to display the calendar in as small an area as possible and so would prefer to show only the first letter of each day (M,T,W... in English). How could I do this?

Also, I would find it useful to have a calendar that is a single column (or row) or number - a 'one line' calendar. The one square view that the present calendar has can be awkward in some form designs.  A datepicker is not appropriate here as it is required to see all dates in a month.

Thanks

jas
Kaloyan
Telerik team
 answered on 17 Mar 2010
1 answer
272 views
I ran into a bug with the RadSlider that tripped me up for a few hours.  There's an easy workaround, but I figured that this is the sort of thing that you'd want to know about so you could fix it.

Synopsis:
When a RadSlider is databound to an object, if the value that is bound to the Minimum property is set prior to setting the object that is bound to the Maximum value then your application will terminate with a StackOverflowException.

What ends up happening, (as far as I can tell), is that internally the API sees that Minimum has been set to X and so reacts by setting SelectionStart = Minimum.  The API then notices that SelectionStart > SelectionEnd and so sets SelectionStart to 0.  This cycle repeats until the stack is blown:  Selection start goes back to X, then 0, then X, then 0, then.....

Reproduction case:
I created a simple little WPF app to reproduce this problem.

XAML:
<Window x:Class="TelerikStackoverflowRepro.MainWindow" 
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" Title="MainWindow" Height="350" Width="525"
    <Grid> 
        <telerik:RadSlider Name="NumericSlider" Minimum="{Binding Minimum}" Maximum="{Binding Maximum}"                           
                           SelectionEnd="{Binding SelectionEnd, Mode=TwoWay}" SelectionStart="{Binding SelectionStart, Mode=TwoWay}" IsSelectionRangeEnabled="True"/> 
    </Grid> 
</Window> 
 


C#:
using System; 
using System.Windows; 
 
namespace TelerikStackoverflowRepro 
    public partial class MainWindow : Window 
    { 
        public MainWindow() 
        { 
            InitializeComponent(); 
 
            var data = new SelectionData(); 
            data.Initialize(); 
 
            this.DataContext = data; 
 
        } 
    } 
 
    public class SelectionData 
    { 
        private int min; 
        private int max; 
        private int selectionStart; 
        private int selectionEnd; 
         
        public int Minimum 
        { 
            get 
            { 
                return min; 
            } 
            set 
            { 
                min = value; 
                Console.WriteLine("Minimum set to " + min); 
            } 
        } 
 
        public int Maximum 
        { 
            get 
            { 
                return max; 
            } 
            set 
            { 
                max = value; 
                Console.WriteLine("Maximum set to " + max); 
            } 
        } 
 
        public int SelectionStart 
        { 
            get 
            { 
                return selectionStart; 
            } 
            set 
            { 
                selectionStart = value; 
                Console.WriteLine("SelectionStart set to " + selectionStart); 
            } 
        } 
 
        public int SelectionEnd 
        { 
            get 
            { 
                return selectionEnd; 
            } 
            set 
            { 
                selectionEnd = value; 
                Console.WriteLine("SelectionEnd set to " + selectionEnd); 
            } 
        } 
 
        public void Initialize() 
        { 
            Minimum = 6; 
            Maximum = 12; 
        } 
 
    } 
 

You can look at your console output to see the problem as it happens.

Workaround:
Setting Maximum prior to Minimum completely avoids this glitch, which is fine for now.  Hopefully you folks can patch this up so that others don't need to spend the time scratching their heads and trying to figure out what went horribly wrong with their code. =)
Kiril Stanoev
Telerik team
 answered on 17 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?