web 2.0

ASP.NET(vb.net) & ScriptManager

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

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

ASP.NET(vb.net) & ScriptManager
.
.
.
Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (1 votes, average: 10.00 out of 10)
Loading ... Loading ...

One Response to “ASP.NET(vb.net) & ScriptManager”

  1. 3revenues…

Leave a Reply

You must be logged in to post a comment.