FormControl from string

Discussion in 'ASP .Net Web Controls' started by Jack, Jul 26, 2004.

  1. Jack

    Jack Guest

    Hi,

    I have a webform with Panel.
    In callback, I have a string:
    "<asp:textbox id="text1">"

    I want to "parse and compile" this string.
    After that textbox should appears on panel.

    Is this possible?

    Thanks,
    Jack
    Jack, Jul 26, 2004
    #1
    1. Advertising

  2. Jack

    Jack Guest

    > You should write the output to a new .aspx, then render that .aspx by
    > redirecting to it.


    Looks good, thanks!

    > But your approach is not a good one. When you want to add controls at
    > runtime, use the form's "controls" collection and add controls dynamically
    > by object type and not using HTML server tags.


    I know that "control" solution is better,
    but I have some GUIs as a part of XML files.
    In runtime I have to load this files and generate
    html-gui.
    I can parse this xml and create WebControl objects but
    this costs more time to implement it.

    Jack
    Jack, Jul 26, 2004
    #2
    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. Mladen Adamovic
    Replies:
    0
    Views:
    733
    Mladen Adamovic
    Dec 4, 2003
  2. Mladen Adamovic
    Replies:
    3
    Views:
    14,591
    Mladen Adamovic
    Dec 5, 2003
  3. Matt
    Replies:
    3
    Views:
    499
    Tor Iver Wilhelmsen
    Sep 17, 2004
  4. Bruce Sam
    Replies:
    15
    Views:
    7,907
    John C. Bollinger
    Nov 19, 2004
  5. =?Utf-8?B?UmFqZXNoIHNvbmk=?=

    'System.String[]' from its string representation 'String[] Array'

    =?Utf-8?B?UmFqZXNoIHNvbmk=?=, May 4, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    1,801
    =?Utf-8?B?UmFqZXNoIHNvbmk=?=
    May 4, 2006
Loading...

Share This Page