Thursday, May 5, 2011

How to set hyperlink from the code behind using java script:

java script:


Hyperlink in grid row template:



Code Behind:


public string GetScript(object cid)
{
return "javascript:launchDetailsPage(" + cid.ToString() + ")";
}

No comments:

Post a Comment