This ASP.NET tutorial explains how to programmatically set the TextBox value and get the TextBox value in ASP.NET in VB.NET.
The next example uses a test.aspx page named SetAndGetTextBox.aspx which has two asp:Label controls and one asp:TextBox control. In the code behind the local string variable value is use to read in it the system [...]
This ASP.NET tutorial explains how to apply CSS style in the Label control from code-behind in ASP.NET in VB.NET.
You can apply CSS style from code behind by accessing the properties of the control with the help of its Id. Most of the CSS styles can be applied using the Font property and its [...]
This ASP.NET tutorial explains how to change the text of the Label control from the code-behind in VB.NET.
<%@ Page Language=”vb” AutoEventWireup=”false” CodeBehind=”TestPage.aspx.vb” Inherits=”TestChange.TestPage” %>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<title>Change the text of the Label control from the code-behind</title>
<form id=”form1″ runat=”server”>
<asp:Label ID=”LabelTest” runat=”server” [...]
This ASP.NET tutorial explains how to create a simple content page in ASP.NET.
You can use your master page created as described in the article: How to create a simple master page in ASP.NET in another page by adding the MasterPageFile attribute to the Page directive. This attribute indicates the filename of the master page [...]
This ASP.NET tutorial explains how to create a simple master page in ASP.NET.
You can create a master page by following the next steps in Visual Studio:
1. Select Website ➤ Add New Item from the menu.
2. Select Master Page
3. Give it a filename for example SiteTemplate.master
4. Click Add.
This ASP.NET tutorial explains how to populate the TreeNode objects in ASP.NET in VB.NET.
If your project has a large amount of data to display in a TreeView, you probably don’t want to fill it in all at once, because that increase the time taken to process the initial request for the page, and also [...]
This ASP.NET tutorial explains how to use the TreeNode object in selection mode in ASP.NET in VB.NET.
You can use TreeNode in one of two modes:
- In selection mode, clicking the node posts back the page and raises the TreeView.SelectedNodeChanged event. This is default mode for all nodes.
This ASP.NET tutorial explains how to use the Calendar control in ASP.NET page in VB.NET.
You can use this control to create a functionally rich calendar box which shows one month at a time. The end user can move from month to month, select a date, and select a range of days when the multiple [...]
This ASP.NET tutorial explains how to use the AdRotator control in ASP.NET page in VB.NET.
By using the AdRotator control your ASP.NET web page randomly selects banner graphics from a list that is specified in an external XML schedule file. Before creating the control, you should define the XML schedule file, as shown in [...]