Telerik Forums
UI for WPF Forum
1 answer
198 views
Custom Controls:
public class CustomGridView : RadGridView
    {
        public CustomGridView()
        {
        }
          
    }
  public class RadGridViewCommands
    {
  
    }
  
  
<framework:CustomGridView x:Name="gvCustomerOrder" ItemsSource="{Binding Orders}" 
               CanUserDeleteRows="{Binding IsChecked, Mode=TwoWay, ElementName=CanUserDeleteRowsCheckBox}"
               IsReadOnly="{Binding IsChecked, Mode=TwoWay, ElementName=IsReadOnlyCheckBox}" 
               SelectionMode="Extended" VerticalAlignment="Stretch" AutoGenerateColumns="False">
                <framework:CustomGridView.Columns>
                    <framework:CustomGridViewToggleRowDetailsColumn/>
                    <framework:CustomGridViewSelectColumn x:Name="gvcSelect"/>
                    <framework:CustomGridViewDataColumn DataMemberBinding="{Binding Name" Header="S.no" />
                </framework:RTPOGridView.Columns>
 </framework:RTPOGridView>
  
<Button Content=" Delete" Style="{StaticResource GreyButtonStyle}" Command="framework:RadGridViewCommands.Delete" CommandTarget="{Binding ElementName=gvCustomerOrder}"/>
  
  
But In Run Time it gives an Error:
'Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception.' Line number '141' and line position '60'
Hi,
We are using a custom controls inheriting from telerik base controls.
E.g. In case of datagrid,(Please find attched code Block), Command property is not accesible. It gives an Error.
We use a MVVM Pattern.
Please help on this.

Rahul
Top achievements
Rank 1
 answered on 09 Apr 2011
0 answers
128 views
Hello Telerik Team,
                                I have one clarification about radcombo box.
I want multiple columns in radcombobox.is it possible?
or how to achive using telerik controls?

(ex)I have two objects Names like LedgerID(Integer) and LedgerName(String).
Both values retrieved from database and display in single radcombobox..

After i am setting IsEditable=True
if i put ledgerID in radcombobox mean the drop down will open with LedgerID in assending order
corresponding ledgerName also display in second column.

or

if i put LedgerName in radcombobox mean the drop down will open with LedgerName in assending order
corresponding ledgerID also display in first column.

how to achive using radcombobox?
pls give me any suggestions?

sundhar
Top achievements
Rank 1
 asked on 09 Apr 2011
2 answers
106 views
Hello,

It seems that the stock editor that the Data Filter provides for double values allows only 2 decimal places.  Is there any way to change this, or do I need to implement a custom editor?

Thanks,
Mark.
Mark
Top achievements
Rank 1
 answered on 08 Apr 2011
1 answer
94 views
Edit:  My apologies, it appears this is a known issue and is being worked on.
http://www.telerik.com/support/pits.aspx#/public/wpf/5166

Hello,

I'm having a bizarre issue with the RadTabControl related to the design interface in Visual Studio 2010.  Every time I try to edit or view the events of the RadTabControl, it crashes the design interface forcing me to reload.  I am getting an exception of MS.Internal.Validate+ValidationFailure each time it fails.  Whenever I can actually click on the "Events" tab in the properties window, it continues to show the properties.  This seems to be related to the Q1 2011 release as I was not having this issue before. Reinstalling the Q1 release did not fix the issue.

The application compiles and debugs without any problems even with the event still defined, so the problem seems purely on the VS side.  Any idea what could be causing this?

Thanks,

Kyle
Petar Mladenov
Telerik team
 answered on 08 Apr 2011
1 answer
122 views

I have a menu with vertical orientation, when I use mouse to navigate in the menu I have no problem. But if I open a menu that has a submenu (Accounting in this example) with a short cut key (Alt+A) I have difficulties when using Down Arrow key to navigate to the next menu item inside the submenu popup.
This is not an accepted behaviour. I have noticed that if I leave my mouse pointer in the place that the submenu popup opens and open the menu with a shortcut key there won't be any problem using Down Arrow key to move down inside the popup.

