Wrox Programmer Forums
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 7th, 2006, 09:28 PM
Registered User
Join Date: Apr 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Variable in ASP HTML?

I have a WebUserControl that is placed on the page in the HTML view of the ASP page:

<uc1:ModuleControls id=ModuleControls1 runat="server" CallingModule="<%#catNum%>">
It works...sorta...but catNum is placed in this spot *before* the constructor is called for the UserControl, which is where the variable is set....so 0 is placed here every time...What am I doing wrong? Thanks!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Storing HTML in a Variable Stevenm122084 XSLT 1 February 22nd, 2008 03:51 PM
storing Javascript variable to ASP variable rupen Classic ASP Basics 5 April 10th, 2007 07:06 AM
only do HTML/ASP when JS variable = true crmpicco Javascript How-To 1 July 19th, 2005 05:06 AM
dynamic XSLT from HTML variable rich0437 XSLT 0 May 19th, 2004 05:18 PM
php doesn't pick up an html variable m3rajk Beginning PHP 11 July 25th, 2003 07:01 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.