Creating Web Server Controls

Creating Web Server Controls is very easy if you are using an IDE like Visual Studio .Net. With these IDE, it is a matter of simply dragging and dropping the web server control on the page in the design view.

If you are using the Visual Studio .Net you can find a Web Controls tab in the Tools palette. Just click on the tab and you can find a lot of web server controls displayed. All you have to do is to drag and drop the control to the page.

After you have dropped the control to the page, if you look at the code that is generated behind you will find that the syntax for the web server control is something like,

<tag_prefix:control_name attributes runat="server" />

For example if you have dragged a button control to the page then you might something like,

<asp:Button id="button1" runat="server" />

The web controls that you drag and drop are found in the namespace System.Web.UI.WebControls. They have a tag_prefix ‘asp’. Try creating some other web server controls in your page and check out the code.

You can also change some of the properties in the properties window and find out the changes that happen in the code behind.


New India web controls as BlackBerry gets reprieve
After BlackBerry won a reprieve, Google and Skype stepped into the firing line Tuesday as India's security agencies widened their crackdown on online communications firms.

Handhelds And Other Subversions
BlackBerry's parent has reached a truce with the Indian government over scrutiny of its encrypted e-mail server.

Trend Micro Launches a Breakthrough Encryption Solution for the Cloud
CUPERTINO, Calif., Aug. 31 /PRNewswire/ -- Today at VMworld 2010, Trend Micro announced the public beta availability of Trend Micro SecureCloud, furthering the company's mission to extend multi-layered protection to data residing in the private or public cloud. By applying new patent-pending key-management technology combined with industry-standard encryption, SecureCloud gives control over data ...




______________________________________________________

Recommended Resource



| Why should you go for Server Controls | Advantages of using .NET Server Controls | Understanding ASP.NET Server Controls | Creating Web Server Controls | Server Side Controls in ASP.Net | Creating Custom Server Controls | Server Controls in ASP.NET Web Page | Using Html Server Controls in your Web Pages | Understanding Dynamic Server Controls in ASP.NET | Using ASP Server Controls Templates | Developing ASP.NET Server Controls | Setting properties for ASP.NET Custom Server Controls | Implementing ASP.NET Server Side Controls | Creating Professional ASP.NET Server Controls |



_______________

FREE Subscription

Stay Current With the Latest Technology Developments Realted to .NET. Signup for Our Newsletter and Receive New Articles Through Email.

Name:

Email:

Note : We never rent, trade, or sell our email lists to anyone. We assure that your privacy is respected and protected.


 

| Privacy Policy for www.dotnet-guide.com | Disclosure | Contact |