Solved

Moving a jqGrid inside an iframe?

Posted on 2011-09-15
2
709 Views
Last Modified: 2012-05-12
I have an existing jqGrid but need to move it into an iframe so the scrolling can function properly on the jqGrid.

What is the syntax to do this?

And does the fact that HTML5 iframe does not support scrolling present a problem? Or hopefully it's the jqGrid that supports scrolling and the iframe needs to be the container, so an HTML5 iframe will work fine??

I am using Razor inside a cshtml file.

Thanks.
0
Comment
Question by:newbieweb
2 Comments
 
LVL 28

Accepted Solution

by:
strickdd earned 500 total points
ID: 36545732
If you embed something into an iFrame, the "parent" will have no access to the "child" content. What you should look into doing is putting it in a fixed height div with the overflow set to scroll.
0
 

Author Closing Comment

by:newbieweb
ID: 36554444
Thanks!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question