+ Start a Discussion

How to make a selectoption active by default or at initialization

Hi,i build a multiple selectlist i want to show some items to be selected when the page renders initially  how to accomplish that any guidance ??

Sonali BhardwajSonali Bhardwaj
you must be binding your selectlist "value" with a list of string, just populate that list with watever you want to come as selected.