Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はasp.netが初めてです。私のホームページでは、2 つの画像ボタンを使用しました。私がしたいことは、ボタンをクリックして別のページをホームページのdivタグにロードする必要があるときです。どうすればasp.net/csharpでそれを行うことができますか
iframe を使用する
<iframe id="iframe1" ></iframe>
Jsを使用してsrc ieを変更します
document.getElementById('iframe1').src = yourpagepath;
ありがとう