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
What are the advantages of using sql stored procedures instead of adhoc sql queries in an asp.net web application?
Why do we use asp.net?
Explain about Automatic resource management?
What are the different session state management options available in asp.net?
What is the purpose of master page?
How can you register a custom server control to a web page?
Can we override the enablepartialrendering property of the scriptmanager class?
Which authentication uses a combination of windows and iis authentication?
Explain the difference between dataset and datareader.
What is request and response in asp.net?
What is the appSettings Section in the web.config file?
What is difference between cache and session?
How many types cache in asp net?
If Instancing = Single use for ActiveX Exe, how will this be executed if there are 2 consecutive client requests ?
if i want to give an alert message like "try after sometime" to a web page which is being seen by other person.if a web page is not seen by anyone then it should display otherwise it show a display a message stating that other person is viewing so try after some time........how can i implement this.