Hello,
I have a registration webpage with bunch of textboxes running on server side.
I would like to implement autopostback on all of textboxes.
I have an issue that other textbox triggering the autopostback of the 1st textbox.
here is the code:
protected void Page_Load(object sender, EventArgs e)
{
viewAppartmentFullDetailsView();
if (!IsPostBack)
{
BindDropDown();
}
else
{
Match match = Regex.Match(this.txtAppartCount.Text, @"^[0-9]*$");
if (this.txtCity.Text == "")
{
this.lblRegistrationErrorMessage.Text = "Please type City Name";
this.txtCity.Focus();
this.txtCity.BackColor = System.Drawing.Color.Tomato;
}
else
{
this.txtCity.BackColor = System.Drawin ...
Go to the complete details ...