Hi Karthik,
Thanks a lot it works for me..
One more issue iam facing is
On link button click i need to execute some javascript method after executing the whole server side functionality.
For this i used below line of code as a last statement in my server side method.
ClientScript.RegisterStartupScript(GetType(), "Expand", "<script language='javascript'>expandcollapse('div" + lb.CommandArgument.ToString() + "','" + img.ClientID + "','" + flag + "'," + lb.CommandArgument.ToString() + ");</script>",false);
But somehow this javascript function is not get called may be because of update panel.
Please suggest me..
Thanks..