Community & Support
Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > GridView > Displaying the Radgrid Header Column ToolTip

Not answered Displaying the Radgrid Header Column ToolTip

Feed from this thread
  • naveen kumar avatar

    Posted on Oct 7, 2008 (permalink)

    Hi Team,

        1). I want display Radgrid Header Column ToolTip. It is not displaying if  i give the value to ToolTip Property using xaml applications.

        2). I want to change the radgrid datacolumn border ro RedColor in error message( how Infopath forms will display when an error occurs) using xaml applications.

        Please help me.

       Thanks in Advance.

    Regards,
    Naveen Kumar.

    Reply

  • Dimitar Dobrev Dimitar Dobrev admin's avatar

    Posted on Oct 9, 2008 (permalink)

    Hello Naveen,

    1) The attached archive of "ColumnTooltip" contains a solution which displays a tab control. We were not able to determine if you would like to see tool tips for the header cells or for the data cells. So we made two examples (displayed in their own tabs in the tab control) and we hope that at least one of them fulfills your requirements. In the first tab you will see a RadGridView control that displays tool tips whenever the header cells are hovered. The second tab shows a tool tip when your mouse enters a data cell.

    2) To set a border of an element to your desired colour when validation fails, you should handle the GridViewCell.PreviewValidate event, as you will see in the second example, named "RedErrorBorder". In the handler for this event, after sample validation is performed, the cell containing the invalid data gets a red border. If, by chance, we misunderstood you and you'd like to have a red border on the whole column, to which the invalid cell belongs, please write back to us and it will be a pleasure for us to send you an additional example.

    Yours,
    Dimitar Dobrev,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

    Reply

  • Q1 Webinar Week
  • naveen kumar avatar

    Posted on Oct 10, 2008 (permalink)

    Hi Dimitar,
    Thanks for replying it.

    1). For ToolTip it's working properly, but i need customize it.
         Means i want to give my own value. Not the Header Value.

    2). On a Single Mouse Click on RadGridView particular row i want it to be
          in edit mode and whenever i press TAB it should go to the next cell    
          and that should also in edit mode.
          Now this is running properly with Double MouseClick.

    3). How the Tab MoveNavigation is achieved in the RadGrid.

    Reply

  • Dimitar Dobrev Dimitar Dobrev admin's avatar

    Posted on Oct 13, 2008 (permalink)

    Hello Naveen,

    1) we set the header text to be displayed just as an example; you can show any value you want. You just need to replace our binding in the sample style we sent you:

    <Style TargetType ="{x:Type telerik:GridViewHeaderCell}"
        <Setter Property="ToolTip" Value="{Binding Content, RelativeSource={RelativeSource Self}}"/> 
    </Style> 

    with your desired value;

    2) we do not support this feature yet in our service pack. However, in our next release we will have a decent implementation of this feature. If you'd like, we can send you a pre-release build of our Q3 release so that you can test if the feature works well enough for you;

    3) we are not sure if we fully understand this question. To be able to answer you correctly, we'd like kindly to ask you to be a little more specific as to what exactly interests you.

    Thank you for your question. Please, feel free to continue your communication with us.

    Sincerely yours,
    Dimitar Dobrev,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

    Reply

  • naveen kumar avatar

    Posted on Oct 13, 2008 (permalink)

    Hello Dimitar,

    Thanks for your reply.

    I have a very urgent requirement

    1). ToolTip is Ok.

    2). Can u send that  pre-release build of your Q3 release, so i can try with that.

    3). Whenever I Press TAB,  it should move to the next cell in the same row
          with editable feature.

    4). How can we get the default textbox, whenever we double click the 
         particular cell.(i.e., GridViewDataColumn). 
          Can we change this textbox to other control like dropdown or any other.

             Very Urgent Please.
    Thanks in Advance,
    Kumar.

    Reply

  • Dimitar Dobrev Dimitar Dobrev admin's avatar

    Posted on Oct 14, 2008 (permalink)

    Hello Naveen,

    To receive your build, please open a new support ticket. Regarding your 4th point, in our sample application you can see an example, called "Editors". There you can see different columns using different types of editors, including a drop-down editor.

    Please let us know if you need additional help.

    Best wishes,
    Dimitar Dobrev,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

    Reply

  • naveen kumar avatar

    Posted on Oct 14, 2008 (permalink)

    Hi Team,

    With Tab MoveNavigation, how to set the next cell in editable.

    It is focusing the next cell, but whenever i select 1st column with edit mode and
    if i press TAB, then it should move to the next cell with editable mode only.

    presently it is moving to the next cell, but not in editable mode.

    please help me.

    Thanking You,
    Kumar.

    Reply

  • Dimitar Dobrev Dimitar Dobrev admin's avatar

    Posted on Oct 14, 2008 (permalink)

    Hi Naveen,

    We will be glad to send you our pre-release build. To do that, you need to open a new support ticket, since we are not able to post the build in the public forum. Thank you for your understanding and your patience.

    Regards,
    Dimitar Dobrev,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

    Reply

  • naveen kumar avatar

    Posted on Oct 14, 2008 (permalink)

    Hi Dimitar,

    1). I didn't find Ticket, where can i found it.

    2). I want to set to size of the column width automatically( i.e., when the   column has lenghty data , then column should be lenghty otherwise column should be small).There is property ColumnWidthMode but it is giving extra space with column.

    3).  How to change the Column HeaderCellStyle (Bold,Italics,Regular ........)

    4). When the parent Grid has child Grid, i want to reduce the gap between the 2 Grids. Now it is giving some gap , i want to reduce it.

    5). I want to set GroupPanel for Parent and not to Child.
          when i set GroupPanel True  to Parent and for Child to False. it is not 
           coming.
    6). Setting Column Length for parent is working properly but not working 
           to child.

    7).  For dragging the column line (which  we have set the by coding.) it is working properly in parent in child   ,  it is not  working .

       send as early as possible.

    Thanks in Advance.
    Kumar.



    Reply

  • Dimitar Dobrev Dimitar Dobrev admin's avatar

    Posted on Oct 17, 2008 (permalink)

    Hello, Naveen,

    1. To open a support ticket, please take the following steps:
        - log in your client profile;
        - from the menu to the left, click "My Support Tickets";
        - on the new page, click "Submit a support ticket" at the bottom;
        - from the list on the new page, click "RadControls for WPF" from the "Product" column;
        - find the row that begins with "RadGridView for WPF" and click "New Support Ticket" in that row;

    2. Unfortunately, we do not currently support automatic width of the whole RadGridView when the columns are automatically sized. This feature is scheduled for one of our future releases;

    3. In ColumnFont.zip you can find an example of styling the headers of columns. We use the GridViewColumn.HeaderCellStyle property to set some sample font settings. Of course, you can set any other properties for the header cell in these styles;

    4. We assume that by "gap" you mean the group panel. Hiding the group panel is available in our Q3 release. You will receive this feature in a custom build when you open your support ticket;

    5. Please refer to point 4;

    6. We do not fully understand what you mean by "Column Length"; if you have in mind the width mode of the columns, you can set it by using a control template for ChildDataControlsPresenter. You can find a sample in HierarchyWidthMode.zip;

    7. This is unfortunately a bug in our product; we are working on fixing it as soon as possible.

    Regards,
    Dimitar Dobrev,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

    Reply

  • ralph avatar

    Posted on Jan 18, 2009 (permalink)

    How about suppling zips that containt vb.net sln

    Reply

  • Lawrence Bredehoeft avatar

    Posted on Oct 23, 2009 (permalink)

    At this time can we make the RadGridView enter edit mode on a single mouse click?

    Thanks

    Reply

  • Nedyalko Nikolov Nedyalko Nikolov admin's avatar

    Posted on Oct 26, 2009 (permalink)

    Hi Lawrence Bredehoeft,

    There is a property EditTriggers available both for RadGridView and GridView...Column. The usage of this property is something like this:

    <telerik:RadGridView x:Name="radGridView" EditTriggers="Default, CellClick" .../>

    Best wishes,
    Nedyalko Nikolov
    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.

    Reply

  • Twistur avatar

    Posted on Dec 12, 2011 (permalink)

    I use the following mark up but it's not working

    <Style TargetType ="{x:Type telerik:GridViewHeaderCell}"
        <Setter Property="ToolTip" Value="{Binding Content, RelativeSource={RelativeSource Self}}"/> 
    </Style> 


    The type GridViewHeaderCell is no longer there. What is the new target type? Will this also work on dynamically-added columns - the ones done in code behind?

    Thanks,

    Reply

  • Maya Maya admin's avatar

    Posted on Dec 13, 2011 (permalink)

    Hello Gio,

    Actually, the target type is still GridViewHeaderCell. However, its Content is of type object. What I would suggest is to define your ToolTip similar to:

    GridViewDataColumn column = new GridViewDataColumn() {DataMemberBinding = new Binding("Name")};
                TextBlock txtBlock = new TextBlock() { Text = column.DataMemberBinding.Path.Path, ToolTip = column.DataMemberBinding.Path.Path };
                column.Header = txtBlock;
                this.clubsGrid.Columns.Add(column);


    Greetings,
    Maya
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

  • Twistur avatar

    Posted on Dec 13, 2011 (permalink)

    Maya, could you please provide me a markup equivalent of the codes you just provided?

    Thanks,

    Reply

  • Maya Maya admin's avatar

    Posted on Dec 14, 2011 (permalink)

    Hello Gio,

    You can define the same column in xaml as follows:

    <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}">
                        <telerik:GridViewDataColumn.Header>
                            <TextBlock Text="Name" ToolTip="My NameColumn ToolTip" />
                        </telerik:GridViewDataColumn.Header>
                    </telerik:GridViewDataColumn>
     


    All the best,
    Maya
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

  • Q1 Webinar Week

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > GridView > Displaying the Radgrid Header Column ToolTip
Related resources for "Displaying the Radgrid Header Column ToolTip"

WPF Grid Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]