Asp.Net 3.5 In Simple Steps- P7

In Simple Steps- P7:This is a book that helps you to learn using Visual Studio 2008. Precision, an easy-to-understanding style, real life examples in support of the concepts, and practical approach in presentation are some of the features that make the book unique in itself. The text in the book is presented in such a way that is equally helpful to beginners as well as professionals. | Chapter 3 Standard Controls Urheberrechtlich gc 9. Press the FS key to see the output in the browser. The image appears and if you move the mouse-cursor over the image it displays the tool tip as shown in Now let s know about the ImageButton control. The ImageButton Control The ImageButton control creates a button that displays an image instead of text. The ImageButton control exists within the namespace. You can use the ImageButton control to display the images that can also handle click events. This is particularly useful if you want to create image maps. Image maps are those clickable images that initiate various actions depending on where you click them. Noteworthy public properties of the ImageButton class are listed in Table Bild 53 Urheberrechtlich geschütztes Ma in Simple Steps Using the hnageButton Controls Let s learn the procedure of using the ImageButton control by performing the following steps 1. Open Microsoft Visual Studio 2008. 2. 5e ecrFile- New- Web Site. 3. Select Web Site and name it as ImageButton. 4. Drag and drop two Label controls and one TextBox control on the Web Form and set their properties as done earlier. 5. Drag and drop an ImageButton control from the Toolbox on the Web Form. 6. Right-click the ImageButton control select Properties and set the ImageUrl property to an image that you want to show on your Web page. After adding all the controls to the Web Form and setting their properties the source file for the ImageButton application is as shown in Listing Listing 54 Chapter 3 Standard Controls 7. Double-click the ImageButton control in the Design mode. The following is the code snippet of the Urheberrechtlich geschütztes Bild 8. Press the F5 key to see the output in Internet Explorer. When you dick an ImageButton control you see the position coordinates of that point in the TextBox control as shown in Urheberrechtlich .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
389    178    1    24-05-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.