ASP.NET Custom Control Questions [Newbie]

  • Thread starter Thread starter DaBrain
  • Start date Start date
D

DaBrain

Two question about ASP.NET Custom Controls

1) I am developing custom controls and was wondering how I can
implement the URL ~ deal.
~/page/page.aspx

How do I translate ~ to the web root? I must be overlooking something
very simple here?

2) How do have something like this <aaa:control
runat="server">STUFF HERE</aaa:control>

How do I programmatically get "STUFF HERE", Where does it show at?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top