Dymanically rendering html to an aspx form

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Dymanically rendering html to an aspx form

    Hi,

    I generate a serious of hidden fields that have Database
    IDENTITY values as their value.

    This HTML is contained in a String.

    On my ASPX Page I then do a <%=strHTML%> in order to
    write them out.

    I know that this is not the correct way of doing this as
    teh <%%> are only for backward compatability.


    Any ideas? Maybe use a placeholder and parse the html out
    to a placehodler.

    Any replies/help/direction is much appreciated.

    Thanks,
    Clive.
    Clive Guest

  2. Similar Questions and Discussions

    1. ScrollPane, HTML Rendering with CSS
      Alright, so I am loading an swf into the scrollpane with a dynamic textfield as the only content. I am then setting the textfield to render html...
    2. HTML table on aspx web form
      Hi, I want to put a HTML table on aspx webform so that i can place my header, menu, footer user controls appropriately. I got 3 user controls...
    3. [Q] HTML rendering?
      Hello, Does anyone know if any of the current, cross-platform, GUI toolkits of Ruby has an HTML rendering widget? Cheers, -- Daniel Carrera...
    4. How to refrence html objec t from aspx form
      Add a runat="server" and id attribute to it. It also needs a CodeBehind reference. If you are using VS.Net, you can right-click it in the Designer,...
    5. How can I refrence html object from aspx form.
      I have created checkbox in the aspx form (html) not the design. Syntax:<input type =checkbox name ="mycheckbox"> now how can I read i's...
  3. #2

    Default Dymanically rendering html to an aspx form

    Hi

    Use Literal Control.

    Ravikanth

    >-----Original Message-----
    >Hi,
    >
    >I generate a serious of hidden fields that have Database
    >IDENTITY values as their value.
    >
    >This HTML is contained in a String.
    >
    >On my ASPX Page I then do a <%=strHTML%> in order to
    >write them out.
    >
    >I know that this is not the correct way of doing this as
    >teh <%%> are only for backward compatability.
    >
    >
    >Any ideas? Maybe use a placeholder and parse the html
    out
    >to a placehodler.
    >
    >Any replies/help/direction is much appreciated.
    >
    >Thanks,
    >Clive.
    >.
    >
    Ravikanth[MVP] Guest

  4. #3

    Default Re: Dymanically rendering html to an aspx form

    "Clive" <clive@nospam.com> wrote in message
    news:002b01c35e23$4e21cc50$a001280a@phx.gbl...
    > Hi,
    >
    > I generate a serious of hidden fields that have Database
    > IDENTITY values as their value.
    And what happens next? You render this HTML ... and then what happens? This
    will determine the "best" way to do this in ASP.NET.
    --
    John Saunders
    Internet Engineer
    [email]john.saunders@surfcontrol.com[/email]


    John Saunders Guest

  5. #4

    Default Re: Dymanically rendering html to an aspx form

    Label generates <span> element. To output just the text use literal control.

    Jerry

    "Matt" <metal@rocks.com> wrote in message
    news:s5u9jvgipip2o490um4rtmrfk26mbdmc9i@4ax.com...
    > A simple label! In the On_Load event, just do MyLabel.Text = strHTML
    >
    >
    > On Fri, 8 Aug 2003 20:07:02 -0700, "Clive" <clive@nospam.com> wrote:
    >
    > >Hi,
    > >
    > >I generate a serious of hidden fields that have Database
    > >IDENTITY values as their value.
    > >
    > >This HTML is contained in a String.
    > >
    > >On my ASPX Page I then do a <%=strHTML%> in order to
    > >write them out.
    > >
    > >I know that this is not the correct way of doing this as
    > >teh <%%> are only for backward compatability.
    > >
    > >
    > >Any ideas? Maybe use a placeholder and parse the html out
    > >to a placehodler.
    > >
    > >Any replies/help/direction is much appreciated.
    > >
    > >Thanks,
    > >Clive.
    >

    Jerry III Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139