WebTreeView content lost after WebButton postback

17 replies. Last post: January 22, 2010 1:17 AM by Handy Surya
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Way Hang WeeMember

I have a form with 2 WebCombo and 1 WebTab and 1 WebTreeView and 1 WebButton.

My WebCombo1 record is retrieved from sql.

When user selected any record in WebCombo1, I'll retrieve data from sql based on record selected in WebCombo1, and populate the records into WebCombo2.

When user selected any record in WebCombo2, i'll retrieve data from sql based on record selected in WebCombo2, and populate the records into WebTreeView (the WebTreeView reside in the WebTab).

So far, everything works fine. When user check node in WebTreeView, and click the WebButton (also reside in WebTab), in the WebButton_Clicked event (i use AutoPostBack=True and PostBackMode=FullPostBack), i try to get checked nodes by using WebTreeView.CheckedNodes. But no nodes is returned.

Another issue here is after user click the WebButton, and the page is PostBack, then the content in the WebTreeView is gone.

Any suggestion?

All times are GMT -5. The time now is 7:55 AM.
Previous Next