you must try the
dim invID as integer = httpcontext.current("inventoryID")
FaridMasood
Junior Poster in Training
59 posts since Mar 2007
Reputation Points: 8
Solved Threads: 0
If you have a public property in your control name inventoryID, then in the page's code-behind, in the Page_Load event, add the line
ProductDisplay1.inventoryID = Request.QueryString("invID")
If the property is strongly typed, it will only accept an integer. You can remove the following attribute from the instance of your control in the .aspx file.
inventoryID='invID'
a496761
Junior Poster in Training
62 posts since Feb 2008
Reputation Points: 10
Solved Threads: 4