Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
130
Email Link
posted

How do i add an email link the email field?

Parents
No Data
Reply
  • 17559
    posted

     Hello seamusjunior44,

     

    I have researched your scenario and I would suggest you try set style the editor of the field where the hyperlink is placed:

            <Style TargetType="{x:Type igEditors:XamTextEditor}" x:Key="textEditorStyle">

                <Setter Property="Template" >

                    <Setter.Value>

                        <ControlTemplate TargetType="{x:Type igEditors:XamTextEditor}">

                            <TextBlock Margin="{TemplateBinding Padding}">

                                <Hyperlink NavigateUri="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Value}">

                                    <TextBlock Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Value}"/>

                                </Hyperlink>

                            </TextBlock>

                        </ControlTemplate>

                    </Setter.Value>

                </Setter>

            </Style>

     and assigned the style for the field

                        <igDP:Field Name="email">

                            <igDP:Field.Settings>

                                <igDP:FieldSettings

            EditorType="{x:Type igEditors:XamTextEditor}"

            EditorStyle="{StaticResource textEditorStyle}" />

                            </igDP:Field.Settings>

                        </igDP:Field>

     

     

    Please note, we are making efforts to ensure all posts are addressed by an Infragistics expert. We believe that the other community members could benefit from this thread as well.

    Feel free to write me if you need any further assistance.

Children
No Data