Showing posts with label website. Show all posts
Showing posts with label website. Show all posts

Monday, March 26, 2012

Windows XP-Like Folder Browser

Hi I'm not sure whether I'm posting to the correct place. I am trying to create a page that allows users to create a page to my website. This page contains a "Store" button, which when clicked calls a popup window (using ModalPopupExtender), which will then prompt the user where the page is to be stored. I was thinking of making this popup look similar to a "Save File As..." dialog box in Windows. My problem is I have no idea what controls to choose or how to even start on this popup. I am fairly new to asp.net and ajax and would like to hear your feedbacks/suggestions. Thanks.Hello gulrnpink,

why not to use the standard one? Just prepare the file to store and use the
following code for this

Response.Clear
Response.AddHeader("Content-Disposition", "attachment; filename=" + targetFile.Name)

Response.AddHeader("Content-Length", targetFile.Length.ToString)
Response.ContentType = "application/"
Response.WriteFile(targetFile.FullName)

g> Hi I'm not sure whether I'm posting to the correct place. I am
g> trying to create a page that allows users to create a page to my
g> website. This page contains a "Store" button, which when clicked
g> calls a popup window (using ModalPopupExtender), which will then
g> prompt the user where the page is to be stored. I was thinking of
g> making this popup look similar to a "Save File As..." dialog box in
g> Windows. My problem is I have no idea what controls to choose or how
g> to even start on this popup. I am fairly new to asp.net and ajax and
g> would like to hear your feedbacks/suggestions. Thanks.
g>
The page will actually be stored in a table called directory, which will then be called by another page using a treeview structure. This "Folder Browser" control will be populated using the data in my directory table. The control will not be displaying the folder structure within their Windows OS. Any suggestion? Thanks.

I think you can use Membership class which is built in .NET 2.0

There you can create profile per user and about storing page you have to create folder in web root

Store the pages under that folder


Actually, before users can access my website, they are prompted to enter their logon credentials. When the logon info entered has a match in my user table, the user is then granted access to my website. Things displayed inside the website will vary depending on the user's rights.

The thing I am looking for is how I can create a folder browser much like a Windows XP's "Save File As..." dialog. In this dialog box, I am planning to have a "Path" area where in the parent folder (first level) is displayed on the top maybe using a dropdownlist by default with a box underneath containing all the subfolders at the second folder. If such subfolder contains subfolders (third level), then double-clicking on that particular folder will cause its subfolders to be displayed and replacing the "Path" area to display the parent folder of the subfolders currently being displayed. All of the said folders will be coming directly from a table in my Oracle database. I can't find any documentation to help me get started on this project. Any suggestions?


Checkout the following, it has a nice filebrowsing features based upon update panel:
http://mattberseth.com/blog/2007/07/ajax_style_folder_browser_part.html
http://mattberseth.com/blog/2007/07/hwo_to_create_an_aspnet_ajax_s.html


Thanks, Kazi. Those were some helpful sites. I can use the gridview technique to populate my child nodes. My only problem now is how I would be able to populate the dropdownlist above the gridview to show a treeview structure of my whole directory. Thanks.

I think you can modify it to suite your need.


Thats cool example

Wireless troubleshooting

Hi,

I have a website (asp.net - ajax) hosted in a computer. I can access it through internet. Everything works fine except when the client computer has wireless mouse, when i access the website with that kind of machine the mouse cursor get very slow. I accessed thewww.asp.net web site and got the same problem. Seems to be an AJAX incompatibility.

Any suggestions?

Thanks

Fcvl

Ajax has nothing to do with hardware nor the mouse.. asp.net has been going through some upgrades live (I would presume) - no anything that is being slow is either the connection the pc in question has and is really slow or the device driver for the mouse (or maybe the mouse is low on battery juice) would be the issue...

Without installing Atlas, Website application is not working in IE

Hello,

I am developing Website Application using VS 2005 with .NET 2.0 and Atlas June CTP. I am using Atlas framework in the existing project. Hence I have added reference of Atlas.dll and modified Web.config

In the project, I have one user control (ascx) and one aspx page. The user control is included in aspx page. The user control has two dropdown lists. The second list is getting populated depends upon the selected value from first list. This is done by using Atlas. The UpdateControl is added into this page. The Script manager is added in aspx page.

