ASP.NET(vb.net) & ScriptManager - Manages ASP.NET Ajax script libraries and script files, partial-page rendering, and client proxy class generation for Web and application services.
ShotDev Focus:
- ASP.NET(vb.net) & ScriptManager
Example
ScriptManager.aspx
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="ScriptManager.aspx.vb" Inherits="ScriptManager" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>ShotDev.Com Tutorial</title> </head> <body> <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server" /> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> <br /> <asp:Button ID="Button1" runat="server" Text="Button" /> </ContentTemplate> </asp:UpdatePanel> </div> </form> </body> </html>
ScriptManager.aspx.vb
Partial Class ScriptManager Inherits System.Web.UI.Page Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Label1.Text = "Welcome To ShotDev.Com : " & DateTime.Now.ToLongTimeString() End Sub End Class
Screenshot
3revenues…
…