In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
How to understand the HTML Map control in ASP.NET, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can get something.
I'll show you how to use the ASP.NET AJAX framework to extend HTML Map controls that add clickable hotspots. After expansion, when our mouse moves over these hotspots, details about these hotspots pop up; however, these details are obtained from the remote service asynchronously through AJAX.
I. brief introduction
First, we notice that a server control, ImageMap, is also provided in ASP.NET 2.0. This control is a server control that allows you to define a HotSpot area on a picture. Users can PostBack or forward to a URL address by clicking on these hotspots. Typically, this control is used to interact with the local range of a picture. However, the drawback of this control is that clicking on these hot areas for postback will result in a refresh of the entire Web page.
In this article, we will extend the common HTML Map control based on ASP.NET AJAX technology to make it adapt to the trend of Web 2.0 application development by only partially updating the page when displaying the relevant details when clicking on the hot area on it.
Second, create an AJAX sample website
Start Visual Studio 2005 and select "File → New website …" Then select the "ASP.NET AJAX-Enabled Web Site" template, name the project "Ajax_ImageMap", and select C# as the built-in supporting language, * Click OK.
Then, add a new ASPX page, ImageMap.aspx, and modify the part of the HTML code as follows:
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.