c# - How to tell a GridViewRow to perform as a SEO-friendly link? -
i have gridview has multiple columns. let's have business modell looks this:
public class myobject { public string title {get;set;} public datetime date {get;set;} public string navigateurl {get;set;} }
my grid has 2 visible columns (title , date).
want do, make each row clickable , act link, going specified navigateurl. no problem far.
i use onrowdatabound-event assign javascript tells grid performed select , in onrowevent, perform response.redirect. not want do, because not seo friendly.
how can make whole "grid row link" idea seo friendly?
edit: adding extra, visible column no option
provide link column in grid, , make tr's onclick event fire off link.
Comments
Post a Comment