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

[Solved] Grid Height,Underline

6 Answers 123 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.
Pan hal
Top achievements
Rank 1
Pan hal asked on 18 Aug 2009, 08:56 PM

HI,
  How to underline the sortable columns header(only the header not the data in the grid). 
   By using tooltip can the lenghty data info  in the column  be displayed?  How
  And how to underline the hyperlink data in the grid.
  

6 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 20 Aug 2009, 12:39 PM

Hello Pan hal,


Please have a look at the attached example. It demonstrates the following :
-underline header text

-setting tooltip ( see the cells in the first column)

-hyperlink in the last column

Best wishes,

Pavel Pavlov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Pavel Pavlov
Telerik team
answered on 20 Aug 2009, 12:39 PM

Hello Pan hal,


Please have a look at the attached example. It demonstrates the following :
-underline header text

-setting tooltip ( see the cells in the first column)

-hyperlink in the last column

Best wishes,

Pavel Pavlov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Pan hal
Top achievements
Rank 1
answered on 20 Aug 2009, 06:35 PM

Hi,
 Thanks.  Regarding hyperlink it shows underline only when a mouse is taken on it . By default all hyperlinks should have underline .
Is there anyway for it?

And also how to set  text alignment to  the right in the radcombos used in the grid ?
0
Accepted
Pavel Pavlov
Telerik team
answered on 21 Aug 2009, 08:14 AM
Hi Pan hal,

Please replace the HyperLink button XAML in the example provided with the following :
                            <HyperlinkButton > 
                                <HyperlinkButton.Content> 
                                    <TextBlock Text="{Binding HyperLink }" TextDecorations="Underline"  /> 
                                </HyperlinkButton.Content> 
                            </HyperlinkButton> 

Greetings,
Pavel Pavlov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Pan hal
Top achievements
Rank 1
answered on 21 Aug 2009, 02:02 PM
Thanks it works. And also is there a way to show the hyperlink data in the grid in tooltip? 
Do you have any solution for Radcombo alignment problem in the grid ?
0
Pavel Pavlov
Telerik team
answered on 25 Aug 2009, 01:09 PM
Hello Pan hal,

Here is the modified xaml to show the hyperlink in a tooltip :
<HyperlinkButton ToolTipService.ToolTip="{Binding HyperLink}" > 
                                <HyperlinkButton.Content> 
                                    <TextBlock Text="{Binding HyperLink }" TextDecorations="Underline"  /> 
                                </HyperlinkButton.Content> 
                            </HyperlinkButton> 


About the problem with theCombo text alignment - Can you please give me more details on how do you place combo in the grid. Do you modify the cell template , or you use the built in GridViewComboBox column ?

Sincerely yours,
Pavel Pavlov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
Pan hal
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Pan hal
Top achievements
Rank 1
Share this question
or