Wednesday

resizable div in jquery-ui with error label in asp.net

1.add links to jquery and css files.

<link type="text/css" href="../themes/start/jquery.ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../js/jquery-1.4.2.min.js "></script>
<script type="text/javascript" src="../js/jquery-ui-1.8.2.custom.min.js"></script>


2. add in document initialisation

<script type="text/javascript">
$(document).ready(function () {
$(" .resizable").resizable();
});
</script>

3.adding div in body below :

<div class='resizable' style='height:20px;overflow-x:hidden;overflow-y:hidden;width:100%'>
<asp:Label ID="ErrorLabel" runat='server' ForeColor=Red Font-Bold=true/>
</div>

No comments:

test smtp server with powershell

Send-MailMessage -SMTPServer smtp.domain.com -To [email protected] -From [email protected] -Subject "This is a test email" -Body ...