Posts

Citrus Pay NopCommerce Plugin

Citrus Pay Plugin for NopCommerce 3.40 The plugin is an installation package which contains an easy implementation of The CitrusPay Payment Gateway. This package supports only the Citrus payment method. What you can expect: Support for nopCommerce 3.40 Only Payment description support Secure payments Free support Inline bank selection Plug and play Other versions of nopCommerce available by request if you have any questions please don't hesitate to contact by mail at prajapatisandeepk @gmail.com with subject "Citrus Pay Plugin".

PAYU Plugin for NopCommerce

Image
Hello Download NopCommerce PayU plugin from  http://www.nopcommerce.com/p/1604/payu-india-nopcommerce-plugin.aspx Or Download from  http://codecanyon.net/item/payu-india-nopcommerce-plugin/9427472 To get the Plugin Please mail on prajapatisandeepk@gmail.com  with Subject "PayU Plugin"

Nuget Package for Push Notification on Android and iOS

Continue to my previous post for Push Notification, I have generated a simplified process to implement Push notification for iOS and Android. Anyone can download my Nuget package from https://www.nuget.org/packages/EasyPushNotification/ To install Push Notification for Android and iOS, run the following command in the   Package Manager Console PM> Install-Package EasyPushNotification Web.config settings Add following keys into AppSettings into web.config file. <appSettings> <add key="APIKey" value="SOME_API_KEY"/> <add key="ApnsCertPath" value="CERTIFICATE_PATH"/> <add key="ApnsCertPassword" value="CERT_PASSWORD"/> </appSettings> For Android APIKey    is API key provided by GCM server. Follow the steps from here to generate project and obtain API key. The generated Project ID will be used to generate Device Token from Android devices. For iOS ApnsCertPath ...

Push Notification for Android

Image
Hello, Now a Days in era of smart phones and mobile app developments, a very important feature is "Push Notification". For any Mobile app (Android, iPhone, Blackberry, etc.) Push Notification is part of requirement and complete project. To know more about Push notifications please Google !! here is a quick Wikipedia link . In this post I am going to demonstrate Push notification for Android phones. As of now I don't have any Android device connected with my machine so can't get snapshots of result but one can trust me that whatever I have implemented is fully working. OK.. So Let's Start ..........  Create an Asp.net application .(whatever you like..MVC, or anything)                     I hope you are aware about NuGet Package Manager. if not refer official website of NuGet . visual Studio 2010 + comes up with inbuilt support of NuGet Packages. still can't find NuGet ...

Custom Message box and Confirm window all in one

Image
Hello, I have created a custom message box and confirm window which can be used in all programming languages and all platforms. syntex : AlertCust([Control], {Message Title}, [Message Text], {IconType}, {PromptType}, [OnOk], [OnCancel]); Description : [Control] : Optional, Pass the control which raises the prompt. in Confirm or Alert window when click ‘OK’ button is clicked, the default server event will be executed, if value is passed. if null, clicking on ‘OK’ the prompt window will be closed, no further action. {Message Title} : Required, Message Title. Title will appear in bold font. [Message Text] : Optional, Message text in second line, in normal fonts. {IconType} : Required, Enum values. pass icon type to display icon specific to message. options Error, Warning, Information {PromptType} : Required,   This property helps to decide what kind of prompt we need. e.g. Validation, MessageBox(OkOnly), OKCancel, YesNo. [OnOk] : Optional, To provided custom callback met...

JavaScriptStringEncode : Javascript Compitable encoding

Hello, Recently I was facing very interesting issue. and the solution for the issue was introduced in the new updates in asp.net framework 4.0. Generally when we try to render HTML content on page clientside/ by javascript, it gives error of Potential dangerous content error. http://msdn.microsoft.com/en-us/library/ms972967.aspx There are lot's solutions but have to compromise security of page. by setting <%@ Page Language="C#" AutoEventWireup="true" CodeFile="default.aspx.cs" Inherits="_default" ValidateRequest="false"%>  But now we have perfect solution which is introduced in .net framework 4.0 HttpUtility.JavaScriptStringEncode Method URL encoding makes sure that all browsers correctly encodes text in URL strings. Few Characters such as a question mark (?), ampersand (&), slash (/), and spaces might be truncated or corrupted by some browsers. Therefore, these characters must be encoded in a elem...

Disable Server Validation Control from ClientSide/ Javascript - ValidatorEnable

Hello Friends, Recently I required to disable server validation control (RequiredFieldValidator, CompareValidator, CustomValidator, RangeValidator, RagularExpressionValidator, etc) from clientside/ Javascript. There are few patches to accomplish the  requirement by I liked an approach which is perfect for ClientSide handling. ValidatorEnable is a javascript mathod lying at asp.net framework javascriptscript ValidatorEnable(document.getElementById(myVal), Status); Thanks