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");
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
0
Hello Brian,
Petyo
Telerik
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
Hello Brian,
Nikolay Rusev
Telerik
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");
items.AddLink().Icon("off").Url("LogOff", "Account").Text("Log Out").Rel("external");
0
Hello Brian,
I am also attaching a runnable example. Regards,
Nikolay Rusev
Telerik
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.