<DataTemplate x:Key="MyEditTemplate"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="auto"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="40"/> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <telerik:DataFormDataField Label="{Binding Source={StaticResource Lang}, XPath=SettingsHost/@Header}" DataMemberBinding="{Binding Host, Mode=TwoWay}" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" /> <telerik:DataFormDataField Label="{Binding Source={StaticResource Lang}, XPath=SettingsMandant/@Header}" DataMemberBinding="{Binding Mandant, Mode=TwoWay}" Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" /> <telerik:DataFormDataField Label="{Binding Source={StaticResource Lang}, XPath=SettingsPort/@Header}" DataMemberBinding="{Binding Port, Mode=TwoWay}" Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" /> <telerik:DataFormDataField Label="{Binding Source={StaticResource Lang}, XPath=SettingsPasswort/@Header}" DataMemberBinding="{Binding Passwort, Mode=TwoWay}" Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="2" /> <TextBox x:Name=MyTextBox Foreground="red" /> </Grid></DataTemplate>CodeBehind:
if (e.EditAction == Telerik.Windows.Controls.Data.DataForm.EditAction.Commit){ Model.MandantObj NewMandant = VerbindungForm1.CurrentItem as Model.MandantObj; // Find Textbox? VerbindungForm1.MyTextbox ??? does not work...}Thanks
Best Regards
Rene
Error Creating VB RadControls WPF Application (Telerik.VSX.Xaml.2013.1.215.0.dll not found)
I just installed WPF controls package for Visual Studio. I am having an issue creating a VB RadControls WPF Application. I am selecting the VB RadControls WPF Application options and in the configuration wizard I am selecting Use Implicit Styles and for components I am only selecting Telerik.Windows.Controls. After selecting a theme it pops up this error during the install.
An error occurred while running the wizard.
Error executing custom action Telerik.VSX.TextTemplating.Actions.UnfoldFilesAction: Compiling transformation: Metadata file 'Telerik.VSX.Xaml.2013.1.215.0.dll' could not be found
I have tried updating the WPF VSExtensions from the extensions manager as well as just uninstalling and reinstalling them.
I can create a RadControls Windows Forms Application just fine. It’s just the WPF applications that are the issue.
Any thoughts on how to fix this issue would be appreciated.
I am running:
Win 7 Pro 64bit
vs2012
I also have these other Telerik Applications installed:
Windows Forms
Reporting
JustCode
JustTrace
JustDecompile
Thanks