B
Brian Fulford
Related to using VB as code behind language.
ASPX page control: when OnSelectedIndexChanged attribute is not added page renders fine but no event fires; when attribute is added to indicate the event sub to go to, an error is generated as follows:
? server.GetLastError
{System.Web.HttpException}
[System.Web.HttpException]: {System.Web.HttpException}
HelpLink: Nothing
InnerException: {System.Web.HttpCompileException}
Message: "External component has thrown an exception."
Source: "System.Web"
Actual ASPX html:
<asp
ropDownList id="ddlDateRange" runat="server" Width="150px" AutoPostBack="false" OnSelectedIndexChanged="ddlDateRange_SelectedIndexChanged"></asp
ropDownList>
VB code behind:
Public Class ccsm_filters2
Inherits System.Web.UI.Page
#Region " Web Form Designer Generated Code "
Protected WithEvents UltraWebTab1 As Infragistics.WebUI.UltraWebTab.UltraWebTab
Public ddlDateRange As DropDownList
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Private Sub ddlDateRange_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs)
Select Case ddlDateRange.SelectedIndex
I guess I am not sure how the event should be wired so as to fire and I need to change variables and labels based upon what the user picked from the drop down list. Any help would be much appreciated.
Brian
ASPX page control: when OnSelectedIndexChanged attribute is not added page renders fine but no event fires; when attribute is added to indicate the event sub to go to, an error is generated as follows:
? server.GetLastError
{System.Web.HttpException}
[System.Web.HttpException]: {System.Web.HttpException}
HelpLink: Nothing
InnerException: {System.Web.HttpCompileException}
Message: "External component has thrown an exception."
Source: "System.Web"
Actual ASPX html:
<asp
VB code behind:
Public Class ccsm_filters2
Inherits System.Web.UI.Page
#Region " Web Form Designer Generated Code "
Protected WithEvents UltraWebTab1 As Infragistics.WebUI.UltraWebTab.UltraWebTab
Public ddlDateRange As DropDownList
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Private Sub ddlDateRange_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs)
Select Case ddlDateRange.SelectedIndex
I guess I am not sure how the event should be wired so as to fire and I need to change variables and labels based upon what the user picked from the drop down list. Any help would be much appreciated.
Brian