[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Jonathan Perry

11/30/2002 2:23:00 AM

hi, i have been facing problem of dynamic linking in
MMIT. i am trying to have a "Homepage" link in every
forms.

However, when i tried to link to a form with a listbox
(which in turn connects a form with objectlist that
dynamically responds to the links in the previous listbox
mentioned) there is a "selectedindex -1" error.

I suspect the problem to come from PostBack. Okay, so i
tried

If Not (IsPostBack) then
objeclist1.datasource = function(XX)
objectlist1.databind()
Else
endif

but i wont work!! i will work only when the objectlist
binding is in "ELSE". so what seems to be wrong???

should i have released (dispose) of the objectlist when i
clicked on the link?? how do i do that?



regards,
Jonathan Perry