Member Avatar

I am using Visual Studio 2008 SP1, ASP.NET, and VB.NET. I am using a wizard, and in order to affect the controls inside it, I have to declare them in each method like so: [CODE] Dim txtbox1 As TextBox = wizard.ContentTemplateContainer.FindControl("textbox1") [/CODE] Which works fine, but sometimes I need to access that same control across different methods, thereby requiring me to declare it for each one individually. Making my question: Is there a way to declare each control like that once, for the entire codebehind page/class? Thanks, JTok

Member Avatar
+0 forum 2
Member Avatar

Last year I [URL="http://www.daniweb.com/blogs/entry1466.html"]exposed[/URL] a security breach involving the online collection of applications for visa documents allowing Indian citizens to visit the UK, an expose that ended up with the [URL="http://www.daniweb.com/blogs/entry1817.html"]UK government itself being found guilty[/URL] of breaking the Data Protection Act and which kick-started something of a sea change in the way that such online applications are handled. You might think, therefore, that the company at the heart of that scandal would have cleaned up its act when it came to security. Unfortunately, communications with a former VP responsible for business development at VFS suggests otherwise. Suprit Roy used …

+0 forum 0

The End.