In a page there is dropdown list with the name of the
cities like Bangalore,Pune,Chennai,Other and a text box
that would enable the user to enter the name of the city if
other is selected. How to enable validation on the text box
if other is selected

Answer Posted / devkranth kishore

U can do it By Adding a Required validator To the textbox
with enabled is false...

no in the Drop downList selected IndexChanged make it
enable True... this will solve the Isssue

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why session is necessary in web application?

509


Explain managed code an un-managed code.

592


Can you explain the basic use of dataview?

622


What is application variable in asp.net?

461


What are main return types supported in Web API?

742






What is owin authentication?

514


What is a reflection?

579


Explain the Session state management options available with ASP.NET?

562


What is the importance of aspnet_isapi.dll, inetinfo.exe andaspnet_wp.exe in the page loading process.

582


What is the main differences between asp and asp.net?

519


How does the service stream content?

582


What are the media types of http requests and response?

506


What kind of data we can store in viewstate?

572


What is custom events?

563


What are navigation controls? How many navigation controls are there in ASP.NET 4.0?

533