Author: jemmeli | Posted on: 5/7/2009 8:17:35 PM | Views : 231


 when I put the following code I got Object reference not set to an instance of an object error ! on the red line please tell me how can I deal with this error



Protected Sub FormViewNews_ModeChanging(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.FormViewModeEventArgs) Handles FormViewNews.ModeChanging


            Dim objTabs As New TabController
            'Dim objTab As New TabInfo
            If e.NewMode = FormViewMode.Insert Then
                Dim DropDownListTabs As DropDownList = FormViewNews.FindControl("DropDownListTabs")
                For Each objTab As TabInfo In objTa ...

Go to the complete details ...