This is a migrated thread and some comments may be shown as answers.

[Solved] Hyperlink column inside gridview, issue with opening the document

1 Answer 119 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rana Pratap
Top achievements
Rank 1
Rana Pratap asked on 18 Oct 2009, 12:41 PM
Hi telerik team,

I have a Hyperlink button inside gridview column as shown below

      <telerikGrid:GridViewColumn Width="100" HeaderText="Document Name" >
                                                <telerikGrid:GridViewColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <HyperlinkButton  Content="{Binding Documentname}" NavigateUri="{Binding Documenturl}"  x:Name="HlnkDocument" Click="HlnkDocument_Click" TargetName="_blank" Foreground="#FF009900" FontWeight="Bold"  ></HyperlinkButton>

                                                    </DataTemplate>

                                                </telerikGrid:GridViewColumn.CellTemplate>
                                            </telerikGrid:GridViewColumn>
Issue is I am not able to open the url or nothing happening on click of the hyperlink button. Can you please guide me how to open a document or some site on click of this hyperlink button which is present inside a gridview.

Thanks,
Regards,
Rana Pratap

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 19 Oct 2009, 06:21 AM
Hello,

I'm not sure what's the reason for this problem at your end - we have similar example however everything works fine.

Sincerely yours,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Rana Pratap
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or