AJAX :: PageLoad Suddenly Stopped Working?

Jan 12, 2010

[code]....

AJAX :: pageLoad suddenly stopped working?

View 9 Replies


Similar Messages:

AJAX :: Control Toolkit Suddenly Stops Working With Calendar

Dec 15, 2010

This is not a big issue since it's quite easy to bypass by making a new project and copying everything on it, but it bothers me quite a bit that I can't figure out what it is about. In short my calendar and calendar extenders stop working suddenly. The last time this happened I made some changes to the pages code behind, then hit undo gazillion times to go back to the last save. After that I hit debug and lo and behold: calendar did not respond to any clicks and any text field with calendar extender did not show calendar on clicking them.

This happens in both IE8 and FireFox 3.6 and no amount or restart, rebuild and other such tricks do nothing. The only thing that I can figure out to solve the problem is either use a backup copy of a version that works or make a new project and then copy all the files from the not working into the new/earlier version and all works again. I was able to track down that this seems to relate somehow to AJAX as when I ran the debug I mention above, I got error messages on the web page saying something about AJAX. This however happened only once and I cant get it to happen again (and thus can not remember much about what it said).

Also when I debugged the event handling the calendar click, I get an error message like this: There is no source code available for the current location Then it opens a file search window trying to find some cs file inside the ajax control toolkit. However this only happened the first time I tried debugging the event and I can't remember more details about it. Now I just get that error message when debug exits the event.

So end analysis on my part: The ajax control tool kit gets knotted up all of a sudden for some mysterious reason and is tied to that particular project. Can anyone tell me what this could be about?

View 8 Replies

AJAX :: Toolkit Has Stopped Working

Jan 27, 2010

Am in the middle of developing 2 projects and my AJAX Toolkit has stopped working, which is also stopping my designer filers being generated. Have the same problem in both projects. A sample error is below: Warning 3 Generation of designer file failed: Unable to create type 'cc1:CollapsiblePanelExtender'. Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

C:UsersHuwDocumentsMy
Web SitesRegent2Regent2Master.Master 169 0 Regent2

View 1 Replies

AJAX :: 3rd Cascading Dropdown Stopped Working?

Aug 13, 2010

I'm having a problem with my 3rd cascading dropdown no longer displaying the list. I've obviously made a change somewhere but I cannot see it so I'm hoping some extra eyes will spot the problem. If it matters, I am using VWD 2010 Express, SQL Express, .NET 4.0I have checked the datasets and they are returning the proper list based on the input criteriahere is the pertinent code:

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
District: <asp:DropDownList ID="DistrictDropDown" runat="server" Height="20px" AutoPostBack="true"

[code]...

View 1 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

AJAX :: PageLoad Not Working On Firefox, Chrome Or Safari?

Apr 3, 2010

I've had an issue with a javascript menu not working inside an Ajax update panel after the ajax postback. I was able to solve this in IE by calling the menu js function with a pageLoad() function which is automatically called by ajax. However I then discovered it doesn't work in any other browser.

Having search around I've only found two references to the issue; one where someone else has found the same thing and another where someone states that pageLoad isn't stable in other browsers.

Is there any way to solve this issue in browsers other than IE?

View 1 Replies

File Upload Stopped Working - Only Working For About 100KB

Jan 10, 2010

Until the Dec 29th my website was working fine. Then My fileupload problems started happening. My fileupload page would simply quit and say the page can not be found. I maximized all my timeout settings and that did not work. I called my hosting company and apparently they have no problem using my page to upload files from their geographical area. So then I concluded it might be a network problem. I ran a trace route and could not really figure out where the problem was. So, I have no idea what is going on. Is it possible that my site is being blocked by some black list out there somewhere?

View 3 Replies

Web Forms :: Page Working But Suddenly Doesnt?

Sep 24, 2010

I have a severe problem. This code was working not 3 hours ago and has been for days, and suddenly it stopped.

Here's the web page code:

[Code]....

And here's the Back end Code:

[Code]....

We have clients that can't access the website and it's causing major issues so I need a response as soon as possible with any suggestions or ideas.I'm using a recursive search and the error I'm getting is:

Unable to cast object of type 'System.Web.UI.Control' to type 'System.Web.UI.WebControls.Label'.

View 1 Replies

Web Forms :: Panel Set To Visible Is Suddenly Not Working When It Did Before And No Code Changes?

Jan 20, 2011

We have an asp.panel that by default is set to visible=false. When a checkbox is clicked the panel is set to visible=true. The checkbox is set to autopostback and viewstate=true as well as the panel's viewstate =true. This code has worked perfectly for several years and suddenly it has started throwing an error on the built in .net java function below. It doesn't do it in the IDE when you run it either. The bold line is where the exception is being thrown.

function

ValidatorCommonOnSubmit() {
var result = !Page_BlockSubmit;
Page_BlockSubmit = false;
event.returnValue = result;
return result;
}

View 5 Replies

