Click here to Skip to main content
11,928,587 members (54,824 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET Javascript CSS

have a requirement that to fit the iframe width to fit window,so that only browser window scrollbar should appear.(iframe scrollbars should not appaear)

have used iframe property scrolling="no",but the iframe has gridview which has large data,if i use the scrolling property the data that appears in gridview gets clipped.

aftergoogling have found autoresize script inspite of using that code it didn't work out.

please help and suggest sollution for this.

thanks in advance.
Posted 20-Jan-13 19:02pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

try the below link. it shows a simple jquery that you can copy and paste
and it would resize the iframe.[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web04 | 2.8.151126.1 | Last Updated 21 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100