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

Hyperlink in status area

1 Answer 38 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Matthew asked on 23 Jan 2009, 10:05 PM
Greetings,

I have a grid with a set amount of records. I'd like to be able to add a "see all" hyperlink in the status bar. Is that possible?

Thanks,

-Matt

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 26 Jan 2009, 10:55 AM
Hello Matthew,

You can add controls from code-behind as shown below:
protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e) 
    if (e.Item is GridStatusBarItem) 
    { 
        HyperLink hlink = new HyperLink(); 
        hlink.Text = "Click here"
        hlink.NavigateUrl = "http://www.telerik.com"
        hlink.ID = "hlink1"
        e.Item.Cells[0].Controls.Add(hlink); 
    } 

Let us know if you need more information.

Best regards ,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Matthew
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or