Specifying string array as an attribute in HTML tag

Discussion in 'ASP .Net Building Controls' started by Jeff 'Jones' Putz, Jul 28, 2003.

  1. This might be obvious, but I can't quite figure out the syntax to do
    it. How does one specify a string array in the actual HTML for a
    control? For example...

    <custom:control runat="server" MyStringArrayAttribute="???????" />

    In codebehind, it's obviously something like...
    MyControl.MyStringArrayAttribute = new string[] {"one","two","three"};

    Call me names if you'd like, just as long as you answer the question.
    ;)
     
    Jeff 'Jones' Putz, Jul 28, 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. shruds
    Replies:
    1
    Views:
    856
    John C. Bollinger
    Jan 27, 2006
  2. Replies:
    0
    Views:
    386
  3. Replies:
    1
    Views:
    394
    Andrew Thompson
    Nov 29, 2006
  4. Rithish
    Replies:
    2
    Views:
    73
    Rithish
    May 11, 2004
  5. Replies:
    2
    Views:
    243
    Vinay Sajip
    Sep 16, 2012
Loading...

Share This Page