Programmatically Resize Frameset Dimensions

Discussion in 'ASP .Net' started by Major Johnson, Jul 14, 2004.

  1. Just wondering if it's possible to resize frameset dimensions from
    code-behind? If so, how? In the example below, for instance, I'd like to NOT
    hard-code ["100,*"].

    <frameset rows="100,*" cols="*" frameborder="yes" border="1"
    framespacing="0"></frameset>

    Thank you.
     
    Major Johnson, Jul 14, 2004
    #1
    1. Advertising

  2. Your frameset page would have to be an ASPX page to do this. If it is, you
    just make the frameset tag runat server, add an ID, and in your CodeBehind,
    declare the frameset tag as an HtmlGenericControl. Then you can manipulate
    its attributes programmatically.

    --
    HTH,
    Kevin Spencer
    ..Net Developer
    Microsoft MVP
    Big things are made up
    of lots of little things.

    "Major Johnson" <> wrote in message
    news:Oj$...
    > Just wondering if it's possible to resize frameset dimensions from
    > code-behind? If so, how? In the example below, for instance, I'd like to

    NOT
    > hard-code ["100,*"].
    >
    > <frameset rows="100,*" cols="*" frameborder="yes" border="1"
    > framespacing="0"></frameset>
    >
    > Thank you.
    >
    >
    >
     
    Kevin Spencer, Jul 14, 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. Replies:
    0
    Views:
    692
  2. xzzy
    Replies:
    4
    Views:
    650
  3. Don Schneider
    Replies:
    0
    Views:
    2,029
    Don Schneider
    Jun 27, 2003
  4. ck388
    Replies:
    1
    Views:
    603
    ck388
    Sep 24, 2003
  5. Julius Mong
    Replies:
    1
    Views:
    392
    Randy Webb
    May 10, 2004
Loading...

Share This Page