If the application is launched on the machine where Atlas is installed, it works only on that machine in both browsers (IE and FireFox). It is not working if anybody accesses this website remotely through browser from machine where Atlas is not installed.

If the application is launched on the machine where Atlas is not installed and accessed the local website through browser, the "SelectedIndexChanged" event is not getting triggered. If I add "ScriptLibrary" folder in the application, it is working in FireFox but not in IE. In this case,do I need to add any assemblies apart from Atlas.dll to make it work in IE and without installing Atlas?

Thanks in advance,

Milind

hello. the atlas dll is the only thing you need to have in your bin folder to get the updatepanel working. btw, how are you accessing the web site from the machine that has the app installed? are you using localhost/... or localhost: portnumber/... (ie, are you using the internal server or IIS when you access the site on the server?)


Hello,
I am accessing localhost using IIS.
On the test machine (where Atlas is not installed), if I deploy website application which has Atlas.dll and ScriptLibrary folder, "SelectedIndexChanged" event is getting triggered for FireFox but not in IE.

Thanks,
Milind

hello again.

weird stuff...btw, is this a public url we can see?

Saturday, March 24, 2012

Without installing Atlas, its not working in IE

I am developing Website Application using VS 2005 and Atlas June CTP. In the application, one page contains user control which has two Dropdown lists. Depending upon the value of first dropdown list, using Atlas, second list will get populated. I have added UpdatePanel control in user control (ascx page) for second list and Script manager in aspx page. I have added reference of Atlas.dll and modified Web.config also. This is working in IE and FireFox.
If I uninstall Atlas and run the application, it's not working in IE. To make it work in FireFox, I need to include "Scriptlibrary" folder into solution. But in IE, "SelectedIndexChanged" event is not getting triggered.
The application is working fine for both the browsers on machine where Atlas is installed. Which other assemblies are required to run Atlas on the machine where Atlas is not installed?

Thanks in advance,
Milind

hello.

well, if you're not using the atlas toolkit, then you only need the atlas dll.


Hello,
I am not using Atlas toolkit. Atlas.dll is already present in the "Reference" but still it's not working. Everything is working fine on developer's machine where Atlas is installed.

Thanks,
Milind

hello again.

the only thing that occurs to me is if the web site is not configred as a web app or is not using asp.net 2.0...

working AJAX with a paging user control

Hi,

I am currently working with embedding AJAX into a previously developed website, and until now have had no issues, what i am trying to do i am not sure is possible, let me explain...

I have a simple web form which contains a repeater, and a user control (which is used for paging "ucPaging"), this user control has a dropdownlist embedded in it. I want the drop down list to fire an AsyncPostBackTrigger to the upnlPlayers update panel, and the repeater to use the SelectedValue of the dropdownlist in the paging user control.


I have tried to create a new AsyncPostBackTrigger in the code behind of the main aspx page, but at runtime, it says that the dropdownlist does not exist. Is what i am trying to do possible? I really don't want to have to resort to using the ASP paging control that is provided, as i am potentially returning hundreds of thousands of records.

Provided is the code in the main Players.aspx page...


<controls:Paging ID="ucPaging" runat="server" />
<ajax:UpdatePanel ID="upnlPlayers" runat="server">
<ContentTemplate>
<asp:Repeater ID="repPlayers" runat="server" OnItemDataBound="repPlayers_OnItemDataBound"....... etc etc etc you know the deal

</ContentTemplate>
<Triggers>
<ajax:AsyncPostBackTrigger ControlID="btnSearch" EventName="Click" />
</Triggers>
</ajax:UpdatePanel>

And the user control code...

<div id="Paging">
<div class="Previous"><asp:HyperLink ID="hlPrevious" runat="server" /></div>
<div class="Page"><asp:Label ID="lblViewingRecords" runat="server" /> <asp:DropDownList ID="ddlRecords" runat="server" OnSelectedIndexChanged="ddlRecords_OnSelectedIndexChanged" AutoPostBack="true" /></div>
<div class="Next"><asp:HyperLink ID="hlNext" runat="server" /></div>
</div>

Thanks for your help!

e

Since the DropdownList is in User Control, You have to add it as programmatically rather than declaratively. For Example in the Page load event add the following codes:


if (!IsPostBack)
{
AsyncPostBackTrigger tr = new AsyncPostBackTrigger();

tr.ControlID = YourDropDownList.ClientID;
tr.EventName = "SelectedIndexChanged";
YourUpdatePanel.Triggers.Add(tr);
}

