Click here to Skip to main content
13,189,531 members (28,464 online)
Rate this:
Please Sign up or sign in to vote.

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 18: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 |
Web01 | 2.8.171016.2 | Last Updated 21 Jan 2013
Copyright © CodeProject, 1999-2017
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