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

[Solved] How to make a heading a hyperlink

4 Answers 109 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.
Terry
Top achievements
Rank 1
Terry asked on 10 Dec 2009, 10:35 PM
Hi:

I need to make the headings in a RadGridView hyperlinks.  How can I do that?

Thanks,

Terry

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 11 Dec 2009, 07:50 AM
Hello Terry,

 You can define desired column header using Header property of the column. Please check the third column in this demo:
http://demos.telerik.com/silverlight/#GridView/ColumnTypes


All the best,
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.
0
Terry
Top achievements
Rank 1
answered on 11 Dec 2009, 03:12 PM
Thanks, Vlad.

BTW, when I click your link to this demo, I get the following error.  I am able to run the demo with my local copy.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.04506.648; MS-RTC EA 2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MS-RTC LM 8; .NET CLR 1.1.4322; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)
Timestamp: Fri, 11 Dec 2009 15:09:14 UTC

Message: Unhandled Error in Silverlight 3 Application Could not load file or assembly 'Telerik.Windows.QuickStart, Version=2009.3.1208.1030, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The requested assembly version conflicts with what is already bound in the app domain or specified in the manifest. (Exception from HRESULT: 0x80131053)   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, Boolean loadTypeFromPartialName)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)
   at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
   at System.Type.GetType(String typeName)
   at Telerik.Windows.QuickStart.ApplicationCache.TryLoadingType(String type, Example& result)
   at Telerik.Windows.QuickStart.ApplicationHelper.<>c__DisplayClass5.<BeginLoadAssembly>b__4(Object sender, OpenReadCompletedEventArgs e)
   at System.Net.WebClient.OnOpenReadCompleted(OpenReadCompletedEventArgs e)
   at System.Net.WebClient.OpenReadOperationCompleted(Object arg)
Line: 1
Char: 1
Code: 0
URI: http://demos.telerik.com/silverlight/SplashScreen/splashscreen.js

 

0
Terry
Top achievements
Rank 1
answered on 11 Dec 2009, 03:24 PM
It turns out this is not the answer.  What I want to do is make the column header the hyperlink, not the detail rows.  Is that possible?

Just FYI, the text at the bottom of the example refers to Product and ProductLogo columns, obviously copied and pasted from some other demo since they are not relevent in this demo.
0
Missing User
answered on 14 Dec 2009, 09:33 AM
Hello Terry,

 
   I've prepared and attached a sample project that you can use as a reference.
Regarding the description of the example - it will be fixed immediately, but the change will be available for our second SP.
 About the error message that you get when open the online demos - you can try cleaning you browser cash and try to load the online demo again.

Hope this helps.


All the best,
Anastasia
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
Terry
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Terry
Top achievements
Rank 1
Missing User
Share this question
or