
StyleManager
.ApplicationTheme = new TransparentTheme();
it was working fine for all telerik controls..But the themes not applying for my standard TxtBox.I have many TextBox in My User interface.I want to set the same theme globally.How is possible? give me more details....
<Label Content="Company" Height="24" Margin="6,12,0,0" Name="label1" VerticalAlignment="Top" FontSize="11" HorizontalAlignment="Left" Width="98" /> <telerik:RadComboBox Margin="115,12,29,0" Text="{Binding Path=CompanyName,Mode=TwoWay,UpdateSourceTrigger=LostFocus, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" Name="rcboCompany" VerticalAlignment="Top" Height="24" FontSize="11" TabIndex="1" LostFocus="rcboCompany_LostFocus" /> <Label Content="Ledger Code Number" Height="24" Margin="9,12,0,0" Name="label2" VerticalAlignment="Top" FontSize="11" Grid.Column="1" HorizontalAlignment="Left" Width="122" /> <TextBox Height="24" Text="{Binding Path=LedgerCodeNumber,Mode=TwoWay,UpdateSourceTrigger=LostFocus, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" Margin="129,12,96,0" Name="txtLedgerCodeNumber" VerticalAlignment="Top" TabIndex="2" FontSize="11" Grid.Column="1" MaxLength="5" /> <Label Content="Ledger Name" Height="24" Margin="6,48,0,0" Name="label3" VerticalAlignment="Top" FontSize="11" HorizontalAlignment="Left" Width="98" /> <TextBox Height="24" Margin="115,48,29,0" Name="txtLedgerName" Text="{Binding Path=LedgerName,Mode=TwoWay,UpdateSourceTrigger=LostFocus, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" VerticalAlignment="Top" TabIndex="3" MaxLength="100" FontSize="11" /> <Label Content="Group Name" Height="24" Margin="9,46,0,0" Name="label4" VerticalAlignment="Top" FontSize="11" Grid.Column="1" HorizontalAlignment="Left" Width="113" /> <telerik:RadComboBox Margin="129,48,15,0" Text="{Binding Path=GroupName,Mode=TwoWay,UpdateSourceTrigger=LostFocus, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" Name="rcboGroup" VerticalAlignment="Top" Height="24" FontSize="11" IsEditable="True" TabIndex="4" Grid.Column="1"/> <telerik:RadGridView Margin="12,163,21,22" Name="rgrdLedgerView" AutoGenerateColumns="False" CanUserFreezeColumns="False" CanUserReorderColumns="False" CanUserResizeColumns="False" CanUserSortColumns="False" ShowGroupPanel="False" MouseDoubleClick="rgrdLedgerView_MouseDoubleClick" RowDetailsVisibilityMode="Visible" IsReadOnly="True" IsFilteringAllowed="False" TabIndex="5" IsSynchronizedWithCurrentItem="False"> <telerik:RadGridView.Columns> <telerik:GridViewDataColumn DataMemberBinding="{Binding CompanyName}" Header="Company Name" Width="130"/> <telerik:GridViewDataColumn DataMemberBinding="{Binding LedgerCodeNumber}" Header="Ledger Code Number" Width="100"/> <telerik:GridViewDataColumn DataMemberBinding="{Binding LedgerName}" Header="Ledger Name" Width="140"/> <telerik:GridViewDataColumn DataMemberBinding="{Binding GroupName}" Header="Group Name" Width="130"/>
</telerik:RadGridView.Columns>
</telerik:RadGridView> Hi Telerik Team,
Currently I've installed RadControls_for_WPF35_2011_1_0315_Dev.msi (Version : 2011.1.315.35) and I'm not able to use the following lines in my design, it shows error in design itself.
<telerik:RadTileView x:Name="tileEmployer" MinimizedItemsPosition="Right" MinimizedColumnWidth="300" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" >
<telerik:RadTileViewItem Header="Employer" TileState="Maximized" >
<Grid Name="tileEmpMain" Margin="5" />
</telerik:RadTileViewItem>
<telerik:RadTileViewItem Header ="Contract" >
<Grid Name="tileContractLink" Margin ="5" />
</telerik:RadTileViewItem >
</
telerik:RadTileView>
The following is the error it says:
Layout measurement override of element 'Telerik.Windows.Controls.TileViewPanel' should not return PositiveInfinity as its DesiredSize, even if Infinity is passed in as available size.
Please don't confuse here I'm using the Grid named tileEmpMain and tileContractLink. The content of the Grid will be set as the Children of someother Grid in my application. Thats why I just given that. I didn't face any problems while i was using the version 2010.3.1304.40. Hope the problem is in <telerik:RadTileViewItem>. Since, if I remove it I don't get errors. Please let me know how to overcome the issue.
Thanks and Regards,
Azharshah H
Software Developer