T
tshad
I am using VS 2008 and have an "id" on my "body" tag but I can't seem to
access it from my code behind. Do I need an Imports of some kind to access
or something else?
In my .aspx page I have:
<body id="myBody">
and in my .aspx.vb I have:
myBody.Attributes.Add("onLoad",
"document.forms[0].SearchName.focus()")
With my imports:
Option Strict On
Imports System.Data
Imports System.Data.SqlClient
Imports MyFunctions.BitHandling
Imports System.Drawing
Imports MyFunctions
Imports RolesBasedAuthentication
Am I missing something?
Thanks,
Tom
access it from my code behind. Do I need an Imports of some kind to access
or something else?
In my .aspx page I have:
<body id="myBody">
and in my .aspx.vb I have:
myBody.Attributes.Add("onLoad",
"document.forms[0].SearchName.focus()")
With my imports:
Option Strict On
Imports System.Data
Imports System.Data.SqlClient
Imports MyFunctions.BitHandling
Imports System.Drawing
Imports MyFunctions
Imports RolesBasedAuthentication
Am I missing something?
Thanks,
Tom