Skip to main content

Posts

Checkbox inside GridView like Gmail

Checkbox inside GridView like Gmail Even Users want to Check all of the Gridview CheckBox Column for some desired task like Delete, Select Records in GridView. In this Article I am going to describe CheckBox inside Gridview and functionality to check all checkbox in Gridview like Gmail. I am using JavaScript to Check/UnCheck all CheckBox in GridView. I am using a sample example of Employee Record in Grid to delete the records. There is a table Employee which I have used in the sample code. Create Table Employee ( Emp_ID int identity (1,1), Emp_Name varchar (50), Salary money ) ASPX CODE <script type= "text/javascript" > function SelectAllCheckboxes(chk) { if (chk.type== "checkbox" ) var a=chk; State=a.checked; elm=a.form.elements; for (i=0;i<elm.length;i++) if (elm[i].type== "checkbox" ) { if (elm[i].checked!=State) elm[i].click(); else if (elm[i...

select multiple rows with checkboxes like GMAIL Example 1

Are you looking for shift-select multiple checkboxes like GMail? solution: This thing can be done by jquery. see the following example <html> <head> </head> <body> <input type="checkbox" id="id_chk1" class="chkbox" value="1" />Check 1<br/> <input type="checkbox" id="id_chk2" class="chkbox" value="2" />Check 2<br/> <input type="checkbox" id="id_chk3" class="chkbox" value="3" />Check 3<br/> <input type="checkbox" id="id_chk4" class="chkbox" value="4" />Check 4<br/> <input type="checkbox" id="id_chk5" class="chkbox" value="5" />Check 5<br/> <input type="checkbox" id="id_chk6" class="chkbox" value="6" />Check 6<br/> ...

(Solved) Failure sending mail in Godaddy Server

(Solved) Failure sending mail in Godaddy Server I know that this is an old thread.  At the same time, I worked on this problem for two weeks.  I wish that I had the final answer a couple of weeks ago! If you have shared hosting at GoDaddy.com, you need to use these credentials WHILE your are developing your application: In the namespaces you have to add using System.Net.Mail; or if you are not using any .cs file the you can insert namespace as <% @ Import Namespace ="System.Net.Mail" %> //for mail(from,to,subject,message) MailMessage msg = new MailMessage("frommailid@yourdomain.com", " tomailid@yourdomain.com ", "hello" , "your message"); SmtpClient smtp = new SmtpClient (); smtp . Host = "smtpout.secureserver.net" ; // Only works locally (development time) smtp . EnableSsl = false ; smtp . UseDefaultCredentials = false ; smtp . Credentials = new System . Net . NetworkCredential ( "...

100 free tools to track everything on your website

100 free tools to track everything on your website I found the list of tools in Sitepronews website ,and I think it's better to post this list again in Simplexdesign blog . I hope it useful for your work . All tools in this list are free to use . Web Site Statistics and Counters 1.  RiteCounter  – While Ritecounter has a visitor counter, it’s the extras that put it over the top. Track hits to individual pages on your site, enjoy the free IP tracker, and enjoy other valuable tools and features. 2.  GoStats  – GoStatis is a  free Web hit counter  that more than exceeds the value of its price tag. Quickly check out page views, determine your returning visitors, gauge your page popularity, and more. 3. Browser Statistics  – If you’re feeling out of step with what kids are doing on the interwebs these days, this program helps keep you up to date. It lets you know what browsers, operating systems, screen resolutions, and  Javascript ...