We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

The type ToolBarAdv does not support direct content ?

Thread ID:

Created:

Updated:

Platform:

Replies:

118803 Apr 10,2015 05:05 AM Apr 10,2015 08:33 AM WPF 2
loading
Tags: ToolBarAdv
Chris
Asked On April 10, 2015 05:05 AM

Hi all,

I'm trying to add a toolbar to my application, so I proceed like this

<syncfusion:ToolBarAdv HorizontalAlignment="Stretch" Name="tl_text" VerticalAlignment="Stretch"
                                       GripperVisibility="Collapsed">
                    <Button Name="btn_bold" Style="{DynamicResource VEGA_ToolBarButtonStyle}" Command="syncfusion:RichTextBoxAdv.ToggleBold" CommandTarget="{Binding ElementName=tb_body}"
                            IsChecked="{Binding Path=rte.CurrentInlineStyle.FontWeight, Converter={StaticResource FontWeightToChecked}, Mode=TwoWay, ElementName=tb_body}" >
                        <Image Name="img_bold"/>
                    </Button>
</syncfusion:ToolBarAdv>

But on XAML, i got an error on my button, with the error "The type ToolBarAdv does not support direct content".

What I'm doing wrong ?

Thanks

Chris
Replied On April 10, 2015 05:17 AM

Ok, found it, it's because I was using 4.5.1 dll instead of 4.5.

Saranya CJ [Syncfusion]
Replied On April 10, 2015 08:33 AM

Hi Chris,

Thank you for your update. Please let us know if you require any other assistance on this.

Regards,
Saranya

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;