Telerik Forums
UI for WPF Forum
4 answers
110 views
Just recently I placed two threads on this forum and they have both been taken off! Why??

P
Valentin.Stoychev
Telerik team
 answered on 13 Aug 2009
12 answers
223 views
After uninstalling the 2009 Q1 SP1 release and then installing the 2009 Q1 SP2 release I notice that Telerik's RadControls for WPF does not show in my Vista Home Premium SP2 edition Control Panel/Programs as being installed.

When I went to retry the installation by running the originally downloaded msi I get asked if I want to repair or uninstall the RadControls for WPF. Whichever option I request fails with ".NET 3.5 is not installed" which is patently nonsense. (I am running Visual Studio 2008 SP1 and the Silverlight Controls are installed and working fine). The installation should not be in a state where it cannot be uninstalled or installed and I am now concerned that when the 2009 SP2 release becomes available I will not be able to install it (any install of an existing product invariably stops, insisting that you remove the previous version first).

I would raise a support ticket on this but there's no section I can see for installation. If I click on the WPF controls I'm then required to indicate which specific control I'm raising a support ticket on - which is nonsense of course because I'm raising a ticket on failed installation/clean-up.

Anybody know how I can fix my "working but not uninstallable" control set?

Clint
Top achievements
Rank 1
 answered on 12 Aug 2009
1 answer
544 views
Hi,
I have a GridView with binding to an ObservableCollection in the ViewModel.
The GridView DataLoadMode is set to Asynchronous.
When removing an item from the ObservableCollection in the ViewModel, the GridView is not refershed and item is still shown.
If I set DataLoadMode as synchronous , It works fine.

<telerik:RadGridView  
  x:Name="RadGridViewGroups" 
  Grid.Row="1" 
  AutoGenerateColumns="False" 
  DataLoadMode="Asynchronous" 
  IsReadOnly="True"           
  ItemsSource="{Binding Groups}" > 

public class GroupsViewModel : INotifyPropertyChanged  
{         
    public ObservableCollection<TradingGroup> Groups  
    {  
        get 
        {  
            return m_Groups;  
        }  
        set 
        {  
            m_Groups = value;  
            PropertyChanged.OnPropertyChanged(this"Groups");  
        }  
    }  


Thanks,
Noam Shoeg



Vlad
Telerik team
 answered on 12 Aug 2009
2 answers
217 views
Hy
I add a CheckBox  column to my grid
and now there is no border to the column
this is the code

<telerik:RadGridView.Resources> 
                    <ControlTemplate x:Key="cellTemplate" TargetType="{x:Type telerik:GridViewCell}">  
                        <CheckBox IsChecked="{Binding Field.Record.Data.Add, RelativeSource={RelativeSource TemplatedParent}}"   
                                                    HorizontalAlignment="Center" VerticalAlignment="Center" /> 
                    </ControlTemplate> 
                    <Style x:Key="booleanCellStyle">  
                        <Setter Property="telerik:GridViewCell.Template" Value="{StaticResource cellTemplate}" /> 
                    </Style> 
                    </telerik:RadGridView.Resources> 

