Dec 01, 2014, 8:28 PM
Possible to open partial view from an href?
Hi, I know how we can fire partial views from buttons, and other such ext controls (using url.action), but I need to know if I can fire one from an href tag. I'm trying to implement a link in the header of a panel for a user to view specific information. I have the partial view defined and in the Shared folder, and I have the ActionResult Controller method defined. I know that they are setup correctly since I can get it to fire on tying the event to a button outside of the header. I'm not really including much code since the question is generic and really irrelevant to what I'm trying to display.
If it is not possible, is there a way to embed a linkbutton in the header along with the text?
Below you can see what I'm trying to do. Any thoughts on how to achieve this?
If it is not possible, is there a way to embed a linkbutton in the header along with the text?
Below you can see what I'm trying to do. Any thoughts on how to achieve this?
Html.X().GridPanel()
.ID("gridUserBusinessUnits")
.HideHeaders(false)
.EmptyText("There are no business units to take action on.")
.Width(470)
.Height(175)
.Border(true)
.Frame(false)
.Title(String.Format("Business Units - (<a href = '{0}NRE/Coordinator/ApproveUsers_ViewApprovedBusinessUnits'>View Approved Business Units</a>)", (String)ViewBag.BaseURL))
Thanks for any help you guys can provide!