Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,


Now i wants to open new page in web application inside the panel.

For example i have 3 buttons on my Main page and have one panel. When am press

button1, new page (aaa.aspx) opened inside the panel, and press button2 another

page (bbb.aspx) opened at the same panel and so on... I searched internet but i got

only for windows application... But now i need for WEB APPLICATION .. All

replies are welcome...


Thanks and Regards

Dhinesh kumar Velmayil
Posted
Updated 27-Sep-12 23:09pm
v2

The reason you may be struggling to find an answer is the terminology you're using. The term Form is generally reserved for Windows applications. When developing web applications use the term Page. Whilst a web page often contains a form, it is a component of the page. When talking about loading content from the server, you're loading a page, not a form.

When content is loaded into a panel from different pages this normally uses a technology called AJAX (Asynchronous Javascript and XML).

There are many panel components available which allow you to asynchronously load content from other pages and display them in your current page. One such component is the UpdatePanel. See the following link for more details:

UpdatePanel Control Overview[^]

If you want to know more about what these components are doing behind the scenes then you need to study writing AJAX code.

Here is a good starting point:

AJAX Introduction[^]

Another way might be to use an iFrame. An iFrame is essentially a browser window inside a browser window and my be suitable for your purposes although are a bit old hat nowadays.

Change content of an iFrame with a Javascript button[^]

Good luck!
 
Share this answer
 
v6
Comments
Dhinesh kumar.V 28-Sep-12 5:08am    
Thanks a lot your comments Stephen. And this is my first web application.. So i will follow your words and get you back...

Thanks & Regards

Dhinesh Kumar Velmayil
Stephen Hewison 28-Sep-12 5:51am    
No problem, if you could show your thanks by accepting the answer it would be much appreciated.
Hi,

You can put iframe inside the panel control and set its source to different urls on button clicks.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900