Hi
In below line i am getting error Unable to cast object of type System.Web.UI.WebControls.HiddenField
List<SessionRatingParameter> Result = bALSessionRatingParameter.GetSessionRatingParameter(Convert.ToInt32(hf));
protected void lnkSelect_Click(object sender, EventArgs e)
{
var repeaterItem = ((Control)sender).NamingContainer;
HiddenField hf = (HiddenField)repeaterItem.FindControl("hdfId");
BALSessionRatingParameter bALSessionRatingParameter = new BALSessionRatingParameter();
List<SessionRatingParameter> Result = bALSessionRatingParameter.GetSessionRatingParameter(Convert.ToInt32(hf));
rptRating.DataSource = Result;
rptRating.DataBind();
}
Thanks