Web Forms :: FileUpload For Images Stopped Working

Apr 16, 2010

I have a web app that allows users to upload images. Last week, all was well. This week, it appears the code is breaking. Here is the code:

Protected Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click
If FileUploadControl.HasFile Then
Dim month As String = ddlMonth5.SelectedValue
Dim year As String = ddlYear7.SelectedValue
' Dim whatis As String = FileUploadControl.PostedFile.ContentType
Try
If (FileUploadControl.PostedFile.ContentType = "image/jpeg") Or (FileUploadControl.PostedFile.ContentType = "image/pjpeg") Or (FileUploadControl.PostedFile.ContentType = "image/gif") Or (FileUploadControl.PostedFile.ContentType = "image/x-png")
Then
Dim fs = New FileStream(FileUploadControl.PostedFile.FileName, FileMode.Open, FileAccess.Read)
'save file with new size
Using image As System.Drawing.Image = System.Drawing.Image.FromStream(fs)
Using bitmap As New Bitmap(image)
bitmap.Save("C:WebsitesimagesCusRespData.jpg", image.RawFormat)
bitmap.Save("C:Websitesimages" & month & year & "CusRespData.jpg", image.RawFormat)
End Using
End Using
StatusLabel.Text = "Upload status: File uploaded!"
fs.Close()
fs = Nothing
Else
StatusLabel.Text = "Upload status: Only .jpg,.jpeg,.gif and .png files are accepted!"
End If
Catch ex As Exception
StatusLabel.Text = "Upload status: The file could not be uploaded. The following error occured: " & ex.Message
End Try
StatusLabel.Visible = True
End If
End Sub

On the development side, I see this error: The file could not be uploaded. The following error occurred: Could not find a part of the path. On the production side, this occurs: The following error occured: A generic error occurred in GDI+.

View 4 Replies

Crystal Reports :: Webserver40.exe Has Stopped Working?

Sep 6, 2010

I've just upgraded a visual studio.net 2003 project (asp.net 1.1) to visual studio.net 2010 (asp.net 4.0). I'm encountering a problem with viewing Crystal reports. I'm using Visual Studio Development Server as a Web Server.

When I try to create a new report (via code that worked fine previously) the line below causes the webserver40.exe to crash.

Protected WithEvents MyRep As New CrystalDecisions.CrystalReports.Engine.ReportDocument

I've got Crystal Reports 11 installed.

View 1 Replies

MVC :: Target 3.5 With ViewData - Code Stopped Working

Mar 26, 2011

I'm just getting started with MVC and I created a new MVC 2 C# project. Visual studio defaults it to .net 4 but since my hosting provider is still on 3.5 I went into properties and set my project to target .net 3.5. However when I did this a piece of my code stopped working.

<%: ViewData["result"] %>

I get a compilation error saying

CS1525: Invalid expression term ':'

View 1 Replies

Security :: Forms Authentication Stopped Working IE8?

Feb 9, 2010

I'm using IE 8 v.8.0.6001.18882

After upgrading ie my login form that uses forms authentication stopped working.

After studies find that IE8 has problems with the authentication cookies.

With all other browsers work perfectly.

My settings in web.config.

[Code]....

I tested all the values of being the only one that works is the UseUri but I do not control cookies in this way.

View 3 Replies

HttpHandler For 404 Error Stopped Working After 4.0 Upgrade?

Feb 15, 2011

I have an HttpHandler which takes care of 404 errors, which I implemented years ago as a way of doing url routing. If the request maps to a valid page, it redirects to that page. Otherwise, it returns a 404. (I know I should start using the new routing feature of asp.net 4.0, but that will take some time. I need to get this working asap.)

In IIS6, I have mapped the 404 error to "/404.ashx". In the web.config, custom errors are set up like so:

<customErrors mode="On" defaultRedirect="error.aspx">
<error statusCode="404" redirect="/404.ashx"/>
</customErrors>

and the http handler:

<httpHandlers>
<add verb="GET" path="404.ashx" type="myNamespace.PageNotFoundHandler,myAssemblyName"/>
</httpHandlers>

This has been working for years - it stopped working as soon as I changed the site to use asp.net 4.0. Everything was recompiled for 4.0, and there were no code changes.

Now, when I hit one of these urls that used to work, I get a blank page with a 404 error code. If I remove the IIS 404 error mapping, I get a regular old 404 page. It seems that the httphandler is not being called.

I have other http handler which are working fine. I figure there must be some configuration setting I missed or something like that. Naturally, this is a problem only on my production server, so I can't run it in the debugger to see what is happening.

View 1 Replies

Configuration :: Services Stopped Working On Subdomain?

May 14, 2010

I have some services deployed on [URL]I want to move them to [URL]. I have [URL] physically hosted & has its own web.config file. No inheritance issues...

