2
Answers

Appearance of new page

ray dona

ray dona

16y
3.1k
1

How can I control how a new page is displayed when a button is clicked? For example, when a button that links to another page is clicked the new page appears. Its the appearance of that new page I wish to control. I would like the page to start as a dot on the button and then blow up, maybe expand slowly, etc.

Answers (2)
0
Pankaj Gupta

Pankaj Gupta

NA 118 0 16y
Hi,

In this case use a Panel control and put all the contents in between the panel control that you have to display while clicking on the button and add a java script method on click of the button and show the panel with the help of java script.


0
Mahesh Chand

Mahesh Chand

2 286.9k 123.7m 16y

There are different ways to do it depending on your application architecture.

1. You can have a control that is displayed when a button is clicked. In this case, you will either load a control dynamically or it will be empty initially and then load contents of the control dynamically.

2. On button click, you navigate to a new page that will have your contents. To navigate to a new page, search Page Navigate using the site search of C# Corner search.