Here, 'ProductInfo' is a class inside an asmx file, which have certain methods that get called from javascript.The code functions well on my local and the dev server, however does not work on the QA server. When we browse the site in the QA server, and try selecting a value from a drop down list, which should use the ajax function to populate another drop downlist, I get the error "ProductInfo does not exist"One difference (don't know how much that contributes to the problem) between the dev and QA server is that, there are 2 servers on QA that are load balanced.
I have an ASP.NET web application(webforms,not MVC) developed in VS 2008 and i have implemented ASP.NET web forms URL routing by following this link [URL]
It works pretty good when i run it on the Visual studion IDE.But does not works when i created a site under my IIS (IIS 5.1 in XP) and deployed the same files there.I have set ASP.NET version as 2.0 in the Properties window of my application too.But does not work.
I have an ASP.NET web application(WebForms,Not MVC) developed in VS 2008 and i have implemented ASP.NET web forms URL routing by following this link [URL]It works pretty good when i run it on the Visual studion IDE.But does not works when i created a site under my IIS (IIS 5.1 in XP) and deployed the same files there.I have set ASP.NET version as 2.0 in the Properties window of my application too.But does not work.
I'm trying to add a "max-age" header to my response. It works fine on my Visual Studio Development Server, but as soon as I move the app to IIS (tried both IIS express locally and IIS on the server) - the header disappears.
My code:Response.Cache.SetCacheability(HttpCacheability.Public); Response.Cache.SetMaxAge(new TimeSpan(1, 0, 0, 0));
VS Dev server response (all works just fine):
HTTP/1.1 200 OK Server: ASP.NET Development Server/10.0.0.0 Date: Fri, 07 Jan 2011 14:55:04 GMT[code]......
I have a search panel in my master page, which seems to be getting called when typing in another panel and hitting enter, even though the panel has a different defaultButton. The weird thing is the second and third panels work well, which ever one I put at the top calls the search button.
I have a hosted site and just added some additional error notification to my global.asax file and works like a charm. I decided to add the same logic to our test server and it doesnt work. The server.transfer never happens and the email never gets updated. Now i know the email works on the test and production server since we have other pages that use the same SMTP server name and setup as i have in the global file. Below is my code as it is in the file now. I setup a test page to cause an error and the page displays the detailed error which we dont want. But i would like to be notified if this happens. What am i missing? I can only assume that its a IIS confige issue, since the exact same code works on a hosted site, but not at work on our test or production servers. Here is the code i have in the global.asax
I have weird issue here, I have a method that takes a login Id and authenticates with LDAP active directory and returns the employee Id. It works great when I run the application in Visual studio 2008 ( it uses the default visual studio developement webserver). The code authenitcates the login id and returns emp Id perfectly. But the problem comes when I publish the code to the Local IIS in my developement PC.
I am tring to use Jquery autocomplete into my asp.net 2.0 application, I have all necessary file in place, I tried to worked on , but it seems like this is not working,can some one tell me that is asp.net 2.0 application without using AJAX toolkit works with Jquery autocomplete or it does not work?Note: this is plain asp.net 2.0 web application, it is not using AJAX.
I have website home page which my client can view well on his blackberry mobile phone but I have link buttons on that page which redirect the users to other pages ..just Response.Redirect ............simple code.... but when he clicks on the link, it requests for enabling javascript..I do that but the home page just does a postback. Links are not working on cellphone........... on regular website they are working fine.
It works great the first time it runs, but after that, on subsequent saves it does not run. This only happens in Internet Explorer (7 and 8) it works fine in Firefox and Chrome.
I got my autocomplete extender working perfect on our old 2000 server running IIS 5.0. When I attempt it on server 2003 IIS 6.0, there is no autocomplete effect taking place. I have the same DLL's toolkit and system.web.extensions in the bins and even ran the msi installer on both. And servers are .net 2.0.
I have a page with features supplied from both a master page and a child master page.In the content placeholder for the head in both master pages I have supplied the link to the stylesheet for the site.In Design View in VS 2008 the CSS code seems to be functioning correctly.When viewing in a browser the CSS does not appear to be applied at all.
Here is the CSS code for the div elements within the main content placeholder:
I have a problem with partial postback in FireFox in my index.aspx I have following code:
[Code]....
Finally my Partialview has following content:
[Code]....
This code is working fine when using IE or Google Chrome, but when using FireFox the code in my controller is never reached. I just can't figure out what I am missing
I'm running ASP.NET 3.5 and using the AjaxControlToolkit.dll version 1.0.20229.42809 (reference locally in the in). This works fine on my machine. When I deploy to a server and the DLL in the bin is replaced with a newer version such as 3.0.30930.28736 I get the following error:
Could not load file or assembly 'AjaxControlToolkit, Version=1.0.20229.42809, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' or one of its dependencies ...
This is fixed by using the bindingRedirect in the Web.config.
I like to know why ASP.NET doesn't automatically use the newer version of AjaxControlToolkit and needs the bindingRedirect to force it? I thought these DLLs are built to be backward compatible?
I understand that probably this is not good forum for asking this question, but I'm a bit dissapointed, and I don't know where I can found answer to my question. Here is my problem. I've got a page that has dynamically loaded content with innerHTML like below:
[Code]....
Everything works fine .. since I wanted to have gif shown when page content is loading. But now I would like to after loading innerHTML content to execute javascript function to create pieChart of something. The problem is that I have to use document.getElementById()function, but it does not works with content loaded dynamically. I mean, Lets say that inside page loaded by innerHTML we've got a form which id="A" when instead pieChart() in above code i will use document.getElementById('A') it does not return my form. I've checked this in IE7 with no effect, ffox also does not seems to work. The only one browser that works at the moment is Chrome.
AutoCompleteExtender (4.1.4.0) in update panel in user control (ascx) and webservice under his ascx.vb and doesn't works.
So I've tested the same markup and webservice method in a simple aspx page and works, so I've some doubt:
- AutoCompleteExtender works in ascx file with webservice function under his code?
- AutoCompleteExtender works in an update panel?
I've always problem to create webservice method using wizard on the control, it return always: Cannot create page method GetCompletionList because no CodeBehind or CodeFile was found! - but I've CodeBehind file..sure!
I have an asp web app contains ajaxtoolkit's controls. Everything is working fine on VS Development Server, but doesn't on IIS7 (win 2008).
The AjaxToolkit's scriptcombine sometimes is not working (resulted http 404 status code on browser). Maybe causes by long TSM_HiddenField query string on complex toolkit's controls.
I am developing full ajax web app. So I need to develop google crawlable app, also I must create snapshot for googlebot.Do you know headless browser works with javascript and ajax for ASP.NET ?I found XBrowser but right now it hasn't JavaScript support.
I can't figure this one out. The pop up works data comes from web service and fades away pretty well in FireFox. In IE 8 the box has no width and you only see anything happening if the box below bottom of page showing you a vertical scrol bar as confirmation. [Code]....