User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 363,387 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,835 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 178 | Replies: 1
Reply
Join Date: Oct 2006
Location: India
Posts: 124
Reputation: bala24 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 10
bala24's Avatar
bala24 bala24 is offline Offline
Junior Poster

Dropdown acting funny within Iframe

  #1  
May 12th, 2008
Hi guys,

I got this strange problem which I can't seem to solve.
I have this Iframe within a webpage and I am opening another page within this.
This nested page contains two drop down controls.

The selection of the first dropdown populates the second with some values.
The selection of the second dropdown does some stuff on the form.

I need to show the selected option as "Select" in the second dropdown on a selection change in the first dropdown.

I am doing this through the following piece of code in vb.net

cmblist.items(0).selected=true

Although this seems to work when I execute the page alone but doesn't seem to have any effect when the page is within the Iframe.

Can anybody point out what seems to be the problem and what's the probable solution for the same.

Thanks in advance.
Michelangelo

"The best place to find a helping hand is at the end of your own arm"
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,121
Reputation: majestic0110 is on a distinguished road 
Rep Power: 3
Solved Threads: 46
majestic0110's Avatar
majestic0110 majestic0110 is offline Offline
Veteran Poster

Re: Dropdown acting funny within Iframe

  #2  
May 12th, 2008
Hmm, that is interesting. Can you post more code for me to look at ?
If you have a quality, be proud of it and let it define you. Add it to the world!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb ASP.NET Marketplace
Thread Tools Display Modes

Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 12:29 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC