Feb 01, 2011, 12:55 PM
Grid Column Renderer
Hi,
Below is my column Renderer function. Is it possible to insert the url in the href attribute from Code Behind? I was scratching my head for about couple of hours to find a solution. The url and parameters will be changed according to the user currently logged in to the application.
Regards,
Karthik
Below is my column Renderer function. Is it possible to insert the url in the href attribute from Code Behind? I was scratching my head for about couple of hours to find a solution. The url and parameters will be changed according to the user currently logged in to the application.
function individualDocumentTitle(value, meta, record)
{
return String.format("<div align='left'><a class='search-heading-style' href='viewer.aspx?id=" + record.data.document_name + "'>{0}</a></div><div align='left' class='individual-lists-sub-heading'>" + record.data.updated_on + "</div><div align='left' class='individual-lists-summary' align='justify'>" + record.data.summary + "</div>", value, record.id);
}
Any quick response much appreciated.Regards,
Karthik
Last edited by Daniil; Feb 01, 2011 at 1:38 PM.
Reason: Please use [CODE] tags