Showing posts with label enabled. Show all posts
Showing posts with label enabled. Show all posts

Wednesday, March 28, 2012

Installation problem

Hi

I'm using VS 2005 on Vista Business. I installed AJAX Extentions ans Toolkit. When I create a new AJAX enabled website everything is fine. But when I use some of the demos I get hundreds of errors - as if the AJAX extentions were disabled. In case of the ToDoList-CS demo website for instance I get the following errors.

Error 1 Element 'ScriptManager' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 3 6 C:\...\ToDoList-CS\
Error 2 Element 'UpdateProgress' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 11 10 C:\...\ToDoList-CS\
Error 3 Validation (XHTML 1.0 Transitional): Element 'progresstemplate' is not supported. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 12 10 C:\...\ToDoList-CS\
Error 4 Validation (XHTML 1.0 Transitional): Element 'img' is missing required attribute 'alt'. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 14 14 C:\...\ToDoList-CS\
Error 5 Element 'UpdatePanel' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 23 10 C:\...\ToDoList-CS\
Error 6 Validation (XHTML 1.0 Transitional): Element 'contenttemplate' is not supported. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 24 10 C:\...\ToDoList-CS\
Error 7 Element 'GridView' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 25 14 C:\...\ToDoList-CS\
Error 8 Validation (XHTML 1.0 Transitional): Element 'columns' is not supported. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 33 11 C:\...\ToDoList-CS\
Error 9 Element 'CommandField' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 34 18 C:\...\ToDoList-CS\
Error 10 Element 'BoundField' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 35 18 C:\...\ToDoList-CS\
Error 11 Element 'BoundField' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 37 18 C:\...\ToDoList-CS\
Error 12 Element 'CheckBoxField' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 38 18 C:\...\ToDoList-CS\
Error 13 Validation (XHTML 1.0 Transitional): Element 'triggers' is not supported. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 42 10 C:\...\ToDoList-CS\
Error 14 Element 'AsyncPostBackTrigger' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 43 14 C:\...\ToDoList-CS\
Error 15 Element 'UpdatePanel' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 52 9 C:\...\ToDoList-CS\
Error 16 Validation (XHTML 1.0 Transitional): Element 'contenttemplate' is not supported. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 53 6 C:\...\ToDoList-CS\
Error 17 Element 'DetailsView' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 54 14 C:\...\ToDoList-CS\
Error 18 Validation (XHTML 1.0 Transitional): Element 'fields' is not supported. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 61 10 C:\...\ToDoList-CS\
Error 19 Element 'BoundField' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 62 18 C:\...\ToDoList-CS\
Error 20 Element 'BoundField' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 64 18 C:\...\ToDoList-CS\
Error 21 Element 'CheckBoxField' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 65 18 C:\...\ToDoList-CS\
Error 22 Element 'CommandField' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 66 18 C:\...\ToDoList-CS\

Why is that? I followed the tips from ASP.NET AJAX Control Toolkit: Installation and getting started onhttp://ajax.asp.net/ during installation.

so when you downloaded the toolkit zip folder. you loaded the poject then compiled and ran it, getting the demo page and all that? and then you added the dll to the toolbox area?


I don't fully understand. I did everything as shown on the webcast.

I installed (at least I think so) everything required to be able to create AJAX enabled web sites. At present, when I open VS and create a new website I can easily add (both AJAX extentions and AJAX Toolkit tas in the tolbox menu are visible) AJAX extentions, updatepanels etc. I can also build those pages easily - with no errors.

But when I open VS and choose to open an exisitng website and point to one of the folders downloaded from asp.net site VS display errors, like these above.

Maybe I'm doing something incorrectly.

Both the ajax extentions and toolkit installed are the latest available.


that is odd, maybe there is a linking issue with finding the controll toolkit. Are there any other erros that you get that arnt like the ones you showed before?

also if you have somethign like this in your code

<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

make sure the tagPrefix is the same as what is used in your code to create controls, so make sure you page uses

<asp:Textbox ID="text1" runat="server"/>

for example. They must match that add line, but because this is a demo from online it should be right

Saturday, March 24, 2012

Internet Explorer Mobile & ATLAS

Hi all,

I have a webservice and ASP.NET ATLAS enabled, and working with IE6. There is not ATLAS controls, it is very simple call from javascript, passing 3 arguments.

I am tying to make it works in Internet Explorer Mobile in a Smartphone with Windows Mobile 5.0, but when I press the button, nothing happens...

In theory, Explorer Mobile supports HTML 4.01 CSS and Extensible HTML (XHTML), and XMLHTTP Request...

Have any try this or something with similar scenario?

Thanks in advance

David

I don't believe the mobile version of internet explorer supports the xmlhttprequest object or has any AJAX support for that matter.

Please, see this bloghttp://blogs.msdn.com/iemobile/archive/2005/11/15/493200.aspx

If IE Mobile supports AJAX and this sentence
xmlHttpReq = new ActiveXObject("Msxml2.XMLHTTP");
, I can't undestand why ATLAS will not support IE Mobile....

This is the function inside WebResource.axd generated by ATLAS that creates XMLHTTPRequest object

window.XMLHttpRequest = function() {
var progIDs = [ 'Msxml2.XMLHTTP', 'Microsoft.XMLHTTP' ];

for (var i = 0; i < progIDs.length; i++) {
try {
var xmlHttp = new ActiveXObject(progIDs[i]);
.....

Very similar no? I think that is imperative that ATLAS works for IE Mobile...


hello.

i really don't understand much about mobile devices...is there any sniffer that can capture the traffic between the browser and the server? (something like fiddler, that is)

Wednesday, March 21, 2012

Is Atlas Application and AJAX Enabled Wesite application are the same?

As I have seen the tutorial video the application there was Atlas however after I have installed ASPAJAXExtSetup the one I found when I tried to create a sample web application was ASP.NET AJAX Enabled Web Site application. Am I installing the wrong package or they are just the same? thanks...

ATLAS was the codename for AJAX. Technically they are the same. However AJAX usually means it is a newer build/release.
ok, thanks for that

Is is required to install AJAX extension in the server to run ajax enabled site

Hi,

I have a .net application using Ajax extensions and tool kit. Now I am trying to deploy it in Win 2003 server.

After installation when I try to open the application I get the following error:

"Could not load file or assembly 'System.Web.Extensions, "

I wanted to know if it is required that I have to manually install the Ajax extension on the server. Or the dll in the bin folder of my project for the Ajax extension is enough.

Thanks

gayathri.

I think it needs to reside in the GAC on the server. I had a similar issue.


Eric


Thanks eseidel,

Could you please say me how u resolved it. I have not done anything on GAC earlier.

Thanks,

Gayathri.


Hi Gayathri,

Install ASP .Net Ajax in the server (this automatically registers the dlls in the GAC). This should take care of the problem.

If this is not possible then you have to manually register the dll in the GAC. For this you can do two things:

1. Drag and drop the dll into c:\Windows\Assembly or

2. Use GACUtil. Check out this link to get a clear idea of using the utility.

http://msdn2.microsoft.com/en-us/library/ex0ss12c(VS.80).aspx

hope this helps.

Thanks,

Raja


Could you possibly tell me which file i'd need to download... preferably the location for the asp.net ajax framework for the dedicated servers?


Hi, My problem was resolved after installling the ASP.net AJax Extension MSI in my server.

You don't have to place it in any specific location. Just download the latest version of the Ajax Extension Framework from the ASP.net AJax site and install the MSI in your server. After the installation, you should be able to see the files in the below path in your server

"C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\"

-Gayathri