As you can see below, i know how to do it for one selection, but this only works for the most recent single selection, i want to do it for several selections made.
Session["SelectedListItem"] = this.LstRecipients.SelectedValue;
if (Session["SelectedListItem"] != null)
{
this.LstRecipients.SelectedValue = (string)Session["SelectedListItem"];
}
How can i store multiple selections made in a listbox in session and then reselect these selections on postback?
You can store anything in the session, so you can store it as
string[]orList<string>: