update panel and response.write

Last post 03-24-2008 10:29 PM by RJA. 1 replies.

Sort Posts:

  • update panel and response.write

    03-24-2008, 8:23 PM
    • Participant
      1,214 point Participant
    • andieje
    • Member since 10-25-2005, 11:23 PM
    • Posts 381

    Hi

    I have a page which contains this in its html

    <%

    createImageMap()

    %>

    This function has a call to Response.write that basically generates the html for an image map and inserts it into the page. I want to use an update panel in my page but I can't because this function has a call to Response.write. Do you know a workaround i could use for this? Thanks in advace

    andrea

  • Re: update panel and response.write

    03-24-2008, 10:29 PM
    Answer
    • Participant
      1,273 point Participant
    • RJA
    • Member since 07-09-2003, 8:26 AM
    • Pittston, Pa
    • Posts 206

    Can you add an imagemap control to the page rather than writing it out manually with a createImageMap function?  Alternatively, if you need the function then could you return the HTML into a string and place that in a label or literalcontrol?  Using one of those two techniques should help. 

    Rachel Appel
    MVP - ASPInsider
Page 1 of 1 (2 items)