Widget and Postback question

Mar 21, 2008 at 10:43 AM
I m trying to create a widget but I have a problem with the cycle.
I have 2 dropdownlists filled by a Business Logic Layer object and I set autopostback to true.
In a standard mode, I use Page.IsPostBack to know if I have to load the dropdownlist
protected void Page_Load(object sender, EventArgs e)
if (!Page.IsPostBack) SetDatas();
Using this approach inside a widget, when I remove another gadget, I get a Sys.WebForms.PageRequestManagerServerErrorException.

Do you know how to fix this problem, or tell me what would be the best pratice ?

Jul 18, 2008 at 1:14 AM
i had the same error when i add my own widget
after adding my widget i can't add new widgets from add stuff until refresh the page
when i close my widget every thing OK
but i can't add my widget again ???