In this article I am going to discuss how to resize a control using jquery.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Resizable.aspx.cs" Inherits="Resizable" %>
<!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">
<%--Jquery--%>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<%--Style sheet for resize control--%>
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" />
<style type="text/css">
.resizable
{ width: 250px;
height: 100px;
background: #FFFFFF;
border: solid 1px red;
}
.NormalTextBox
{
width: 250px;
background: Yellow;
border: solid 1px red;
}
</style>


Join the conversation! Your thoughts help the community grow.