Just like the title says. I want to have a kendo grid with a column called Link. That column would need to dynamically generate a link to whatever address the user puts into it. I don't need to worry about error checking to ensure the link is valid, or anything like that.
I've done research, and all I've found are ways to link to other locations within the same project. In my example, I'd need to set it up so that if a user edits a cell in the Link column to say "www.Temporarysite.com", upon saving the edit, the grid would create a hyperlink to that site.
I've tried using an actionlink, but that doesn't seem like it would fulfill the purpose properly.
Thoughts? I can provide code samples if necessary.
EDIT: I'll include some code below. Help is appreciated!
columns.Bound(o => o.Link).ClientTemplate(@Html.ActionLink("#=Link#", "#= myScript(#= Link#)#").ToHtmlString());
The issue is that this simply creates an anchor tag, which errors out with a "page not found". It's trying to go to something like " www.my site.com/www.Google.com".
here is example based on the kendo dojo