listbox?

  • Thread starter Thread starter ll
  • Start date Start date
L

ll

hi, I have a listbox set to "multiple" type.
how to assign the valuse to the listbox when the page is loading?
thanks...
 
Hi
That handles the page load event. You can use the IsPostBack property of
the page class to make sure that this is the first load not a post back .
hope this would help
 
Thanks Mohamoss.

The listbox selectionmode is "Multiple"(e.g. cities). And the user already
has selected some values (Toronto, Vancouver). When load user info, how to
populate the items as selected (from city list)?

Toronto (selected)

New York

Vancouver (selected)

..
 
Back
Top