Web Forms :: Autocompleteextender Not Working In HTTPS

Aug 11, 2010

I have ajax autocompleteextender and it is working fine with our test enviornment where we dont have secured HTTP. But while moving the code to Qa, which runs on HTTPS, AutoCompleteExtender stops working. I debugged and see control is going to webservice but unable to fetch data or call database from webservice.

View 1 Replies


Similar Messages:

Web Forms :: Upload Multiple Files Using JQuery Not Working In HTTPs?

Sep 26, 2012

I am using the following code to upload multiple files:

// Upload Source Code -HANDLER upload.ashx
<%@ WebHandler Language="C#" Class="Upload" %>
using System.Collections.Generic;//using System.Linq;using System;

[Code].....

View 1 Replies

AJAX :: AutoCompleteExtender Both Working And Not Working?

Sep 9, 2010

[Code]....

In the upper code... AutCompleteExtender1 works perfectly... AutoCompleteExtender2 not working at all. Same web service, same method... both are inside the same .aspx file... both have exactly the same conditions.What is it that I am missing? And if you think that it is because they both calling the same service and method it is not... the second doesn't work with different service or different method (both inside the same service and in the different .asmx file).Can it be, that you simply can't have 2 ACE controls on the same page?And btw, is it possible to run server code once someone selects something from ACE control?

View 8 Replies

AutoCompleteExtender Not Working?

Jun 25, 2010

following is the code i am using and it is not working.

<asp:TextBox ID="txtWarrantNumber" runat="server"></asp:TextBox>
<AjaxCtrl:AutoCompleteExtender ID="acWarrantNumber" runat="server" TargetControlID="txtWarrantNumber"
ServiceMethod="GetWarrantNumber" ShowOnlyCurrentWordInCompletionListItem="true"
CompletionInterval="100" EnableCaching="true" MinimumPrefixLength="1" CompletionSetCount="4">
</AjaxCtrl:AutoCompleteExtender>
</ContentTemplate>
</asp:UpdatePanel>
</PopupTemplate>
Public Shared Function GetWarrantNumber(ByVal prefixText As String, ByVal count As Integer) As String()
Dim warrantNumbers() As String = {"ankit", "sachin", "ankrrr", "ankppp"}
Return warrantNumbers
End Function

View 1 Replies

AutoCompleteExtender Not Working For WebService

Sep 3, 2010

I have a web service file in my project having a web method which is used for AutoCompleteExtender and which works fine when I debug it from VS. But when I publish and host it on IIS, it's not working properly. However, I tested the webservice method directly by typing the URL and it gave the desired output. Is their a special setting needs to be done in IIS to make it working or any property of AutoCompleteExtender need to be set?

View 3 Replies

AJAX :: AutoCompleteExtender Is Not Working?

Nov 16, 2010

i have used fallowing code

<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<cc1:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server" TargetControlID="TextBox1"
MinimumPrefixLength="1" ServiceMethod="GetNameInfo" ServicePath="WebService.asmx">
</cc1:AutoCompleteExtender>........

View 1 Replies

AJAX :: AutocompleteExtender Not Working From IIS?

May 24, 2010

