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
How do you initiate validation on the server manually? What are two situations when you might you want to do that?
Which is better viewstate or session?
What are the different session state management options available in asp.net?
How can you access the properties and controls of master pages from content pages?
What are the server controls in asp.net?
What is ispostback method in asp.net? Why do we use that?
What is enableviewstatemac in asp net?
How can we apply themes to an asp.net application?
What is a nested masterpage in asp.net 2.0? Can there be a master page inside a masterpage?
Can we make activex dll also ti execute in some process as that of client ? How can we do?
What is bound controls
What is a web server? What are the load limits in it?
What are the types of session in asp.net?
What are the main advantages of using asp.net?
What does the hotspot class in .net do?