Hello
I am getting an error message when i am trying to find panel into FormView, the error message is: " Object reference not set to an instance of an object. " and its appear next to line:
updatesocialpanel.Visible = true;
Please note that panel into : ItemTemplate, and its not possible at all to use EditItemTemplate instead of ItemTemplate
protected void editbtn_Command(object sender, CommandEventArgs e)
{
if (Session["UsrNme"] != null)
{
using (SqlConnection shwasocialupdtesql = new SqlConnection(sc))
{
shwasocialupdtesql.Open();
var updatesocialpanel = EditUsrInfoFVw.FindControl("updatesocialpanel") as Panel;
//Dataset to hold the values
DataSet shwasocialupdteds ...
Go to the complete details ...