 <telerik:RadGridView.Columns> 
                        <telerik:GridViewDataColumn UniqueName="Add" Header="" Width="Auto" CellStyle="{StaticResource booleanCellStyle}"/>  
                     

Thanks.
Orit
Top achievements
Rank 1
 answered on 12 Aug 2009
8 answers
258 views
Hi,
I am using RadCarousel in WAP Browser Application. I am calling this control in webpart using IFrame tag to run on sharepoint site.
when I deploy it I am getting follwoing error

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://rell:1234/NewXbaps/WPFCarousel03.xbap
    Application url            : http://rell:1234/NewXbaps/WPFCarousel03.exe.manifest

IDENTITIES
    Deployment Identity        : WPFCarousel03.xbap, Version=1.0.0.0, Culture=neutral, PublicKeyToken=09b4372df65d1401, processorArchitecture=msil
    Application Identity        : WPFCarousel03.exe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=09b4372df65d1401, 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://rell:1234/NewXbaps/WPFCarousel03.exe did not succeed.
        + The remote server returned an error: (415) UNSUPPORTED MEDIA TYPE.
    * An exception occurred while determining trust. Following failure messages were detected:
        + User has refused to grant required permissions to the application.

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.
    * [2/25/2009 6:29:45 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
        - Downloading http://rell:1234/NewXbaps/WPFCarousel03.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 remote server returned an error: (415) UNSUPPORTED MEDIA TYPE.
        - Source: System
        - Stack trace:
            at System.Net.HttpWebRequest.GetResponse()
            at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
    * [2/25/2009 6:29:46 PM] System.Deployment.Application.TrustNotGrantedException (Unknown subtype)
        - User has refused to grant required permissions to the application.
        - Source: System.Deployment
        - Stack trace:
            at System.Deployment.Application.ApplicationTrust.RequestTrust(SubscriptionState subState, Boolean isShellVisible, Boolean isUpdate, ActivationContext actCtx, TrustManagerContext tmc)
            at System.Deployment.Application.DeploymentManager.DetermineTrustCore(Boolean blocking, TrustParams tp)
            at System.Deployment.Application.DeploymentManager.DetermineTrust(TrustParams trustParams)
            at System.Deployment.Application.InPlaceHostingManager.AssertApplicationRequirements(Boolean grantApplicationTrust)
            at System.Deployment.Application.InPlaceHostingManager.AssertApplicationRequirements()
            at MS.Internal.AppModel.XappLauncherApp.AssertApplicationRequirementsAsync(Object unused)

COMPONENT STORE TRANSACTION DETAILS
    No transaction information is available.


can you tell me what changed i need to do?

Thanks
Vandana
Vlad
Telerik team
 answered on 12 Aug 2009
4 answers
145 views
Hi.
Small problem:
Imagine a class setup of:
public class DisplayData 
   public string Name { getset; } 
   public SomeOtherClass Prop { getset; } 
 
public class SomeOtherClass  
   public string OtherName { getset; } 

Now I have an ObservableCollection<DisplayData> to display in my Grid.
Problem is the following setup does no display SomeOtherClass nicely (how should it...)
<telerik:GridViewDataColumn  
     Header="Name" 
     DataMemberBinding="{Binding Path=Name, Mode=OneWay}" 
     Width="2*" 
     IsReadOnly="True"/> 
<telerik:GridViewDataColumn  
     Header="Other" 
     DataMemberBinding="{Binding Path=Prop, Mode=OneWay}" 
     Width="3*" 
     IsReadOnly="True"/> 

If I change the second column like this:
<telerik:GridViewDataColumn   
     Header="Name"  
     DataMemberBinding="{Binding Path=Name, Mode=OneWay}"  
     Width="2*"  
     IsReadOnly="True"/>  
<telerik:GridViewDataColumn   
     Header="Other"  
     DataMemberBinding="{Binding Path=Prop.OtherName, Mode=OneWay}"  
     Width="3*"  
     IsReadOnly="True"/>  

All displays fine. However I loose the Ability to Filter/Group the second column.
I am searching for something like:
<telerik:GridViewDataColumn    
     Header="Name"   
     DataMemberBinding="{Binding Path=Name, Mode=OneWay}"   
     Width="2*"   
     IsReadOnly="True"/>   
<telerik:GridViewDataColumn    
     Header="Other"   
     DataMemberBinding="{Binding Path=Prop, Mode=OneWay}" 
     DisplayMemberPath="OtherName"   
     Width="3*"   
     IsReadOnly="True"/>   

And I can't seem to find any solution..

I seem to walking in the dark here.. so could someone please enlighten me ?

Yours,
Nils
Nils
Top achievements
Rank 1
 answered on 11 Aug 2009
1 answer
223 views
Hello everybody.

We have a RadGridView with 4 columns: 2 are simply text column, while 2 have a button.

The problem we can't figure out is: how we can know the row index number (=item) starting from the button click event?

Thank you for your cooperation.

Attilio Gelosa.
Vlad
Telerik team
 answered on 11 Aug 2009
7 answers
380 views
I am creating tabs on the fly and need to be able to apply a theme to the actual RadTabItem.

I have tried the following with no success:
1) tab1.SetValue(Telerik.Windows.Controls.StyleManager.ThemeProperty, new VistaTheme());
2) Telerik.Windows.Controls.StyleManager.SetTheme(tab1, new VistaTheme());

tab1 is the tab I created:
RadTabItem tab1 = new RadTabItem();

Also, I cannot apply the theme to an existing tab (within the actual XAML) dynamically either.  If a RadTabItem exists with name "tab2" on the xaml form and I try and go and programatically apply a theme somewhere in the code it does not apply at all...

Any help with this would be great.  I really need to be able to apply themes on the fly to dynamically created telerik objects.

Thanks

 

Bobi
Telerik team
 answered on 11 Aug 2009
4 answers
141 views
Hy
How can I make the width of the grid to be strech on all window width?
Thanks
Orit
Top achievements
Rank 1
 answered on 11 Aug 2009
1 answer
283 views
If a I create a simple form with just a RadGridView control:

<Grid>
        <telerik:RadGridView Name="radGridView1"/>
</Grid>

As I resize the window, the grid streches with the window and vertical/horizontal scrollbars appear if there's any extra rows/columns in the grid.  But if I change the container to a canvas:

<Canvas>
        <telerik:RadGridView Name="radGridView1"/>
</Canvas>

Then any overflow is hidden.  Even if I wrap the RadGridView in it's own grid under the canvas no scrollbars appear.  This seems to happen if there's a canvas element anywhere in the container hierarchy.  
Hristo
Telerik team
 answered on 10 Aug 2009
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
InlineAIAssistant
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?