H
HockeyFan
I'm fairly new to ASP.Net. All the projects that I've worked on lately have
allowed binding to items on the page, via such as <%#
FunctionReturnsAString() %>. However, I had to do nothing in my codebehind,
other than define the function, to allow this to bind.
Recently, I built a project at home, using Visual Studio 2005 (same as
work), and none of the binding happened until I explicitly called
Page.Databind within the page load event routine of the codebehind. I
actually prefer it this way, as I have more control of when binding happens,
but I am curious as to where it gets set up automatically like at work. I've
asked at work, and no one seems to know. I'd really like to learn about how
to control this binding.
allowed binding to items on the page, via such as <%#
FunctionReturnsAString() %>. However, I had to do nothing in my codebehind,
other than define the function, to allow this to bind.
Recently, I built a project at home, using Visual Studio 2005 (same as
work), and none of the binding happened until I explicitly called
Page.Databind within the page load event routine of the codebehind. I
actually prefer it this way, as I have more control of when binding happens,
but I am curious as to where it gets set up automatically like at work. I've
asked at work, and no one seems to know. I'd really like to learn about how
to control this binding.