Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

If we add a textbox and give the required field
validator,and i add two radio buttons 1 is yes another one
is No.And i add another one server control button ,if i
click the button ,if the radio button Yes is checked the
validation control is fired ,if no the validation control
is not fired.So what you used to solve this problem.

Answer Posted / yogesh sharma

Set both radio buttons AutoPostBack property to true.

and following code in page_load:

if (RadioButtonNo.Checked == true)
{
this.Button1.CausesValidation = false;
}
else
{
this.Button1.CausesValidation = true;
}

Is This Answer Correct ?    16 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between ASP.NET Webforms and ASP.NET MVC?

1170


Elaborate differentiation between Cache and Application?

992


What are assemblies and namespaces and explain the difference between them ?

1103


How is my content secured from unauthorized access?

982


What is asp.net response object?

1074


What is fulltrust?

1049


What is sdlc process?

1004


What role “#&&” plays in a querysting?

1029


in which protocol ASP.NET WEB API Work?

1119


How can I open ashx file in mobile?

1174


How will you maintain versioning in asp.net 2.0?

1041


What are the disadvantages of using session?

1119


What is difference between Fragment Caching and Page Caching in ASP.NET?

1028


Differentiate between file-based dependency and key-based dependency.

949


What is http only cookie?

1120