By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,424 Members | 1,351 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,424 IT Pros & Developers. It's quick & easy.

listbox?

P: n/a
ll
hi, I have a listbox set to "multiple" type.
how to assign the valuse to the listbox when the page is loading?
thanks...
Nov 15 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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

Nov 15 '05 #2

P: n/a
js
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)

..


"Mohamoss" <mo************@egdsc.microsoft.com> wrote in message
news:yT**************@cpmsftngxa07.phx.gbl...
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

Nov 15 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.