I am using AjaxAutoCompleteExtender in my asp.net program (C#) . I am applying the extender to a texbox and using internal Web Service. I am getting the desired result, when i am running from the development environment. After Publishing the site to IIS, I am not getting the list and not showing any errors. I have turned off custom errors. My website is not an Ajax Enabled WebSite. So i added the lines into my Web.Config.I tried all service path.. http://localhost/Test/ WebService.asmxhttp://192.109.1.8/Test/WebService.asmxand i tried ~/Test/WebService.aspxWhile testing from the development environment, i am using the last one.I am not sure whether this is the problem with the service path or any permission issue.

View 3 Replies

AjaxControlToolkit - Can't Get AutoCompleteExtender Working

Jan 28, 2011

I can't get the AutoCompleteExtender working. It's probably something trivial. Using .NET 4 default ASP.NET project in VS2010.

Code:

<asp:TextBox runat="server" ID="example" autocomplete="off" />
<ajaxToolkit:AutoCompleteExtender
ID="autocomplete"
runat="server"
TargetControlID="example"
ServicePath="~/services/AutoComplete.asmx"
ServiceMethod="GetCompletionList"
CompletionInterval="1" />

The web service works - the code is copied practically verbatim from the AJAX Control Toolkit samples. This is really frustrating me. I have looked at other questions on here and not found a solution yet.

I don't get any errors or exceptions. Typing in the text box doesn't do anything, the web service doesn't hit the break point.

View 3 Replies

AJAX :: AutoCompleteExtender Control Not Working

Feb 15, 2010

I tested the web service.it is working fine.The problem that i want to solve is to make call to webservice. Here is the .aspx code

<asp:TextBox ID="txtFullName" runat="server"></asp:TextBox>
<ajaxToolkit:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server"
TargetControlID="txtFullName" ServiceMethod="FindFullName"
ServicePath="../WebService.asmx" EnableCaching="true"></ajaxToolkit:AutoCompleteExtender>
Webservice code :
using System;
using System.Web;
using System.Collections;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Configuration;
using System.Data.SqlClient;
using System.Data;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// Summary description for WebService
/// </summary>
[WebService(Namespace = "[URL]/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.Web.Script.Services.ScriptService]
public class WebService : System.Web.Services.WebService {
public WebService () {
//Uncomment the following line if using designed components
//InitializeComponent();
}
[WebMethod]
public string HelloWorld() {
return "Hello World";
}
[WebMethod]
public string[] FindFullName(string prefixText)
{
string sql = "Select FName from Investigators Where FName like @prefixText";
SqlDataAdapter da = new SqlDataAdapter(sql,"Data Source=vvvvv;Initial Catalog=vyyyd;Persist Security Info=True;User ID=PowetttrUsyyer;Password=888888);
da.SelectCommand.Parameters.Add("@prefixText", SqlDbType.VarChar, 50).Value = prefixText+ "%";
DataTable dt = new DataTable();
da.Fill(dt);
List<string> liste = new List<string>();
foreach (DataRow dr in dt.Rows)
{
liste.Add(dr.ItemArray[0].ToString());
}
return liste.ToArray();
}
}

View 10 Replies

AJAX :: AutoCompleteExtender Animations Not Working In IE?

Nov 24, 2010

I am trying to animate AJAX AutoCompleteExtender. It works perfect in all of the browsers other then IE. I get the following error,

Webpage error details

Message: Invalid argument.
Line: 2140
Char: 17
Code: 0
URI: http://localhost/ScriptResource.axd?d=NwDIAxd3d5P9y3NaXF_9DpoTdFVPLX7nvpHgz9k2UbuTIJMahchcjYsB7QgyJBNEN5AwkHSQX9XtraYWzftAj-QWl2x-HjKgpZLOK4_8BpH2e5QNTHyidi5dli30apg7ykR9H4_YOOv3l7baGLbxJ1A5Nfw1&t=4c551fe5

[Code]....

View 1 Replies

AJAX :: AutoCompleteExtender Not Working With WebService?

Feb 24, 2011

I have a textbox with the autocompleteextender in VS2010 that is referencing a webservice. However, nothing I seem to do makes this work as no values are returned when I begin typing in the textbox. When I view the webservice in my browser and invoke it, it returns values so I know that my webservice works. Code below.

<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager>
<asp:TextBox ID="Task1" runat="server" CssClass="CENTER" Width="160px"></asp:TextBox>

[code]...

View 1 Replies

AJAX :: AutoCompleteExtender Not Working With Lots Of Data

Jan 17, 2011

I got the auto complete extender working with the database, but will show the autocomplete only if the data is less than around 500 records.... anything above that, and the exntender will not show at all.... Does the auto complete extnder have a limit on the number of records?.

View 1 Replies

AJAX :: Autocompleteextender Not Working On Deployment Server?

Jul 27, 2010

i have an asp.net application in which i have used autocomplete extender now when i deploy it on the server (2003 and iis 6) the autocomplete extender does not work .. i looked on the net and found out the system.web.extensions system.web.extensions.design dll are needed for it, it was not present so i added them to the gac still it is not working i have .net3.5 sp1 instaled on the server.

View 3 Replies

AJAX :: AutoCompleteExtender Not Working With WebMethod And No Web Service

Jul 18, 2012

I tried your code for Autocomplete without Webservice and didn't work on my page. When I tried it on a new project it works fine but on my project it does not. I have other controls on the page but that shouldn't stop it from working right?

Attached is my code

<%@ Page Title="" Language="VB" MasterPageFile="~/intranet.master" AutoEventWireup="false" CodeFile="warehouse.aspx.vb" Inherits="warehouse" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">

[CODE]...

View 1 Replies

AJAX :: AutoCompleteExtender Not Working Inside UserControl?

Jun 16, 2015

ajax AutoCompleteExtender not working in user control (.ascx) but when use directly on aspx page its working perfectly.

<asp:TextBox ID="txtSearchProject" runat="server" CssClass="input col-lg-4" type="text" placeholder="Type Location or Project/Society or Keyword"></asp:TextBox>
<cc1:AutoCompleteExtender ID = "Act_SearchProject" runat = "server" TargetControlID = "txtSearchProject" MinimumPrefixLength="1" EnableCaching="true" CompletionSetCount="1" CompletionInterval="100" ServiceMethod="GetLocality_Project" >

[Code].....

View 1 Replies

AJAX :: Autocompleteextender Not Working Inside User Control

Jan 19, 2011

Autocompleteextender not working inside an user control tried all ways. i have a custom function.. inside the cs file itself like the following :-

[Code]....

I did something like this and it worked properly when it was in aspx but when i changed all this to ascx and when i added the user control in aspx the autocomplete is not working. say enablecontext = false; i have even tried that.. its not even reaching till that function. moreover i need contextkey to validate different autocomplete controls inside my page.

View 2 Replies

AJAX :: AutoCompleteExtender Not Working - Flashing Javascript Error

Apr 20, 2010

I have one web application which is accessible via to different IP addresses (one of them is virtual) now the application is running smoothly when accessed via the original ip address but when the same application(website) is accessed via the virtual ip address the autocomplete extender is not working it is flashing a javascript error 'Stop running the script? A script on this page is causing internet explorer to run slowly

View 2 Replies

AJAX :: AutoCOmpleteExtender Stopped Working When Added Parameters

Jul 18, 2010

I have added autocompleteextender in page . It was working without parameters , when i have added parameters "pretext","count" it stops working. below are my code :

<div>
<asp:ToolkitScriptManager
ID="ToolkitScriptManager1"
runat="server">
<Services>
<asp:ServiceReference
Path="~/Admin/WebService1.asmx"
/>
</Services>
</asp:ToolkitScriptManager>
<asp:TextBox
ID="TextboxCompletelist"
runat="server"></asp:TextBox>
<asp:AutoCompleteExtender
ID="TextboxCompletelist_AutoCompleteExtender"
runat="server"
ServiceMethod="GetCompletionList"
Enabled="True"
ServicePath="~/Admin/WebService1.asmx"
TargetControlID="TextboxCompletelist"
CompletionSetCount="10">
</asp:AutoCompleteExtender>
</div>
namespace AgentService
[WebService(Namespace = [URL]
[WebServiceBinding(ConformsTo =
WsiProfiles.BasicProfile1_1)]
[ToolboxItem(false)]
[System.Web.Script.Services.ScriptService]
public
class
WebService1 : System.Web.Services.WebService
{
[WebMethod]
public
static
string[] GetCompletionList(string PrefixText,
int count)
{
string countryname;
SqlParameter[] parm =
new
SqlParameter[1];
parm[0] = new SqlParameter("@PrefixText",
PrefixText);
DataTable dt =
SqlHelper.ExecuteDataset(AppSetting.ActivateConnection,
CommandType.StoredProcedure,
"FetchAutoCompleteStates",parm).Tables[0];
List<string> items =
new
List<string>();
for (int i = 0; i <= dt.Rows.Count-1; i++)
{
countryname = dt.Rows[i]["statename"].ToString();
items.Add(countryname);
}
return items.ToArray();
}

View 2 Replies

Aspx Page Giving 404 On HTTPS While Working Fine On HTTP

Mar 17, 2011

Other pages (aspx) are working fine on both http/https, only ashx gives response 404 on https, I used firefox firebug to investigate it.

I have two same virtual directory on IIS, one is mapped for https where this ashx is not working.

I guess some kind of mapping is missing for https on server, not sure where this kind of mapping is stored?

View 1 Replies

AJAX :: Autocompleteextender Not Working With Master Page Using Page Method?

Jan 20, 2010

i have tried autocompleteextender using page method and without master page and its working. but now im try to put them into master and its not working. this is my code***********pagename.ascx

<%@ Control Language="VB" AutoEventWireup="false" CodeFile="C_TestAutoComplete2.ascx.vb" Inherits="C_TestAutoComplete2" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

[code]...

View 1 Replies

Web Forms :: How To Use HTTPS In Website

May 7, 2015

How to achieve this security feature which is shown in url bar (https) ?

View 1 Replies

Web Forms :: Which Autocomplete For Textbox Is Better In JQuery Or AutoCompleteExtender

May 15, 2012

Which is best one to autocomplete textbox whether ajax autocomplete or jquery autocompleteĀ ....

View 1 Replies

Web Forms :: File Transfer Over HTTPS?

Feb 8, 2010

I wrote a code to send file as below:

[Code]....

When I tried to send file to the URI stated above, the server throw the status 400 back to me when I tried to get the response from the server, and the https server doesn't receive any file. While I changed the URI to point to another server, which is a http server, the code works fine and able to send file to the server. I would like to know why the code above is not able to send the file to the https server?

PS:

[Code]....

View 7 Replies

Web Forms :: Upload A File By Using HTTPS?

Apr 19, 2010

I don't know which forum to post.

I need my asp.net application upload a file (some times the size is around 500M) from client to server.

I tried to use <input type="file" in website, and code with[Code]....

ļ¼¢ut this is HTTP protocol, right?

Is there any security protocol to upload from a web page, such as using protocol HTTPS?

if there is, can anyone provie me a sample or url?

View 1 Replies

Web Forms :: How To Do HTTPS Redirect In Website

May 7, 2015

I purchased a certificate from my hosting provider from my web site. There was some confusion as to whether I needed to use IIS to install it or if they would. After a few days and several phone calls they said they had it installed and configured, but when I tried to set up rewrite rules in web.config the site would not load. When I point my browser to https:mydomain it would load, but there was not green lock in the address bar and 'HTTPS' was not green. I contacted them again and after explaining the situation and being put on hold for 45 minutes I hung up. This morning the the site is working and HTTPS appears to be configured correctly.

I could find no changes to web.config on redirection, so how is it being redirected to HTTPS? I'm concerned that when I post changes to the site I could wipe out what ever they did to get it to work with HTTPS. Could changes been made 'above' my site on the server that I can't affect? Should I be concerned?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved