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.Attribut es.Add("onLoad" ,
"document.f orms[0].SearchName.foc us()")
With my imports:
Option Strict On
Imports System.Data
Imports System.Data.Sql Client
Imports MyFunctions.Bit Handling
Imports System.Drawing
Imports MyFunctions
Imports RolesBasedAuthe ntication
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.Attribut es.Add("onLoad" ,
"document.f orms[0].SearchName.foc us()")
With my imports:
Option Strict On
Imports System.Data
Imports System.Data.Sql Client
Imports MyFunctions.Bit Handling
Imports System.Drawing
Imports MyFunctions
Imports RolesBasedAuthe ntication
Am I missing something?
Thanks,
Tom
Comment