programming we consider all important topic for knowledge about controls,web Services, JSON, Ajax, database, and interview related Question. In this and sql server tutorial blog we give many examples of jquery as like How Play YouTube Video in Your Website by URL, How to Play YouTube Videos in by using Jquery , Jquery Change div background on mouseover in , JQuery UI Datepicker (Calendar) etc.

Sunday, February 22, 2015

Example of PlaceHolder Server Control

Example of PlaceHolder Server Control: PlaceHolder web Control:

 In the post post we give some theory related to the place holder control. Now we consider a example here. 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">  
<script runat="server">  
    protected void Button1_Click(object sender, EventArgs e)  
        Image img = new Image();  
        img.ImageUrl = @"~/Images/sea.jpg";  
        img.BorderWidth = 3;  
        img.BorderColor = System.Drawing.Color.SaddleBrown;  
<html xmlns="">  
<head id="Head1" runat="server">  
    <title> PlaceHolder example: how to use</title>  
    <form id="form1" runat="server">  
        <h2 style="color:Navy">PlaceHolder Example</h2>  
        <br />  
             Text="Add Image Control"   
</html> Related Other Post:

No comments:

Post a Comment