How to enable cookie in all browse?

Hello Friend,

Here we will simple demo how to enable cookie in all browse?

Process of Enable Cookie

Microsoft Internet Explorer

  • Within Internet Explorer, click the “Tools” menu and choose “Internet Options.”
  • Click the tab labeled “Privacy.”
  • Click the button labeled “Advanced.”
  • Check the option labeled “Override automatic cookie handling.”
  • Set “First-party Cookies” and “Third-party Cookies” to “Accept.”
  • Click “OK” to save changes and close the dialog box.

Mozilla Firefox

  • Click Tools > Options.
  • Click Privacy in the top panel.
  • Set “Firefox will:” to Use custom settings for history.
  • Check the box next to “Accept cookies from sites” to enable cookies.
  • Click OK.


  • Click the Tools menu.
  • Select Options.
  • Click the Under the Hood tab.
  • Click Content settings in the “Privacy” section.
  • Select “Allow local data to be set”.


  • Go to the Safari drop-down menu.
  • Select Preferences.
  • Click Security in the top panel.
  • Under “Accept Cookies” select Only from sites you navigate to.


  • Within Opera, click the “File” menu and choose “Preferences.”
  • In the left-hand column, select “Privacy.”
  • Select the option labeled “Enable cookies.”
  • Click “OK” to save changes and close the dialog box.


  • Within Netscape Navigator, click the “Edit” menu and choose “Preferences.” (In OS X, click the “Netscape” menu and choose “Preferences.”)
  • In the left-hand Category column, click “Cookies.” It’s listed in the “Privacy and Security” group.
  • Select “Accept all cookies” or “Accept only cookies that get sent back to the originating server.”
  • Click “OK” to save changes and close the dialog box.
Posted in

Javascript and JQuery function not working in update panel

This post is move to

Posted in

How to set TextBox value when TexBox mode is password in code behind.

This post is move to

Tagged with:
Posted in

Pass multiple parameter in “Ajax Auto Extender”

Hello Friend,

Here we have to give simple example of “Ajax Auto Extender” with multiple parameter.

 <asp:DropDownList ID="ddl_topCountryList" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddl_topCountryList_SelectedIndexChanged"
 Width="210px" CssClass="dropdown" />

State name

 <asp:TextBox ID="txtSearchStateName" runat="server" CssClass="textEntryCountry" MaxLength="100"

 <ajax:AutoCompleteExtender runat="server" ID="AutoCompleteExtender1" BehaviorID="AutoCompleteExtender1"
 TargetControlID="txtSearchStateName" ServiceMethod="GetStateName" MinimumPrefixLength="1"
 OnClientPopulating="LoadAutoComplete" CompletionInterval="10" EnableCaching="true"
 CompletionSetCount="20" CompletionListItemCssClass="autocomplete_listItem" CompletionListCssClass="autocomplete_completionListElement"
 CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" UseContextKey="true"
 DelimiterCharacters=";, :" ShowOnlyCurrentWordInCompletionListItem="true" ServicePath="~/Ajax.asmx">

// Set UseContext Key = True

Pass argument using javascript function

<script type="text/javascript">
 function LoadAutoComplete(source, eventArgs) {
 function SetContextKeyValue() {
 $find('AutoCompleteExtender1').set_contextKey($get("<%=ddl_topCountryList.ClientID %>").value);

Create Service “Ajax.asmx”

 public string[] GetStateName(string prefixText, int count, string contextKey)

//your text box value in "prefixText" and your second argument value in "contextKey"

return Country.ToArray();


Tagged with:
Posted in

Set Date Format in

This post is move to

Tagged with:
Posted in

Sql Bulk Copy in

This post is move to

Tagged with:
Posted in Geo Sql Script

Read Excel Sheet in

This post is move to

Tagged with:
Posted in
  • Give the link to original piece of content in view of drupal
    Follow the bellow steps to give the link to original piece of content in view of drupal Go into the “Fields” section, add a new field and choose “Content: Path”. In the properties, click on “exclude from display” so it doesn’t show up in the results Choose “Rearrange” from the Fields section dropdown and re-order the fields so that “Content: Path” is above t […]
  • Ip to Country
    Hello Friend, Using this service you have get visitors Country information like Country Code, Country Name,Capital,Currency Code,Currency Name and Country Dialing Code. For testing you can enter any valid Ip address in below text box. If you want this service please contact us.
  • Country Wise State
    Hello Friend, Here we have provide country wise state list for education purpose only. You can download country wise state list SQL Script here Note: We have note give any guaranty for this information may we some country and state name missing from this list.    
  • Entity Framework with Silverlight and WPF
    ADO.NET ENTITY FRAMEWORK USING (SILVERLIGHT AND WCF) The ADO.NET Entity Framework enables developers to create data access applications by programming against a conceptual application model instead of programming directly against a relational storage schema. The goal is to decrease the amount of code and maintenance required for data-oriented applications. E […]
  • Dropdown cascading in mvc 3
    Hello Friend, Here we have gave demo for Dropdown cascading in mvc 3. Using following step. Download source code => Dropdowncasceding.rar Step 1 First create model One for Country and Second for State like below. Country.cs Here we have create property lstCountryList for bind country list and lstStateList for bind state list. State.cs Step 2 Create contro […]
  • Contact Us form in MVC 3.0 with Captcha
    Hello Friend, Here I have gave demo for Contact Us form in MVC with Captcha. Download Source Code :=>ContactUsFormInMVC3.rar Result. Check All Validation Captcha Validation Email Successfully send Now start coding. Step 1. Create model ContactUs.cs Captcha.cs  Step 2. Create Controller CaptchaController.cs ContactUsController.cs Note Please set your SMTP […]
  • Kendo UI Chart
    Kendo UI is a 3rd party control dll which is a part of Teleric controls. It is very usable and more interactive controls which can be implemented to MVC architecture, HTML, PHP and ASP.NET Here I introduced the “Kendo UI Chart” controls and demo links. “Kendo UI Chart” provides different type of charts such as Bar chart, Line chart etc with very customized a […]
  • Select all check box in MVC
    Hello Friend, Here we have give demo for Select all check box in MVC with jQuery Following below step. Download Source Code :=> SelectAllCheckBox.rar 1. Create Model : Here we have create “MdlStudent.cs” 2. Create Controller :Here we have create “StudentController.cs” controller. 3. Add View : Create Strongly typed view look like below.  4. jQuery Code : […]
  • Hello World in MVC 3.0
    Create Hello world application in MVC 3.0 Getting Started You have need to MVC 3.0 and .Net framework 4.0 installed on your PC for implementation of Hello World in MVC 3.0 Download source code => HelloWorld.rar 1.  Create a new MVC 3 Web Application, Open Visual Studio 2010 > File > New Project > Select the language (C# or VB.NET) > fr […]
  • Add Dropdown for Main Menu in Drupal7
    hello friends, if you want to add drop down to main menu item then open your template.php file of your theme Replace below code By below code Use below code to where you want to dispaly main menu
%d bloggers like this: