Hello,
I have a c# form that enables the user to make changes to their details. When the user clicks the save button, a label should appear saying that the details have been saved.
Here is the label code from the aspx page:
When the user clicks the Save Changes button, a function in the code file is called. The function is as follows:
protected void btnSaveChanges_Click(object sender, EventArgs e)
{
int userId=Convert.ToInt32(CSessionHandler.UserId);
lblMessage.Visible=true;
lblMessage.Text="Changes saved";
}
The problem is that the label message never appears. Whatever I do, I can never see the text. It is as if the visible attribute is always set to false.
Does anyone know what could be causing the problem?
Thank you.

Satyapriya NayakRank #47 · 31.5K reputationPosted Jun 20, 2012, 9:43 AM EDT
Note the bold red part
Thanks
Cyrille Rey24 reputationPosted Jun 21, 2012, 1:08 AM EDT
Thank you for your response.
I have now changed the label code to
What else could be causing it not to be displayed?
Thank you.