giri s

giri s

  • NA
  • 1
  • 2.9k

client side validation for wizard control in asp.net?

Jul 26 2012 8:01 AM
i have wizard control in my web page with two tabs..in first tab having form with textboxes and dropdownlists.
if i textbox is empty following code is running


protected void MyWizard_NextButtonClick(object sender, WizardNavigationEventArgs e)
{
if (txtFirst.Text == "")
{
Response.Write(@"<script language='javascript'>alert('hello');</script>");

}


}



above code
is show the alert and redirect to next tab.it wont stay in that page.how to acheive this validation in that button click?????

for achieve what property should change in wizard control????please guide me friends





pls guide me friends

Answers (1)