Hi,
On my profiles.aspx page I have a simple listbox which users can add URL links to
and see them next time they visit the page. this is done by typing in a link to a
textbox and then clicking the add button which saves the urls
as a collection and stores it in the profile declared in we config."FavoriteURLs .
What I cant work out is how to delete an item in the list. If I dont logg on it works
but if I logg it does not. below is the method for adding a URL
protected void AddURL_Click(object sender, EventArgs e)
{
String urlString = Server.HtmlEncode(textFavoriteURL.Text);if (Profile.FavoriteURLs == null)
{
Profile.FavoriteURLs =
newSystem.Collections.Specialized.StringCollection();
}
Profile.FavoriteURLs.Add(urlString);
///this method call just binds the data to the list box called DisplayFavorite.
DisplayFavoriteURLs();
}
Any advice welcome
amereto