hi,
i am trying to add Converter={StaticResource LevelToVisibility} function based on the marks either i should show the marks or not.?
in xaml code
i have added
xmlns:local="clr-namespace:RadGrid"
<UserControl.Resources>
<local:LevelToVisibilityConverter x:Key="LevelToVisibility"/>
</UserControl.Resources>
<Button x:Name="btn" Width="24" Visibility="{Binding Marks, Converter={StaticResource LevelToVisibility}}"
Click="btn_Click" >
<Image x:Name="img1" Source="Images/la1.png" Stretch="None"
Visibility="{Binding Marks, Converter={StaticResource LevelToVisibility}}" />
</Button>
the above code works fine in silverlight 4. but when added the same code in
i have an LevelToVisibilityConverter class also defined where i do the checking the condition based on that image gets binded
rad gridview i am getting an error.
is there any setting that i need to do or wat?
any solution that leads me would be great
thanks
kumar
i am trying to add Converter={StaticResource LevelToVisibility} function based on the marks either i should show the marks or not.?
in xaml code
i have added
xmlns:local="clr-namespace:RadGrid"
<UserControl.Resources>
<local:LevelToVisibilityConverter x:Key="LevelToVisibility"/>
</UserControl.Resources>
<Button x:Name="btn" Width="24" Visibility="{Binding Marks, Converter={StaticResource LevelToVisibility}}"
Click="btn_Click" >
<Image x:Name="img1" Source="Images/la1.png" Stretch="None"
Visibility="{Binding Marks, Converter={StaticResource LevelToVisibility}}" />
</Button>
the above code works fine in silverlight 4. but when added the same code in
i have an LevelToVisibilityConverter class also defined where i do the checking the condition based on that image gets binded
rad gridview i am getting an error.
is there any setting that i need to do or wat?
any solution that leads me would be great
thanks
kumar