Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: html control


Message #1 by renevazquez@c... on Thu, 18 Jul 2002 10:03:24 -0400
Give it a RunAt="server", an ID, and then define it as protected in your
code behind as one of the System.Web.UI.HtmlControls:

<div RunAt="server" Id="myDiv" />
<img RunAt="server" Id="myImg" />

---

protected System.Web.UI.HtmlControls.HtmlGenericControl myDiv;
protected System.Web.UI.HtmlControls.HtmlImage myImage;

---

HTH,
- Chuck

-----Original Message-----
From: renevazquez@c... [mailto:renevazquez@c...]
Sent: Thursday, July 18, 2002 10:03 AM
To: ASPX_Professional
Subject: [aspx_professional] html control


     Hi! anyone knows how I can reference a html control in the code behind 
     file, if it's possible at all.



  Return to Index