Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7458797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T13:30:03+00:00 2026-05-29T13:30:03+00:00

I have got this project that uses excel for some calculation. This excel is

  • 0

I have got this project that uses excel for some calculation.

This excel is converted to HTML using 3rd party tool. and the uploaded to server.
when a person views this HTML (i.e. in IFrame), the user can enter some data modify some data and then can save it in database or XML.

after words when later the same user wants to come and review his changes, the data must be taken from database and then must be able to view that data in HTML page which is in iframe.

But the problem here is that the user will not be able to write the code for data retrieval when retrieving data from database.

Is there any solution for that in any language or any other way of doing the same functionality??

EDIT : Explanation

Let me write this in steps:

1.admin uploads HTML file to web app, converted from excel using Spreadsheet converter (Third party tool).

2.user views the file, but HTML file is displayed inside iframe so not much interaction possible between parent and iframe window.

3.the HTML Page has submit button, which when clicked submits to submit.aspx and saves data to XML file for that user’s id (with some editted values.).

4.later when same user tries to access that file,obviously it will show the file from the mentioned src so user stored value will not be displayed.

5.So now what i need is when user accesses the same file again the file should display the data with the values stored for that user that too without requiring any coding on that HTML page which will be viewed on that Iframe.

I want to get the interaction between top window and iframe window .i tried to achieve this using jquery but it is not working. Here is the code that i have tried.

<script type='text/javascript'>
var $currIFrame = $('#htmlPageFrame');
$('#htmlPageFrame').load(function() {
$currIFrame.contents().find('#userID').val('1');
$currIFrame.contents().find('#DataMode').val('save');
});
</script>

where userID and DataMode are to hidden fields in the HTML pge which load in iframe. Hope this makes things preety clear.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T13:30:04+00:00Added an answer on May 29, 2026 at 1:30 pm

    Found the reason for problem.
    As i was using master page and was making iframe runat=server, page was looking for htmlPageFrame while what i should have provided was htmlPageFrame.ClientID.

    Silly mistake…

    And Thanks @Aristos Even your solution was helpful to me.

    Now code goes like this:

    <script type='text/javascript'>
    var $currIFrame = $('#<%= htmlPageFrame.ClientID %>');
    $('#<%= htmlPageFrame.ClientID %>').load(function() {
    $currIFrame.contents().find('#userID').val('1');
    $currIFrame.contents().find('#DataMode').val('save');
    });
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just got a project that have some core classes that uses static methods.
I have got a piece of code, that should countdown some number (in this
I've got a project that uses a third party OCX. The OCX was recently
I have got this error when using Enterprise Library 3.1 May 2007 version. We
I have got some javascript code and I'd like to convert this to C#.
I've got an ASP.Net project that uses session state, I'd like to be a
Working on a project that uses some IronPython scripts to as plug-ins, that utilize
I have a project in c# which uses bindings to use some c++ code.
I've got a project that uses a Master Page. There is also a Content
I've got a Subversion project that uses Gnu Autotools (i.e., automake, autoconf, and libtool)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.