?
Solved

how to change contents of a frame programmatically

Posted on 2010-11-10
1
Medium Priority
?
464 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 2000 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

770 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