Category Archives: Web Development

Convert TIFF to JPEG using Java Advance Imaging


Java advance imaging API allows you to convert Tiff to JPEG. You need to download & install Java Advance Imaging before adding conversion functionality in your project. Below is the method and usage for converting Tiff to JPEG in JAVA. Tweet

Tags: , , , , ,

Complete solution for Url Rewriting in ASP.NET


This article describes a comprehensive solution for URL rewriting in ASP.NET 2.0. The solution uses regular expressions to rewriting rules to give and possible issues with postback from pages accessed through virtual URLs dissolves. Why use URL rewriting? Maintainability In large web applications, it is usual for developers to move pages from one folder to another. Let us assume that information on support was initially available on http://www.programmerclubhouse.com/Info/Copyright.aspx and http://www.programmerclubhouse.com/Support/Contacts.aspx, but later , the developer moved the Copyright.aspx Contacts.aspx pages [...]

Tags: , ,

Dynamically adding controls to a form in Asp.net


  At first sight it appears that adding a control to a form dynamically is quite simple. In fact, adding control to a form is easy. The problem is when you need to make a postback control disappear perform. This section discusses why a dynamically added controls disappear on postback and how to stop it disappearing. I also discuss how to get value from a dynamically created control. First we need to create a page that has a placeholder for [...]

Tags: ,

Setting the value of Password field in Asp.net


When the TextMode property of an ASP.NET TextBox is set to the value set in the Text property password is not displayed at runtime. This may be a pain, but it is actually the design of the exposed password avoid that is displayed in the HTML page source. As the safety is good not appear masked password value, the unmasked in the source, must also turn on the masked value in the textbox. For instance, a user profile page where [...]

Tags: ,

10 Amazing jQuery Dropdown Menus


noupe

Dropdown menus are used since the evolution of graphical user interfaces, and jQuery Menus are most wanted. Although a must in almost all websites, but still they are high on demand. There are numerous options in dropdown menus, but finding the one matching to your needs yet trendy can be tricky. Keeping this in mind, we have collected a whamming collection of jQuery dropdown menus to give a new inspiration for your designs. Check out the post and let us know which [...]

Tags:

Simple Method to Resize Image in C#


Resizing image is a important part of software development. It enables us to reduce size dynamically while upload an image. Below is method to resize image in C# Asp.net. public void ResizeImage(string sSourceImageFileName, string sDestinationImageFileName, int iWidth, int iHeight) { Size oSize = new Size(iWidth, iHeight); Bitmap oBitmap = new Bitmap((Bitmap)Image.FromFile(sSourceImageFileName), oSize); oBitmap.Save(sDestinationImageFileName, System.Drawing.Imaging.ImageFormat.Png); oBitmap.Dispose(); } Add the above method in a class Imagecl.cs. Below is the usage of above method in ASP.net. Usage ImageUpload.aspx <%@ Page Language=”C#” AutoEventWireup=”true” CodeFile=”ImageUpload.aspx.cs” [...]

Tags: , , ,