client side validation for wizard control in asp.net?
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