[Repost] Let your homepage support a variety of browsing devices (ASP +)

xiaoxiao2021-03-06  21

Http://www.aspcn.com In front of the flying knife, we have seen the introduction to the mobile control. Now we will take a look at his usage. Use mobile control Use movement control as simple as using other ASP control. In fact, he is simpler because he generates the entire page, not some of the page. We don't even have to consider > and these labels will be added automatically. We use PANER control to generate and Enter Your Name: Note: In the previous version, each page must have a Mobile: form, now it is not required. The following is the result of the above program in a normal browser: However, if you use a WAP phone to watch, you will see the following results: Below we will add a welcome information containing the username, so We have to add another PANEL control in this deck. We let users press the OK button to display this information. There are different ways of operation in the WAP phone, meaning the same. Therefore, we have to write a VB code to handle this event.