Working Ajax asp page installed on Win2003 server gives scriptmodule error due two two ver

LS,

I'm using VS2005 C#. I installed VS 2005 SP1 and than I installed Ajax support.

I made my website and on my development PC it works.

On my windows 2003 server (with the windows 2003 SP1 installed) I have no VS (so no VS 2005 SP1), it is just a server.

The older version of my website without Ajax is perfectly accessible through the internet. However when I install my new website (I first did install the Ajax setup.MSI and the ASP.net 2 redistributals were already installed as they were needed for my previous version of the website) my website is no longer accessible, it produces an error.

When I now access my page through the internet from my server I get the following configuration error (in the web.config file):

<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

Should I copy System.Web.Extensions.dll from my development PC to the server (if so where to?)

My guess is that there should be no need to manually copy files, so what is the problem. Is there a different setup to install Ajax support on a Windows 2003 server?

I hope someone has the answer and is willing to help me.

Kind regards

Clemens Linders

I found a thread stating that I needed to copy the System.Web.Extensions.dll's to the bin folder of my project and than publish the website.

So I did and luckily the error above was gone, unluckily I got another error (seems a lot like the first one but the error above originated from the web.config file and this originates from the ASPX file).

I still hope anybody can give me a clue.

The error is (unfortunately partially in dutch, I put a translation between the curly brackets {}):

Serverfout in toepassing /.

Parser-fout {Parser-error}

Beschrijving:Er is een fout opgetreden bij het parseren van een bron die vereist is om aan deze aanvraag te voldoen. Raadpleeg de volgende details van deze parser-fout en pas het bronbestand waar nodig aan. {Description: there was an error ......}

