Hi Mudassar
I have tried something like this but it is not working. Please tell me what is going wrong.
if(e.CommandName == "FB")
{
string[] arguments = e.CommandArgument.ToString().Split('|');
ProductID = arguments[0].ToString();
EncrptyProdID = stringToBase64String(ProductID);
ProductName = arguments[1].ToString();
ProdImage = arguments[2].ToString();
ScriptManager.RegisterStartupScript(this, this.GetType(),"Key","<SCRIPT LANGUAGE='JavaScript'>window.open('http://www.facebook.com/share.php?u=http://www.mysite.com/Product/" + EncrptyProdID + "','_blank', 'location=yes,width=700,height=400');</SCRIPT>",true);
//ScriptManager.RegisterStartupScript(this, this.GetType(), "key", "alert('hello')", true);
}