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 / rajesh
by using javascript function can be written to
disable/enable the text box and it can be called under
DrowpDownList_SelectIndexChanged event.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Describe how passport authentication works.
How many types of sessions in asp.net?
What describes a query?
Explain cookies with example.
What is asp.net web application?
How could you modify xaml content from javascript?
How to make sure that contents of an updatepanel update only when a partial postback takes place (and not on a full postback)?
Hello, Using Visual Studio 2005 (VB) I am working to create a Web Site implementing the following: Within a gridView I have placed a dropdownlist control with a DataSourceID="SDSLkupList". SDSLkupList is a sqlDataSource used to store a lookup list for dropdownlist translation from ID to text. SDSLkupList contains the translation text and other fields related to the dropdown selection ID. (Thought it would be efficient to get everything at the same time.) I would like to provide the user the ability to select from the dropdownlist and, based on the selection, use labels to list related columns stored on the SDSLkupList in separate gridView columns. I have read that SqlDataSources are not meant to be used for individual controls. Since SDSLkupList contains all related information, is there a way to do a find using the dropdownlist selectedValue? (I was not able to discover one.) Otherwise, what should I use? It would need to set the labels on the gridView DataRowBound event as well as the SelectedIndexChanged events. Has anyone done this? Any help would be appreciated. Thanks in Advance. Neal
Tell me the code snippet to show how we can return 404 errors from HttpError?
What are the different types of Caching techniques in ASP.NET?
What is cookies cache and session?
What is clr? Difference between clr & cts?
What is session authentication?
What is the difference between ASP.NET Webforms and ASP.NET MVC?
Which is faster viewbag or viewdata?