Programmatically Resize Frameset Dimensions

  • Thread starter Thread starter Major Johnson
  • Start date Start date
M

Major Johnson

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.
 
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.
 
Back
Top