className Attribute (UserControls)

Discussion in 'ASP .Net' started by Charles A. Lackman, Jul 8, 2003.

  1. Hello, I am reading a book on ASP.NET Applications and don't understand what
    the writer is trying to say. It is stated that (when converting a Web Page
    to a User Control) that:

    "Adding a className attribute to the @Control directive allows you to
    specify the class name for the user control and it allows strong typing of
    the control when it's added to the page or other server controls
    programmatically."

    Does this mean that using a className attribute will allow me to use the
    code-behind page to add the control to my ASP.NET page? I have tried this
    and if this is what it means them I am going something wrong. If I am
    missunderstanding what the author is saying can you please give me a code
    example (either way) of what is being said.

    Thanks

    Chuck
     
    Charles A. Lackman, Jul 8, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. noname

    global.asax classname

    noname, Jul 16, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    378
    Graham
    Jul 16, 2003
  2. Oliver S.

    classname::classname a type ?

    Oliver S., Sep 11, 2003, in forum: C++
    Replies:
    1
    Views:
    508
    White Wolf
    Sep 11, 2003
  3. Hongzheng Wang
    Replies:
    32
    Views:
    874
  4. Gabriel Rossetti

    ClassName.attribute vs self.__class__.attribute

    Gabriel Rossetti, Jun 5, 2008, in forum: Python
    Replies:
    14
    Views:
    712
    Terry Reedy
    Jun 13, 2008
  5. Ante Perkovic

    CSS: "tagname.classname" or ".classname"

    Ante Perkovic, Dec 22, 2003, in forum: Javascript
    Replies:
    2
    Views:
    108
Loading...

Share This Page