Invoke browser Back function?

  • Thread starter Thread starter Olav Tollefsen
  • Start date Start date
O

Olav Tollefsen

I have a form which the user fills out. In some cases I redirect the user to
another page in case of errors. How can I redirect the user back to the form
without loosing all the fields that the user already filled in?

Olav
 
Brian,

There isn't a method that you can call, but using the code below, it'll allow you to de-select all the items:

foreach(ListItem item in ListBox1.Items)
{
item.Selected = false;
}

HTH,
Matt Hawley, MCAD .NET
http://www.eworldui.net

nntp://msnews.microsoft.com/microsoft.public.dotnet.framework.aspnet/<[email protected]>

This appears to remove the items from the list. I want to retain the items,
just clear all items from being selected.

Thanks,
Brian

Raterus said:
myListbox.Items.clear()



[microsoft.public.dotnet.framework.aspnet]
 
Back
Top