Telerik Forums
UI for WPF Forum
1 answer
154 views
Dear Support!

Today we updated our telerik WPF controls from 2010 Q3 to 2011 Q1. Stumbled upon the problem that the header of our TabControl is disappeared. We using custom Theme based on Office_Blue.
What files needs to add / check to bring back the headers?

Look forward to your response,
Záby
Petar Mladenov
Telerik team
 answered on 11 Apr 2011
1 answer
149 views
If I use a GridView without TabControl, it is displayed fine:

<telerikgridview:RadGridView IsReadOnly="True" AutoGenerateColumns="False" ItemsSource="{Binding SelectedPatient.Weighings}" ShowGroupPanel="False" RowIndicatorVisibility="Collapsed">
    <telerikgridview:RadGridView.Columns>
        <telerikgridview:GridViewDataColumn DataMemberBinding="{Binding WeightDate}" Header="{lex:LocText S3.ParametersUE.PatientManagement:UIStrings:PatientDetailsView_GridWeighingsHeaderDate}" DataFormatString="{}{0:d}"/>
        <telerikgridview:GridViewDataColumn DataMemberBinding="{Binding Weight}" Header="{lex:LocText S3.ParametersUE.PatientManagement:UIStrings:PatientDetailsView_GridWeighingsHeaderWeight}"/>
    </telerikgridview:RadGridView.Columns>
</telerikgridview:RadGridView>

However, if I put it in a RadTabItem of a RadTabControl, not all horizontal gridlines are visible.

If I set ShowGroupPanel of the grid to True, all gridlines are visible!

Is there a drawing problem in the RadTabControl?

Edit: if i try a regular .NET TabControl, it has the same issue! So maybe it's a GridView issue...
Edit 2: if I set ShowColumnHeaders to False, all lines are visible
Maya
Telerik team
 answered on 11 Apr 2011
3 answers
149 views
I use a dataview as my itemsource. All columns show fine except for one. This data column has values that are mixture of strings, percentages and currency.

Sample values:
N/A
10%
$50


Any ideas why this column show as blank data in the radgridview?
Joshua
Top achievements
Rank 1
 answered on 11 Apr 2011
2 answers
196 views
I have a problem with my ClickOnce deployment that I am doing and I have had this problem multiple times with all of my new applications that are deployed this way. This same problem occurs every time a new Telerik controls version comes out and I am not sure what to do to fix it, or how I have fixed it in the past. The problem always just seems to go away after tweaking some unrelated things.

What is happening is that I have a lot of references to the Telerik.windows.controls dlls. When I use the ClickOnce deployment to deploy one of my projects, I usually get an error message after running the installer that says

'Unable to intall or run the application. The application requires that assembly Telerik.Windows.Controls.Input Version 2010.1.309.35 be installed in the Global Assembly Cache (GAC) first.'

I first check to make sure that the required version is not in the GAC and that is fine but I also check all of my projects and none of the have a reference to that version. Right now, they all have references to the Version 2010.1.603.35. I have also gone in and checked the ClickOnce manifest to see if the problem is present in that as well and sure enough I find both of the following records.

<dependency>
  <dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
    <assemblyIdentity name="Telerik.Windows.Controls" version="2010.1.309.35" publicKeyToken="5803CFA389C90CE7" language="neutral" processorArchitecture="msil" />
  </dependentAssembly>
</dependency>
<dependency>
  <dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
    <assemblyIdentity name="Telerik.Windows.Controls.Input" version="2010.1.309.35" publicKeyToken="5803CFA389C90CE7" language="neutral" processorArchitecture="msil" />
  </dependentAssembly>
</dependency>

as well as

<dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Telerik.Windows.Controls.dll" size="1207296">
      <assemblyIdentity name="Telerik.Windows.Controls" version="2010.1.603.35" publicKeyToken="5803CFA389C90CE7" language="neutral" processorArchitecture="msil" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>e4iP0pIbW/339jWRaqDifRptJ0E=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
<dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Telerik.Windows.Controls.Input.dll" size="770560">
      <assemblyIdentity name="Telerik.Windows.Controls.Input" version="2010.1.603.35" publicKeyToken="5803CFA389C90CE7" language="neutral" processorArchitecture="msil" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>3Wibpvrir1Btx4aXnHuzt82AWO0=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>

If anyone has any idea why this keeps happening to me then please tell me what I can do to fix it or prevent it from happening again.

As further information, this problem also only seems to occur when I publish and not when someone else publishes the exact same project.

Thank you,
Alex
taras
Top achievements
Rank 1
 answered on 11 Apr 2011
4 answers
155 views
I am trying to use the icon images that are retrieved from the ShGetFileInfo API call.  In this way, for my file explorer I can use all of the windows default images without having to extract them and then place them into separate files.  I would appreciate it if anyone could let me know if this is possible?  Also, is it possible to use an ImageList collection with the TreeView?

Thanks.

Martin Reich

Update:

I have created a set of classes that will place the Shell32.dll icons (or from any other file the user wishes) into an images directory below the executable.  I then point DefaultImageSrc to the file in the images directory.  This works fine except for the 'light yellow' color in the icons.  When the icon is saved to a file, the 'light yellow' is being transformed into white.  If someone can help with his issue, I will post the code for others to use.

Update 2:

I have gotten the correct colors working.  Using an ImageList, I put the icon into the ImageList and then save the icon from the ImageList instance.  This process handles all of the color issues.  If someone would like this code just let me know and I will send it on.
fred williams
Top achievements
Rank 1
 answered on 10 Apr 2011
1 answer
199 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
131 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
110 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
98 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
125 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
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?