ASPX Complete Code:- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title>Reset all fields using jQuery</title> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script type="text/javascript"> function resetAllControls() { $("#form1").find('input:text, input:password, input:file, select, textarea').val(''); $("#form1").find('input:radio, input:checkbox').prop('checked', false).prop('selected', false); }; </script> </head> <body> <form id="form1" runat="server"> <div> <fieldset style="width: 370px"> <legend>Application form</legend> <div> <table cellspacing="2"> <tr> <td>Full Name ..
Types of Printers, For Various Competitive Examinations Like LIC, IBPS clerk, IBPS PO..
Computer Awareness II, For Various Competitive Examinations Like LIC, IBPS clerk, IBPS PO, KVS CIT ..
Computer Awareness Part 1, For Exams Like LIC, IBPS cler..
<%@ WebHandler Language="C#" Class="Handler" %> using System; using System.Web; using System.Web.SessionState; public class Handler : IHttpHandler , IReadOnlySessionState , IRequiresSessionState { public void ProcessRequest (HttpContext context) { context.Response.ContentType = "text/plain"; context.Response.Write("Hello World"); } public bool IsReusable { get { return false; } ..
It's time to update my blog engine which I published some time ago. The updated version is now based on ASP MVC 4 and uses Twitter Bootstrap 3 instead of a custom CSS file. In this post I will give a short overview over the things that were changed. Features/Setup The features of the blog ..
PHP sample project: Bus Ticket Reservation with Dynamic forms code PROJECT DETAILS: Title: Bus Ticket Reservation Domain: Web technology Language: PHP scripting, HTML Category: PHP mini projects This simple project has basic HTML forms with dynamic functionality using PHP. There is a JavaScript code for simple form validation. This source code can allow users to ..
Step 1: Call the page where you code for image merging : Step 2: Add the below code in code behind:- using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.IO; protected void Page_Load(object sender, EventArgs e) { string ThumbnailPath = Server.MapPath(@"images/testimage.jpg"); string watermark =Server.MapPath(@"images/watermark.png"); drawimagewm(ThumbnailPath, watermark, 50, 50); } public void drawimage(string imageurl, string watermark, int startx, int ..
Step 1: Call the page where you code for image merging : Image1.ImageUrl = "dynamicimage.aspx"; Step 2: Dynamic Code for image generation and merging (dynamicimage.aspx/dynamicimage.aspx.cs) using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.IO; protected void Page_Load(object sender, EventArgs e) { string testimage = Server.MapPath(@"images/het_image.jpg"); getimage(testimage, 400, 400); // can set imageurl, max-width and max-height using query string… ..