<Grid>
    <telerik:RadMenu HorizontalAlignment="Left" x:Name="ModulesMenu" Orientation="Vertical" Margin="12,12,0,50" IconColumnWidth="0" Width="95">
      <telerik:RadMenuItem Header="_Overdue" />
      <telerik:RadMenuItem Header="Search _Public" />
      <telerik:RadMenuItem x:Name="mnuICBC" Header="_ICBC Batching">
        <telerik:RadMenuItem Header="Autolink Web Page" />
        <telerik:RadMenuItem Header="WEIS/Autolink Sync" />
      </telerik:RadMenuItem>
      <telerik:RadMenuItem x:Name="mnuAccounting" Header="_Accounting"  >
        <telerik:RadMenuItem x:Name="mnuVend" Header="Accounts Payable" />
        <telerik:RadMenuItem x:Name="mnuCust" Header="Accounts Receivable" />
        <telerik:RadMenuItem x:Name="mnuCact" Header="Chart of Accounts" />
        <telerik:RadMenuItem x:Name="mnuComp" Header="General Ledger" />
        <telerik:RadMenuItem x:Name="mnuFtxn" Header="Business Transactions to G/L" />
      </telerik:RadMenuItem>
      <telerik:RadMenuItem x:Name="mnuAdmin" Header="Ad_min" >
        <telerik:RadMenuItem Header="System" />
        <telerik:RadMenuItem Header="Suppliers & Products" />
      </telerik:RadMenuItem>
    </telerik:RadMenu>
  </Grid>
Hristo
Telerik team
 answered on 08 Apr 2011
1 answer
39 views
Is it possible that all days in week view have the same width?

Valeri Hristov
Telerik team
 answered on 08 Apr 2011
3 answers
81 views
Hello there,

I found that the WPF grid is easy to crashed while in the edit mode. Take an example as the attached screenshot.
I have 2 grid. The one on the top is the master and the one below is the detail table based on the selection of the row in the master table.
What I found that if I was editing the detail table but didn't commit. While the detail table is still in the edit mode, if I accidently select another row in the master table, it will cause the crash/frozen of the Grid control.

I have the screenshot upload usign the general ticket system.
http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=410452

Anyone run into similar problem?

Thx,
David
Yordanka
Telerik team
 answered on 08 Apr 2011
4 answers
483 views
Hello,

Im having an issue with the RadDataPager and the RadTabControl:

When adding this section to our ResourceDictionary, I get a compile error "Error 12 The type reference cannot find a public type named 'RadDataPager'":

    <Style TargetType="{x:Type telerik:RadDataPager}">
        <Setter Property="telerik:StyleManager.Theme" Value="Office_Blue"/>
    </Style>

The same goes for the RadTabControl.

This error does not occur for the rest of the telerik controls within the dictionary, which set the theme for the RadButton, RadGridView, RadExpander etc.

Kind regards,
Mike
Mike
Top achievements
Rank 1
 answered on 08 Apr 2011
0 answers
107 views

Hello All;

I am using DatePicker Control of WPF ToolKit3.5(that i have downloaded from Codeplex.com) Sp1 in My MVVM application
so can any one tell me that how can i access the selected value of datetime picker in ViewModel.cs file

please help,
thanks

hallatie
Top achievements
Rank 1
 asked on 08 Apr 2011
0 answers
87 views

 I am using a TCP/IP protocol to connect to the Device(Video) and render the Video onto WPF application. The frame rate from the device is around 3 - 4 Frames/Second . I also understand that the lower frame rate could also be the possible reason for flicker but when i run my C++ application and try to render the video its flicker free (even though there is some latency).

Please suggest on this ....

hallatie
Top achievements
Rank 1
 asked on 08 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?