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

What is the use of worker process in asp.net?

538


What is the difference between a candidate key and primary key?

527


Where viewstate value is stored in asp.net?

600


Describe the disadvantage of cookies.

605


What is Partial PostBack in ASP.NET?

616






Explain why datareader is useful?

556


What is the usie of activex control in .net?

566


there is two functions function a and function b like fun a(){.... ..... } fun b() { } in function b i write the coding to add two numbers and i need to dispaly the sum result in function a with out using global variable. how we do?

2236


What are query strings used for?

540


Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?

525


How do you sign out from forms authentication?

561


Securitywise What are the Enhancements in 2.0?

1501


How to include silver light .xap page into asp.net web application and what is the purpose of using silverlight application?

2249


14. What are your Future Plans for Swatz Oils GROUP U.K?

1741


What is enableviewstate in asp net?

535