Today, I encountered this problem. The server-side iframe resizes the src value, adds an ID to the iframe, and adds runat=server
1. Assign values to iframe's src through JS
2. If you need to be in the C# background, change the iframe's src when the page loads. You can pass
For example, <iframe id=iframe runat=server> applies as a server-side control
Write in the program
Copy the code