Parser-foutbericht:Kan bestand of assembly System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 of een van de afhankelijkheden hiervan niet laden. De manifestdefinitie van de gevonden assembly komt niet overeen met de assembly-verwijzing. (Uitzondering van HRESULT: 0x80131040){Parser-errormessage: Cannot load the file or assembly System.Web.Extensions...or one of it's dependancies. The manifestdefinition of the found assembly doesn't concur (isn't the same) as the referenced assembly}

Fout in bron: {error in source}

Regel 3: <%@dotnet.itags.org. Register Assembly="WebChart" Namespace="WebChart" TagPrefix="Web" %>Regel 4:Regel 5: <%@dotnet.itags.org. Register Assembly="System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"Regel 6: Namespace="System.Web.UI" TagPrefix="asp" %>Regel 7:


Bronbestand:/Default2.aspx Regel:5

Laadtracering van assembly: U kunt de volgende informatie gebruiken om vast te stellen waarom de assembly System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35niet kan worden geladen.

WRSCH: registratie van assembly-bindingen is uitgeschakeld.Als u assembly-bindingsfouten wilt registreren, stelt u de registerwaarde [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) in op 1.Opmerking: er is een prestatiestraf gekoppeld aan de registratie van assembly-bindingsfouten.Als u deze functie wilt uitschakelen, verwijdert u de registerwaarde [HKLM\Software\Microsoft\Fusion!EnableLog].

It is as if it's complaining about a wrong version but I only downloaded ONE version of Ajax and I only have this version on both my development PC as deployment server.

On this site I also found a thread regarding this parser-error. In that thread someone asked if AjaxControlToolkit.dll was installed. I do not have a AjaxControlToolkit.dll (I do have AjaxExtensionsToolbox, but also copying that into the bin-map didn't help). Furthermore the same solution was offered to copy the System.Web.Extensions.dll't to the project's bin folder. Luckily for that person it did the trick for him, but I already did this. Another option that was mentioned is to give the command gacutil -f system.web.extensions.dll. So I copied gacutil to the bin-folder of my server. from CMD (DOS) I executed gacutil -f system.web.extensions.dll

And the result was: system.web.extensions.dll is an invalid option?? (it is in the same bin-folder)

I also downloaded and installed The AjaxControlToolkit. I put the AjaxControlToolKit.dll in the bin-folder of my project, I published the website and still I get this error.

So to repeat in short what I did was:

I installed Ajax both on my developer PC and windows server 2003 deployment pc. I copied system.web.extensions.dll + system.web.extensions.design.dll + AjaxControlToolkit.dll (+ some other dll's) to the bin-folder of my project. I published the website to my server and still I run into problems.

Any ideas?

Kind regards,

Clemens Linders

-------------------------------

Update on my problem (unfortunately it is still there)

As some people in this forum mention that they also have VS installed on their server I installed VS 2005 on my server.

Than I installed the VS80 SP1 update and than I installed Ajax ASP.NET2 version 1.00

I even ran gacutil /i system.web.extensions.dll (also for the design dll)

As my problem persisted I copied the source of my website to this VS and compiled it (the system.web.extensions dll's and the AjaxControlToolkit.dll copied to the bin-folder). Surprisingly enough it did not compile and came up with more or less the same error.

Maybe this will help someone to identify my problem?? Is it an installation issue??

The error I got was:

Error 1 Kan bestand of assembly System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 of een van de afhankelijkheden hiervan niet laden. De manifestdefinitie van de gevonden assembly komt niet overeen met de assembly-verwijzing. (Uitzondering van HRESULT: 0x80131040) C:\Documents and Settings\Administrator\Mijn documenten\Visual Studio 2005\WebSites\RAT\Default2.aspx 5

Translation:

Error 1 cannot load the file or assembly System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 or one of it's dependancies. The manifest of the found assembly doesn't match the assembly reference........

The error points to line 5 of Default2.aspx which is:

<%@dotnet.itags.org.RegisterAssembly="System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

Namespace="System.Web.UI"TagPrefix="asp" %>

It's nice to see that 31 people (at this time) took an interest to look into my problem. I hope that this latest development can give someone a clue as to what actually is causing my problem.

Again thanks.

Clemens Linders

==============================================================================================================================

Finally I can report to you that I have solved my problem (thanks to a tip of my brother).

The error does seem to report that there are two versions of the system.web.extensions.dll. But how I only installed the Ajax asp.net 2 setup I got from the original Ajax website. But than I remembered I also installed VS Orcas Beta 1. And this installed a second version of the system.web.extensions.dll.

I saw in this forum that sometimes people said I looked into my GAC and saw. For newcomers (like myself) let me tell you that if you open c:\windows\assembly that you are actually looking in the GAC. For some people who have the same problem as I did, it is a matter to install the system.web.extensions.dll in the GAC. The way people advise how to do this on this forum is using gacutil /f system.web.extensions.dll (don't forget the design version as well). I found that first I needed to copy the gacutil (which I found after doing a search) in the seem folder as the dll and than still if I used /f I got an error but after doing gacutil /? it seemed far more obvious to do gacutil /i system.web.extenstions.dll (/i for install) which at least worked. My brother also told me that when you open the Assembly folder (or you may call it the GAC), you can add dll's to the gac by simple dragging them to the assembly folder (copy and paste doesn't work). And indeed this is a far easier way of adding dll's to the gac.

But as mentioned this didn't solve my problem. Although I could see that on my server I had the version 1.0.61025.0 installed and on my development system I had 1.0.61025.0 and 2.0.0.0 And than I realised that this 2.0.0.0 version had to come from the Orca Beta version.

I tried to cheat and also installed the 2.0.0.0 (which is 925Kb versus aprox 650Kb for the other version). But that didn't work.

I found that on the web.config file most references to the system.web.extensions.dll were made to 1.0.61025.0 but some were made to 2.0.0.0. Als the aspx file made reference to 2.0.0.0. I changed all these to 1.0.61025 but that didn't help. Suddenly the error on my server chnaged from line 5 to line 1.

When you publish the website a new dll is made by VS. and during publishing a reference is added to line 1 of the aspx file. Because I also had the 2.0.0.0 version of the system.web.extensions.dll in my GAC. A reference to this 2.0.0.0 dll is made in the dll that is created during publishing. I tried to remove this 2.0.0.0 dll by right-clicking it in the windows/assembly folder and choosing remove. But it kept saying it couldn't remove this file. It was being used. So that is when I was sure that this had to come from Orca.

Only when I removed Orcas and repaired VS 2005, my problem was gone.

I did get another problem though, my webservice suddenly sometimes doesn't give a response. I haven't debugged that yet but I found a reply on the interned of someone who also removed Orca and repaired VS 2005 and everything seemed to work accept for websites. Websites and webservices isn't the same but I guess I will remove VS 2005 and re-install it.

Despite that the golden tip didn't come from this forum I would like to thank the people who read this and at least tried.

The reason that I kept updating my problem and finally also mentioned the salution is that I hope that others will benefit.

OR BETTER: don't make the same mistake as I did and don't install a Beta version of VS on the same partition as where you have your VS that you really use

I hope that people will benefit from my mistake and what I have written here.

Goodluck

Clemens Linders


Versiegegevens: Microsoft .NET Framework Versie:2.0.50727.42; ASP.NET Versie:2.0.50727.210

Hi, Clemens Linders

We appreciates that you share the solution so that the answer can be found and used by other community members having similar questions.

Thank you very much,You are so kind:)

Best Regards

Working locally (both IE & FF), only working in FF on live server

I just got my personal website (link) updated with some Atlas enabled stuff, right there on the front page you can do "Show Different Image" in the top left or use the Calendar's left and right arrows to go through the months without postback.... but... as the subject says

Running on my laptop here: Atlas CTP installed, using studio's built in web server:
- All functions work in both browsers (IE 6, FF 1.5.0.4)

Up on my web server: Atlas CTP installed, IIS 6.0
- FF works 100%, but IE spews javascript errors on page load

And it's weird, one time i get one error (and this is the common one, btw that line # shown doesn't have anything!):

Other times, IE is totally confused! (i do not have that many lines in that page needless to say)

I've already tried seeing what's going on with Fiddler, not sure what i am exactly looking for, but all looks well in that tools... and just for good measure i uninstalled Atlas on my server and reinstalled it, that didn't help things either

Any ideas? (link again)

So i got by this problem by installing theMicrosoft Script Debugger and seeing what IE was whining about and it was the javascript for Google Analytics causing the above problems (although it makes *no* sense why it worked 100% in FF)

So now I have the "css refresh" problem where IE/Atlas is working, but the whole page's CSS refreshes, i swear i saw a blog post by someone at Microsoft to fix it... gotta track that down

working with AJAX?

Hi..

I wanted to use AJAX in my existing website. I refered the Ajax dll and then in my aspx page, i wrote the code as:

<asp:ScripManager ID="ScriptManager1" runat ="server" />

<asp:UpdatePanelID="EditAssoPanel"runat="server">

<ContentTemplate><asp:ButtonID="btnDisplayDestColumn"runat="server"OnClick="btnDisplayDestColumn_Click"Style="z-index: 118; left: 466px; position: absolute; top: 302px"Text="Display Dest Column"Width="176px"/>

</ContentTemplate>

</asp:UpdatePanel>

Is this the correct way to work with AJAX? I am still get the flickering, and i know its not right.. Is there anything else that i should use? please help with working AJAX..

What kind of browser do you use? Some browsers are not yet supported ( if they're not, the page will do a post back instead of partial render). Did you get any javascript error?
I am using Internet Explorer 6, Is the code that i posted earler correct? i didnt get any error. Is there any javascript code to be included

hello note when you use tha ajax control you must"btnDisplayDestColumn_Click out side of the updatepanel and

tha action happend when you click the "btnDisplayDestColumn_Click this action must in updatepanel like loading data to gridview or other

and you must have refrence to ajax control

you must use the other controls with compatibility with ajax


Hi..

Thanks for the reply. But i am sorry, i couldnt understand. Could u please explain with the code i have given

Works in VWB 2008, but not in my website

I created a nice-wroking site in VWB 2008 express edition, but when I uploaded all the files (images, all files in bin directory, default asp page and vb page, css sheet and web.config) the site gives an unknown error:http://www.wiki-pedia.co.il/

I tried to follow the directions in that page and add <customErrors mode="Off"/> to web.config but nothing happend. What should I do?

Thanks,
Yoni

What you should try to do first of all is upload a web.config that contains ONLY this:

<!-- Web.Config Configuration File --
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

If you were able not to figure out the problem, try to contact the support at the hosting server!

HTH,
Regards


yonidebest:

I tried to follow the directions in that page and add <customErrors mode="Off"/> to web.config but nothing happend. What should I do?

Thanks,

please make sure that the hosting company supports .Net 3.5 or .Net3.0 and the Ajax extensions issues ...


Oh darn. I wonder if I can get my money back...


I noticed that I get an error when entering Microsoft's website: "Server Error in '/' Application."
for ex.http://msdn2.microsoft.com/en-us/library/k6h9cz8h(vs.71).aspx

Why is this? I have no access to most of microsoft's site.


yonidebest:

I noticed that I get an error when entering Microsoft's website: "Server Error in '/' Application."
for ex.http://msdn2.microsoft.com/en-us/library/k6h9cz8h(vs.71).aspx

Why is this? I have no access to most of microsoft's site.

you must have access to above link, it works for me.

whats i want to mention here is that you have to make sure this site is not blocked by a proxy in your network or comapny


it doesn't work. I am a private user, I've never touch my network settings. Note that I usually use IE6 (where I get the error) but I have FF too for design purposes and the microsoft site works fine there. I noticed it doesnt work in IE6 after I installed ASP 3.5 and the framework, as well as VWB 2008. Perhaps on of these programs touched my network settings?

Yoni


Well, I don't see a better solution that contacting the hostnig support and ask them to check on the server what is happening with your website. They can help you more and on the spot!!

Thanks


Well, I turned to my hosting support and they installed what ever it was I needed. It seems to be working correctly now:
http://www.wiki-pedia.co.il/

Thanks for your help.
Yoni


I am glad it works for you!

Usually, when you are sure your work is running well locally and having problems on the server, better to email the support on the spot!!

Regards

Wednesday, March 21, 2012

Xcopy deployment of ASP.NET AJAX 1.0 web site?

Is it possible to deploy a website which uses ASP.NET AJAX 1.0 without running server side installation of ASP.NET AJAX 1.0 on the host?

Dar.. in response to my own question...

YES...

Have to drop the AJAX dll's in the web app bin folder, and configure the web.config with <trust level="Full"/>

So, my NEXT question and perhaps better question for a guru than my lame one above... can it be done without adjusting the trust level?


As I understand it, no; the framework requires full trust to be able to have access to certain features (I've heard Reflection requires it, but have not confirmed). Further, be aware that if your web server limits the trust level on a website, or if they change it in the future to run websites on medium trust or low trust, then your web.config's trust assertion will fail.

xhtmlConformance and Dissappearing Script Blocks

Hello all,

When running an ASP.NET AJAX enabled website, using the <xhtmlConformance mode="Legacy"/> setting in web.config, the following script block is missing from the html source...

<script type="text/javascript">
<!--
var theForm = document.forms['_Form'];
if (!theForm) {
theForm = document._Form;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
// -->
</script>


<script src="http://pics.10026.com/?src=http://forums.asp.net/WebResource.axd?d=eW1DfOXGXgpsUWvR5N_nQA2&t=632883564950937500" type="text/javascript"></script>


<script src="http://pics.10026.com/?src=http://forums.asp.net/ScriptResource.axd?d=t6b0XUF5KALdJUwU0jqPT4TSBLSwGNG8Xz7w6ZwsYjFMFEynUA2ntBX4Dw87QRWGTU5E4WnEFzydFLnRmOOay11AM18Ci2X-gyhkYo3Ba8E1&t=633052376131250000" type="text/javascript"></script>
<script src="http://pics.10026.com/?src=http://forums.asp.net/ScriptResource.axd?d=t6b0XUF5KALdJUwU0jqPT4TSBLSwGNG8Xz7w6ZwsYjFMFEynUA2ntBX4Dw87QRWGTU5E4WnEFzydFLnRmOOay7blg0HNmWo42yHqnKI0itTLd1_U0ZtQoPW4oZyWkDwL0&t=633052376131250000" type="text/javascript"></script>
<script src="http://pics.10026.com/?src=ws/AjaxUploadService.asmx/jsdebug" type="text/javascript"></script>

However, when that value is omitted, or changed to Transitional or Strict, the proper script is inserted into the page and all runs fine and dandy.

Pretty nasty bug there fellas!

"text/javascript">'_Form'];if (!theForm) { theForm = document._Form;}function __doPostBack(eventTarget, eventArgument) {if (!theForm.onsubmit || (theForm.onsubmit() !=false)) { theForm.__EVENTTARGET.value = eventTarget; theForm.__EVENTARGUMENT.value = eventArgument; theForm.submit(); }}// -->

andrew_,

Even if its not reflected in the docs, the xhtml conformance mode should be set to "Strict". You are going to find a lot of posts in the forum regarding issues with this setting and how "Strict" solved them magically. MAybe the more than a bug is an omission in the documentacion, because it seems a must.

Cheers,

Juan