I configured the subdomain (through my host--I don't actually own the web server) so that the subdomain is physically hosted & made sure it's running as an IIS application.

When the services lived on [URL], I used the following address prefixing in web.config:

[Code]....

Now that they're on [URL], I modified the web.config to read:

[Code]....

<serviceHostingEnvironment aspNetCompatibilityEnabled="true">

View 1 Replies

Web Forms :: User Control Stopped Working After Upgrading?

Aug 25, 2010

I have a c# control class inside of a dll, then this control is embedded in a web page in an asp.net application by using the object tag. When the dll is compiled with .net 3.5 sp1 and the web application also runs in .net 3.5 sp1, the code works fine. But when the dll is compiled in .net 4.0 and the web application runs in 4.0, the control does not show up in the web page. All I see is a box with an object icon in the upper left corner.

View 1 Replies

Visual Studio :: WebDev.WebServer20.exe Has Stopped Working

Jul 28, 2010

Using VS2010 Pro, I started up an web site and got the message "WebDev.WebServer20.exe has stopped working" - a very similar problem was reported at

[URL]

I checked C:WINDOWSassembly and found that System 2.0.0.0 was missing (again!), reinstalled it but still got

""
System.ArgumentOutOfRangeException was unhandled

View 4 Replies

Visual Studio :: Development Server Has Stopped Working?

Jan 6, 2010

Came into work this morning and discovered that my local asp.net developmentn server has stopped working. Im getting the following page :

[Code]....

Im running visual studio of my personal PC withing my company's network.

View 3 Replies

Security :: Forms Authentication Across Applications Stopped Working?

Jan 12, 2011

I have a .net 1.1 ASP application (domain.com) which has a .net 2 virtual directory (domain.com/v2) beneath it, both applications run within their own app pool on the same Windows Server 2003 machine running IIS 6. The web.config files for both apps are setup for Forms Authentication as described here - [URL]

Users would be directed to the domain.com/v2/login.aspx page which would authenticate for both applications, this configuration has been working fine for the last few years until installing one of the recent Windows 2003 security updates today. Now after authenticating under /v2 users keep getting redirected back to domain.com/v2/Login.aspx as domain.com doesnt see them as authenticated anymore.

which security update would have caused this and if its possible to fix or rollback?

View 4 Replies

Visual Studio :: Breakpoints Stopped Working During Debugging?

Sep 3, 2010

I had the strangest bug yesterday while trying to debug in vs.net 2005....

I had an '05 web application. I clicked the "Run" button to start debugging, and the webpage popped up fine. I could run through the pages fine. Everything seemed fine....UNTIL!

Until I tried to start inserting breakpoints into my code. The application ignored them. In addition, I noticed my little green visual studio "Start Debugging" arrow (which is normally greyed out while in debug mode) was green. It was as if visual studio completely detached itself from my website I was trying to debug.

After playing around with it for a while, I realized I also had a vs.net 2008 solution open as well. My '08 solution wasn't in debug mode or anything, it was just sitting there open. I just happened to close it, not thinking anything of it, and presto! My 2005 debugger started working again!

So basically, I can't debug an '05 solution (or at least a web solution, as that's all I tried) while I also have an '08 solution open.

View 2 Replies

Web Forms :: Button Click Stopped Working After It Worked For Some Time?

Mar 17, 2011

Iam working on VWD express 2010, and things were going well, when the VWD crashed.I recovered my work and and realized that my controls stoped firing events.I removed and added button again, but in vain. I set "AutoEventWireup" and reset it also, but no use.I changed the code onto multiple systems. But the events wont fire. (I kept breakpoints also) My Web.config looks like this

[Code]....

And my page directive looks like this

[Code]....

And the non working code bit is this

[Code]....

View 4 Replies

Forms Data Controls :: Datagrid Edit Stopped Working - How To Fix It

May 4, 2010

I have been using a datagrid on various pages. For some reason it stopped working. When pressing the Edit to make a change to the record, the page posts back two times and the record does not go into the edit mode. I am using IE 7 for my browser. Below is my code.

[code]....

View 7 Replies

Forms Data Controls :: Buttons Stopped Working - Except Cancel

Aug 19, 2010

I'm still building). After loggin in, users are presented with 3 radio buttons (they work), and 3 cascading drop downs (they work). Below that is an AJAX Accordion with 5 panes, each pane has a tabpanel with 4 tabs, 2 of the tabs have gridviews that change based on who is logged in and the radio buttons and dropdowns above

View 1 Replies

Visual Studio :: 2010 Stopped Working When Close Website?

Sep 18, 2010

i have installed latest vs 2010 ultimate on windows 7

it works fine but as i want to close a website it sayas vs has stopped working restart/debug

what should i do?

View 2 Replies

Working With Threads On Pageload?

Feb 15, 2011

When my asp.net page loads,it needs to get data from 2 webservices.I want to make the data retrieval processes work concurently.How can I do this and update Label1 with the text result from WS1 and label2 with the result from WS2?I don't know how the code should look like in order to be able to update the controls on the page.

View 1 Replies







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