ViewState

Discussion in 'ASP .Net Building Controls' started by Mike, Apr 6, 2005.

  1. Mike

    Mike Guest

    Hi,
    I'm developing a Composite Control that have a <div>, inside a Table, that
    can be moved by the user with the limits of the table. What I want, is that
    when postback raised the <div> maintain the position seted by the user.
    Somebody know how can i do that?
    Thanks
     
    Mike, Apr 6, 2005
    #1
    1. Advertisements

  2. Hi Mike,
    One way is to register hidden elements on the HTML form and use JavaScript
    to record the position of the DIV tag the user chooses. Then implement and
    handle the IPostBackDataHandler to discover the users choice on the server
    side.

    Cheers,
    Steve Goodyear
    Vancouver, Canada
     
    Steve Goodyear, Apr 8, 2005
    #2
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.