Solved

how to change contents of a frame programmatically

Posted on 2010-11-10
1
461 Views
Last Modified: 2012-06-21
I have several webpages in webapplication. Page Default.aspx contains 2 frames(with identifiers "frame1" and "frame2") with 2 other pages Menu.apsx and FormGenerator.aspx. Depending on selection option in DropDownList on Menu.aspx I want to load to "frame2" one of pages WebForm1.aspx or WebForm2.aspx or WebForm3.aspx. How to implement this.
I attached the source code of how I tried to implement this issue(but it does not work) application-form-generator.zip
0
Comment
Question by:AlexKostrub
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 15

Accepted Solution

by:
aibusinesssolutions earned 500 total points
ID: 34108650
You'll need to use javascript to accomplish that, since you aren't using normal links.

In the menu.aspx

parent.frame2.location='webform2.aspx';

You could add it to the onChange() function of the dropdown.

You could do it programatically by using the attribute tag.

DropDownList1.Attributes.Add("onChange", "somefunction('this.value')")
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

730 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