Hi,

I have created one form and in that form i took textbox control, button and iframe control
suppose i enter some text in text box control and these text i want to pass in iframe control through response.redirect
it's like google map
http://maps.google.com/
e.g. i enter maharashtra in text box control and after i press button then
these 'maharashtra' how to pass in iframe control

Recommended Answers

All 2 Replies

use a normal html button and give your iframe an id and do as follows:

<input type="button" value="try"  onclick="document.getElementById('myFrame').src='mypage.aspx'"/>

<iframe id="myFrame" src="x.aspx" />
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.