DwZone Forum DwZone Forum
Welcome to the DwZone-it Forum
 
  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  
    RegisterRegister -->   LoginLogin  
Multi Column Combo  
DwZone Forum Index -> Multi Column Combo

Moderators: AdministratorsModerators 
Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Set Options' to save your changes.
New Topic Search for
 View     Per page     Messages Since 
Messages 1 to 10 of 32 (Total: 16) First |  Prev |  Next |  Last  
 Subject Author Date  
   all options selected by default  
View this persons public profile  Adrian Smith   8:14 1 Sep 2010  
   Re: all options selected by default  
View this persons public profile  Gianluigi   10:37 1 Sep 2010  
    Re: all options selected by default  
View this persons public profile  Adrian Smith   1:06 2 Sep 2010  
 
For anyone else wanting to do the same I did come up with a work-around.

My multi-select list was populated with a list of records from a database table so I created another recordset on the same page (for the same table) and create a loop to write out the ID number of each record in the table separated by a comma (i.e. 1,2,3,4,5,etc). I then called this string by a variable name and in the multi-select list I entered that variable in the "selected" option. That way when I load the page all the options are selected by default - I know this means having two recordsets on the same page (for the same table) but it's not a very long table and doesn't seem to affect the speed of the page loading.
 
Reply to this current thread  View this persons public profile  Send Private Message
   Multi Column Combo Box  
View this persons public profile  Steve   7:55 3 May 2010  
   Re: Multi Column Combo Box  
View this persons public profile  Gianluigi   10:46 3 May 2010  
   Re: Multi Column Combo Box  
View this persons public profile  Steve   11:01 3 May 2010  
   errore combo.options.lenght  
View this persons public profile  [email protected]   7:03 27 Apr 2009  
   Re:errore combo.options.lenght  
View this persons public profile  gianluigi   10:14 27 Apr 2009  
   Re:errore combo.options.lenght  
View this persons public profile  [email protected]   10:31 27 Apr 2009  
   multi column display in IE8  
View this persons public profile  [email protected]   9:53 24 Mar 2009  
Last Visit: Tuesday 3 Dec, 2024 7:31 pm First |  Prev |  Next |  Last  
 Login
Username:  Password:    
Read Message Read Message   Unread message Unread message
Read message [popular] Read message [popular]   Unread message [popular] Unread message [popular]
Read message [locked] Read message [locked]   Unread message [locked] Unread message [locked]
All times are GMT-1

Jump to: