Category Archives: Asp.Net

Full page waternark using MVC and iTextSharp


PDF full page watermark using MVC and iTextSharp Download :¬†Source Code Most of the time we have requirement to¬†generate pdf with water mark to secure and tried to protect from forgery. Here, I will explain how to implement iTextSharp dll … Continue reading

Posted in Asp.Net, C#, iTextSharp, MVC 5.0, Pdf watermark | Leave a comment

Moving,Sorting and Searching Items between two Generic Listbox controls


  I will explain you how to create user control using two listbox control and moving,filtering and searching items between them.First of all you should add two listbox and add the buttons like given below. <%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucListBox.ascx.cs" … Continue reading

Posted in Asp.Net, JavaScript | 10 Comments

FileUpload Control File Type and File Size Validations


Flickr Tags: FileUpload Control validation on file type,file size,increace file upload control limit Normally we need validation to restrict the user for uploading any kind of files on a Web Server due to security or application requirement also we need … Continue reading

Posted in Asp.Net | 1 Comment

Dynamic Load or Add User Control and Maintain the View State


Flickr Tags: dynamic add user control,dynamic load user control,Dynamic Web Controls,Postbacks,and View State In this post I will explain you how to add or load user control in a page or any other user control and maintain the view state.Normally … Continue reading

Posted in Asp.Net | 4 Comments

Debugging Asp.net application using XML Serialization


  Flickr Tags: XML Serialization,Debugging through XML Serialization. Debugging on Test or Production server is very difficult task for developers.First of all developers do not have any rights to touch the Test or Production environment and he received the list … Continue reading

Posted in Asp.Net | 1 Comment

Define Access Key In asp.net button control


Flickr Tags: Access Key,Asp.net If you want to underline and define the access key in asp.net just like you define in windows application , use the html button element. To produce the same behavior as an asp.net Button control. I … Continue reading

Posted in Asp.Net, Tips | 1 Comment

Register Custom User Control in Web.Config File


  Normally we register any user control or assemblies in page directive of aspx html source if we want to used in any aspx page like.   <%@ Register TagPrefix=”MyControl” TagName=”HeaderControl” Src=”Header.ascx” %> <%@ Register TagPrefix=”MyControl” TagName=”footerControl” Src=”Footer.ascx” %> <%@ … Continue reading

Posted in Asp.Net, Tips | 1 Comment

Filtering or Searching in Listbox Item Using JavaScript


Flickr Tags: Filtering or Searching in Listbox Item Using JavaScript,Filtering,Searching,Listbox Item,Using JavaScript Normally you have a requirement that user want to search or filtering record in a list box according to what he write in textbox.So in my pervious posted … Continue reading

Posted in Asp.Net, JavaScript | Tagged , , | 3 Comments

call server side method from client side using script manager


>     Flickr Tags: call server side method from client side using script manager,call server side method from client side   Hello friends. I am going to share with you a concept to call server side method from client … Continue reading

Posted in Asp.Net | Tagged , , | 1 Comment

Clear Session On Browser Close


LiveJournal Tags: Clear Session on Browser Closer,Clear Session on Page Redirect How to capture logoff time when user closes browser? Or How to end user session when browser closed? Or How to end user session when user redirect to another … Continue reading

Posted in Asp.Net | Tagged , , | 1 Comment