Author Archives: morefays

PDF Arabic watermark using MVC and iTextSharp


PDF full page Arabic 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 … Continue reading

Posted in Uncategorized | Leave a comment

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

Generic Custom Paging and Sorting Using SQL Server and .Net C#


Flickr Tags: Custom Sorting,Custom Paging,Dynamic Sorting,Dynamic Paging,Paging Control Compared to default paging, custom paging can improve the performance of paging through data by several orders of magnitude, through custom paging large amounts of data can reterive more efficiently than implementing … Continue reading

Posted in asp.net C#, Custom Pagign, Custom Sorting, dynamic paging, dynamic sorting, pager control | 9 Comments

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

Validate different controls on different buttons in a same page


  Flickr Tags: Different validation group,calling different validation on different buttons Normally developers have a requirement to validate different controls on different buttons in this situation developers face problem when user click on any button all validation will be fire … Continue reading

Posted in Tips | 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