Author: siegblazer | Posted on: 1/9/2009 4:00:23 PM | Views : 339

  Hi I am having prolem with the dynamic dropdownlist Selectedindexchanged event. After I select a value in the dropdownlist, it is able to post back. However it did not trigger the

ddlStatus_SelectedIndexChanged1 event. And it also show a error "Object doesn't support this property or method". How do i fix this issue? Or it is the wayi add the handler wrong? Here's is part of my coding which i created in my website:
1 Protected WithEvents ddlStatus As System.Web.UI.WebControls.DropDownList
  'Page Load
2
3 if not isPostBack Then
4 Dim ddlStatus As DropDownList = New DropDownList()
5 ddlStatus.Items.Insert(0, (Go to the complete details ...