codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  HIding a drop down list item at the click of a check box  devsav at 10:34 on Friday, January 10, 2014
 

Hi,

Can anybody help ?

I have drop down list which is pulled from a table. I need to hide an item in the drop down list on the click of a checkbox on the form. THis is an app in VB.net and using VS 2010.

I have used the following code to hide it, and was working, NOw when I try to run it, it doesn't seem to work any more. Anybody know why ?

Drp_Validity.Items(1).Attributes.Add("hidden", 1)

I want to hide the item with the index 1.

Any help will be much appreciated, and I have been playing with problem for a while now.

For more info

THe project is .csproj and we use .ASPX forms and the code files as .ASPX.VB. I am only new to this project so please ask if you need any more info.

Any help is much appreciated. the above code has been working fine , but suddenly it stopped doing it, i dont uderstand why ?



Kindest regards,

Dev Sav









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  HIding a drop down list item at the click of a check box
•  CSC S-Frame V10 February 2012
•  !!!Latest crack software ftp download
•  Latest crack software ftp download
•  Re: Schlumberger.PTC.Siemens.EDS.CATIA.CIMATRON.AUTODESK
•  LINUX.MAC.UNIX.windows.x86.x64.2014.win7.win8.1.2014.
•  LINUX.MAC.UNIX.windows.x86.x64.2014.win7.win8.1.2014.
•  LINUX.MAC.UNIX.windows.x86.x64.2014.win7.win8.1.2014.
•  LINUX.MAC.UNIX.windows.x86.x64.2014.win7.win8.1.2014.


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2014