Posts

Showing posts from September, 2012

FIXED HEADER TO GRIDVIEW

Image
IN ASPX: <!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">   <style type="text/css"> <%-- This style to use Fixed header  --%>       .GVFixedHeader { font-weight:bold; background-color:Gray; position:relative;                  top:expression(this.parentNode.parentNode.parentNode.scrollTop-1);}     </style>        <title></title> </head> <body>     <form id="form1" runat="server">     <div>     <asp:Panel runat="server" ID="pnlContainer" ScrollBars="Auto" Height="150px" Width="400">     <asp:GridView ShowFooter="True" runat="server" Width=...

J QUERY POPUP IN ASP.NET

Image
J QUERY POPUP IN ASP.NET First download  jquery-1.4.3.min.js file and add in to Scripts folder then take reference to this script from head tag IN ASPX: <!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">     <title>Sample popups </title>   //This is Style sheet for popup window   <style type="text/css">         .web_dialog_overlay         {             position: fixed;             top: 0;             right: 0;             bottom: 0;      ...

HOW TO SEND FREE SMS FROM ASP.NET

               First create account in way2sms or Site2SMS or 160by2 these are providers parameters: uid (userid for way2sms account)                   pwd(password for way2sms account)                   msg(message)                   phone(phone number for you want to send)                   provider(you have account in way2sms then provider is way2sms or you have account in 160by2 then provider 160by2 or you have account in Site2SMS then Site2SMS )          Write code in send button click event:         string senderusername = userid from way2sms;         string senderpassword = Pwd from way2sms;    ...