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
  • An error has occurred; the feed is probably down. Try again later.
%d bloggers like this: