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

using Razor & remote links?

6 Answers 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 29 Aug 2013, 01:15 PM
Is there a way to use external links, equivalent to using the data-rel="external"?

I have this and I am trying to open the log out link outside my app so the # is not appended.
items.AddLink().Icon("settings").Url("Logout","Account").Text("Settings");

6 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 02 Sep 2013, 07:02 AM
Hello Brian,

You can use the Rel method for this.

Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Brian
Top achievements
Rank 1
answered on 03 Sep 2013, 06:29 PM
what do I pass the Rel method to make it external?  The documentation link is not clear.  


0
Nikolay Rusev
Telerik team
answered on 05 Sep 2013, 11:13 AM
Hello Brian,

You can use the "external" string in this case.

Regards,
Nikolay Rusev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Brian
Top achievements
Rank 1
answered on 05 Sep 2013, 11:20 AM
This does not seem to work.

items.AddLink().Icon("off").Url("LogOff", "Account").Text("Log Out").Rel("external");
0
Nikolay Rusev
Telerik team
answered on 09 Sep 2013, 07:45 AM
Hello Brian,

Here is a sample configuration of mobile ListView widget with links:

items.AddLink().Text("Test").Icon("toprated").Url("About", "Home").Rel(MobileButtonRel.External);

I am also attaching a runnable example. Regards,
Nikolay Rusev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Accepted
Brian
Top achievements
Rank 1
answered on 18 Sep 2013, 02:11 PM
Thanks.  That did the trick.
Tags
General Discussions
Asked by
Brian
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Brian
Top achievements
Rank 1
Nikolay Rusev
Telerik team
Share this question
or