Enable/disable
-
Hi, In most of my forms, I have to show the data based upon the selection. Like Based upon the Drop down list selected value, I have to show the corresponding fields, Based upon radio button selection show remaining fileds... I am thinking of Javascript to show/hide remaining fields based upon selections. What are the best options for these type of conditions? Is the Javascript is good? I have so many conditions like this. Thanks in advance
-
Hi, In most of my forms, I have to show the data based upon the selection. Like Based upon the Drop down list selected value, I have to show the corresponding fields, Based upon radio button selection show remaining fileds... I am thinking of Javascript to show/hide remaining fields based upon selections. What are the best options for these type of conditions? Is the Javascript is good? I have so many conditions like this. Thanks in advance
Yeah, JS is good, but less reliable as it can be turned off at the users end. If same type of functionality is used in many places, I'd create a custom control which does the show/hide and will add options to configure the selection.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions