Hi,
Since you r saying that previous solution didn't work I giving a fresh solution now.
Do the following:
1) Delete the required field navigator.
2) Make changes to the previous code given by me so that it is as given below:
protected void Page_Load(object sender, EventArgs e)
{
If(!IsPostback)
Label1.Text = "";// Label1 is the label where you display message like" record is saved"
}
protected void btn_Submit_Click(object sender, EventArgs e)
{
If(TextBox1.Text.ToString() != String.Empty) // where TextBox1 is where you r entering values
{
// write code to validate the string if required
// write code for insertion to database
//check if DB insert success
// If(DB Insert is success)
Label1.Text = "Record is saved";
}
else
{
Label1.Text = "Please enter values";
}
}
3) Save the changes and run the program.
Let me know if problem is solved.