Showing posts with label visual. Show all posts
Showing posts with label visual. Show all posts

Wednesday, March 28, 2012

Very slow and unresponsive AJAX (Calendar + Tabs)

i just installed the toolkit into Visual Studio 2005, and managed to create some sample projects

I've implemented the Tabs and Calendar onto an existing project, in the believe that Ajax would provide faster (or as fast) access then the existing solution.

in order to make the Ajax work in the project, I've copied nearly all needed elements into the web.config ( http://codebetter.com/blogs/jay.kimble/archive/2006/10/26/How-To_3A00_-Enable-Microsoft-Ajax-Beta-over-on-an-existing-site.aspx )

now - the Ajax Calendar and Tabs works, the old server side asp.net have been fitted to the new controls...

but very very slow !?!? - the calendar takes 3-4 seconds to show and a single action in it takes 1-2 seconds ?

code:

1<%@dotnet.itags.org. Control Language='vb' AutoEventWireup='false' Codebehind='ctlQuizEdit.ascx.vb'2 Inherits='SurveyFactory.ctlQuizEdit' TargetSchema='http://schemas.microsoft.com/intellisense/ie3-2nav3-0' %>3<%@dotnet.itags.org. Register TagPrefix='fcke' TagName='FckHeader' src='ctlImportDefLangHeader.ascx' %>4<%@dotnet.itags.org. Register TagPrefix='fcke' TagName='FckFooter' src='ctlImportDefLangFooter.ascx' %>5<%@dotnet.itags.org. Register TagPrefix='cc1' TagName='HeaderFooter' src='ctlHeaderFooter.ascx' %>6<%@dotnet.itags.org. Register TagPrefix="cc1" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit" %>789<cc1:TabContainer Height="250px" Width="600px" ID="TabContainer1" runat="server">10 <cc1:TabPanel ID="TabPanel1" runat="server" HeaderText="Survey">11 <ContentTemplate>12 <table id="editQuizData" runat="server" width="100%" cellspacing="1" cellpadding="2" border="0" height="10">13 <tr>14 <td align="left" colspan="2">15 <asp:Label ID="lblQuizAction" Text="Edit" Font-Bold="True" runat="server" /><br>16 <asp:Label ID="lblError" runat="server" />17 </td>18 </tr>19 <tr>20 <td align="left">Title</td>21 <td align="left"><asp:TextBox ID="txtQuizTitle" Columns="80" runat="server"></asp:TextBox></td>22 </tr>23 <tr>24 <td align="left">Description</td>25 <td align="left"><asp:TextBox ID="txtQuizDescription" Columns="80" Rows="2" TextMode="MultiLine" runat="server"></asp:TextBox>26 </td>27 </tr>28 <tr>29 <td align="left">Created by</td>30 <td align="left"><asp:Label ID="lblCreatedBy" runat="server" />31 </td>32 </tr>33 <tr>34 <td align="left" valign="top">Interval</td>35 <td align="left">36 <table id="Table1" runat="server" width="100%" cellpadding="0" cellspacing="0" border="0">37 <tr>38 <td align="left" valign="top">From</td>39 <td align="left" valign="top">To</td>40 </tr>41 <tr>42 <td align="left">43 <asp:TextBox ID="CalendarQuizFrom" runat="server"></asp:TextBox>44 <cc1:CalendarExtender ID="CalendarExtender1" runat="server"45 TargetControlID="CalendarQuizFrom" Format="dd-MM-yyyy" />46 </td>47 <td align="left">48 <asp:TextBox ID="CalendarQuizTo" runat="server"></asp:TextBox>49 <cc1:CalendarExtender ID="CalendarExtender2" runat="server"50 TargetControlID="CalendarQuizTo" Format="dd-MM-yyyy" />51 </td>52 </tr>53 </table>54 </td>55 </tr>56 </table>57 </ContentTemplate>58 </cc1:TabPanel>59 <cc1:TabPanel ID="TabPanel2" runat="server" HeaderText="Header">60 <ContentTemplate>61 <fcke:FckHeader runat="server" ID="FckHeader" />62 </ContentTemplate>63 </cc1:TabPanel>64 <cc1:TabPanel ID="TabPanel3" runat="server" HeaderText="Footer">65 <ContentTemplate>66 <fcke:FckFooter runat="server" ID="FckFooter" />67 </ContentTemplate>68 </cc1:TabPanel>69</cc1:TabContainer>7071<center>72 <asp:Button ID="btnSave" runat="server" Text="Save"></asp:Button> 73 <asp:Button ID="btnCancel" runat="server" Text="Cancel"></asp:Button>74</center>7576<input id="hiddenLangHeaderTxt" type="hidden" name="hiddenLangHeaderTxt">77<input id="hiddenLangFooterTxt" type="hidden" name="hiddenLangFooterTxt">78<input id="hiddenFooter" type="hidden" name="hiddenFooter" runat="server">79<input id="hiddenHeader" type="hidden" name="hiddenHeader" runat="server">80

Hi Montago,

Your program works pretty well after I removed all the UserControls. So we suggest that you should use an exclusive method that remove the controls one by one until find out the exact root cause. Also, Some helpful debugging tools will make your work easy. For example,IE WebDevelopment Helper,HttpWatch,Firebug etc.

If your problem cannot be resolved , please let me know with more information.

Best regards,

Joanthan

Monday, March 26, 2012

Visual Basic Examples Echo Name on web and in documentation down load does not work

I have done a clean reinstall of Visual Studio 2005, the SP1, The vs2005 Vista Update (Home Premium Vista), and IE 7.00..

One of the four Simple Web Service examples in the documentation download did not work, and as Mr. Murphy acknowledges, it's the one I am interested in.

I made sure not to touch any code .. just install and then debug..

http://localhost:49160/aspDocumentation/Samples/Sys.Net.SimpleWebService/vb/SimpleWebService.aspx

did not echo

This example also does on work on theasp website.

http://localhost:49160/aspDocumentation/Samples/Sys.Net.PageMethod/vb/PageMethod.aspx

did echo

http://localhost:49160/aspDocumentation/Samples/Sys.Net.SimpleWebService/cs/SimpleWebService.aspx

did echo

http://localhost:49160/aspDocumentation/Samples/Sys.Net.PageMethod/cs/PageMethod.aspx

did echo

Thanks!




Hi,

Can you tell me which documentation are you referring to?

Look forward to your reply.


http://ajax.asp.net/docs/tutorials/ExposingWebServicesToAJAXTutorial.aspx

Simple Echo works in C# but not in VB


Can you be more specific about your vb sample doesn't work? And how is it related to Vista?

It will be better if you canshow me a sample.


1. Go tohttp://www.asp.net

2. Click on AJAX.

3. You are now at the page titled:

"AJAX: The Official Microsoft ASP.NET AJAX Site

4. Click on "Docs"

5. Click on "Open The Online Documentation"

6. On The ASP.Net AJAX Roadmap page go to the fifth section titled "Web Services" and click

on the second item "Exposing Web Services To A Client Script"

7. On the top right side of the page select C# as the "Preferred Sample Language"

8. Go to the middle of the page to the paragraph that is titled:

Exposing Web Services to Client Script in an ASP.NET Web Page

9. At the bottom of the paragraph are two buttons, a run it button and a script button.

10. Click on Orange Button "Run It"

11. Enter your name and click on echo

12. close the "Simple Web Service" window

13. You have returned to the Exposing Web Services to Client Script in an ASP.NET Web Page

14. On the top right side of the page select Preferred Sample Language and select Visual Basic

15. Click on the same "run it" option that you did in step 10.

16. Enter your name and click on echo

17. Nothing happens.. Why?


Thanks for your clear explanation.

Now I've noticed it too, and I copy and paste the vb source code into a local project, it works.

And this sample should already give you an idea of how to expose webservice to client side.


You must be doing something in your local project setup, or your config file, or something.. why doesnt it work on the web?

In addition, when you download the "tutorial" the example, like the web, it does not work. Why?

If Microsoft has a "official" AJAX tutorial, one would think their examples would work. At least I think they should work..

Why does the C# example work and the VB example not work?

Could you locate the group that put together this "example" and tell them it doesnt work?

Thanks


Thanks for your feedback. I have checked the document and I found thatthe service entry registered in the ScriptManager has a invalid path.

<asp:ScriptManager runat="server" ID="scriptManager">
<Services>
<asp:ServiceReference path="SimpleWebService_VB.asmx" /> <%--should be SimpleWebService.asmx--%>
</Services>
</asp:ScriptManager>

To feedback this document issue in a formal way, could you go to our Connect portal site and submit it? http://connect.microsoft.com/ Every feedback submitted will be evaluated carefully by our engineers and document writers. They will let you know their comments further through that portal. It would be great if you can also paste the link to the submitted feedback here, so that other community members can see it as well.

Visual Studio "Loses" controls inside an UpdatePanel

Hi,

I'm using a couple of UpdatePanels on a page and it seems that Visual Studio periodically loses track of controls that are inside an UpdatePanel, throwing errors that say those controls don't exist. If I restart Visual Studio the problem goes away.

Any ideas?

Thanks!

Anybody?


I am having the same problem here.. no solution yet.
I'm also having this problem, the difference is that re-loading VS doesn't get rid of it.

Visual Studio 2005 Add-in for Atlas

Will there be a Visual Studio 2005 Add-in for Atlas that will provide intellisense and add the Atlas controls to the toolbox?
When will it be available?
Regards,
John

You can add the controls to your toolbox, right-click,... but you will not have any design view support, as I can remember.


There is already some design view support, but it will get much better as we advance.

Visual Studio 2005 Installation Question?

Greetings. I'm not exactly sure where to post this question so I apologize if this is the wrong place.

I've just started working with ASP.net AJAX and the Toolkit. I have had success getting my environment all setup and have successfully created a page with a slideshowextender.

Thing is, I must not have done something right because even though everything appears to work, I get the red squiggly line under anything AJAX or Tooklit related in source mode in Visual Studio 2005 Pro. I basically followed the instructions on setting up the environment on the Toolkit demo page after installing the AJAX extensions. I then followed the instructions in some of the Toolkit demonstration videos to get everything else working.

Just wondering if there's a step I missed in order to make VS2005 understand what all the new controls are. Any tips would be appreciated.

Jim Sparks

Hi Jsparks,

jsparks:

Thing is, I must not have done something right because even though everything appears to work,

Do you mean the SlideShowExtender works as your expect?

If not, we suggest that you should check yourweb.config settings. Also you should check whether the ASP.NET 2.0 Ajax Extensions V1.0 and Ajax Control Toolkit works properly or not.

I hope this help.

Best regards,

Jonathan

Visual Studio 2005 WebApplication

What do I have to do to get the toolkit to work with a WebApplication Project in vs2005?
(I can't use WebSite project due to company guidelines)

I've added the httpHandlers and httpModules to web.config since I got clientscript errors. (scriptResource.axd could not be found).
This made some controls work, but not all. I still get some clientside errors.

Regards,
Jonas

Hi Jonas,

Just make sure that you have all the configuration settings related to the MS AJAX in the Web.config file of your WAP. You can copy settings from the sample config file in the AJAX installation folder.

HTH,

Vivek


Hi,

I had tried that before posting, but couldn't get it to work. However it works now (strange).

Thanks!

Visual Studio 2008 And AJAX Framework 3.5 - Control KIT

Hi friends ...

I need heap of helps on AJAX Framwork 3.5.
I just Installed Visual Studio 2008 and AJAX Control ToolKit for Ms Framework 3.5 - 11119

I've got Error Message (below) when i create Accordion AJAX Control Kit.

Error 1 The type or namespace name 'AjaxControlToolkit' could not be found in the global namespace (are you missing an assembly reference?)


I've included the AjaxControlKit.dll in my Bin folder. I've added the <%@dotnet.itags.org. Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
at the top of the page. i've created the Ajax Control Kit. but still facing this problem.

I've got a warning : Generation of designer file failed, unknown tag ... on my textboxWatermarkextender. but strangely when i run the project, the target textbox runs properly.

anyone have any experienced ?

By the way, for moderator :)

Last week, i forgot my password to log in to this forum, i clicked the "forgotten password" link ... as it asks me to enter my email address when i register for this forum.
i put in my email address , and request for a new password.

When the email confirmation arrived in my inbox, i clicked the formatted link as instructed in the email, but when it always say ... " You dont have permission to do the task " ... MsgID = 31 ...
i tried many times and came with no result. Fortunately as 10 days past by, suddenly i remember my password ...

how it could be happening? and what to do next if i forgot my password ? :)

thanks ...

Hi On3_Cool,

on3_cool:

I need heap of helps on AJAX Framwork 3.5.
I just Installed Visual Studio 2008 and AJAX Control ToolKit for Ms Framework 3.5 - 11119

I've got Error Message (below) when i create Accordion AJAX Control Kit.

Error 1 The type or namespace name 'AjaxControlToolkit' could not be found in the global namespace (are you missing an assembly reference?)


I've included the AjaxControlKit.dll in my Bin folder. I've added the <%@. Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
at the top of the page. i've created the Ajax Control Kit. but still facing this problem.

I've got a warning : Generation of designer file failed, unknown tag ... on my textboxWatermarkextender. but strangely when i run the project, the target textbox runs properly.

anyone have any experienced ?

It is recommended to add reference to the AjaxControlToolkit.dll(right click on the bin directory, and choose "Add Reference"), and then AjaxControlToolkit.dll will be added to the bin directory automatically.

Also you can register AjaxControlToolkit on the web.config. You can use template to create an Ajax Control Toolkit enabled website.

For your second question, please send private messages to the website moderators. Thanks for understanding.

If you have more questions , please feel free to let me know.

Best regards,

Jonathan

Visual Studio doesnt recognize(see) ATLAS from LAN!

When I try to open a website from server(LAN) I get following error within VS 2005:

Error 1 Element 'ScriptManager' is not a known element. This can occur if there is a compilation error in the Web site. ...

but the site works properly anyway... This error just annoys me, I can't see any Intellisence code for atlas components...

I have installed VS on server and installed Atlas components there too. VS shows Atlas tags properly when I launch VS from server, but doesn't do that when I try to open the same project from another computer.

The other computer has installed VS 2005 too...

Can anyone answer how to solve this?

hello.

i think this has been reported here...if i'm not mistaken, it only works without any problems when you open a local project.

Visual Studio not giving me Atlas option

Hello all, I have installed all of the Ajax stuff (located here:http://ajax.asp.net/Default.aspx) but when I open up Visual Studio and go to New Website I do not see option for Atlas. Anyone know why this does not show up? Thanks, Victor Gaudioso

Hi,

Support for AJAX (the new name for ASP.Net ATLAS), is included in SP1(came out last month), for VS 2005 (and I believe the Express edition too). If you have an older version of VS, I'm not sure what you'll need to do. Good luck. BRN..

Visual Studio not playing nice with .NET AJAX

I downloaded SP1 for Visual Studio today (497 mb - ouch!). AJAX insisted on it. I can build and run a local page using AJAX. But when I publish and copy to my web host provider I get this error:

Parser Error Message: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.

Source Error:

Line 27: <compilation debug="false">Line 28: <assemblies>Line 29: <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>Line 30: <add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>Line 31: <add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies>

'System.Web.Extensions' is a dll in the AJAX bin directory (along with AJAXExtensionsToolbox.dll - actually it's not in the exact same directory but I digress). I looked around on the web and it seems Visual Studio adds that <add assembly statement to the web config on its own. Same with the System.Web.Extensions.Design. I commented those two statements out and rebuilt and VS added two new ones - so that's true.

One site something about turning the "Get Specific Version" option for the toolkit to false. It also said something about VS grabbing everything in the reference hierarchy when it doesn't need to. I read that it could be the IIS implementation's fault but if it's in the bin at compile time then it shouldn't matter.

I've tried to add it as a reference in the project but after I navigate to it and select it the dialogue box just disappears and it doesn't get added.I've tried dropping it into the bin directory of the published site but that failed. I tried editing the "<add assembly" statement out of the published config file but that didn't work either.

Anyone have any ideas?

Thanks - Foolong

All you need to do, is copy the System.Web.Extensions.dll and system.web.extensions.design.dll to your websites bin directory on the web server.

On your local machine these live in the GAC but once they are on the server, unless Ajax has been installed directly on the server, they dont exist in the GAC and need to live in the bin.


Hi Bryan,

Thanks for your response!

I tried that both by dropping them in after publishing to a dir on my box and also dropping them into the project folder and then publishing. Still get the same error. I'm opening the folder on my web host provider's server up and the dll's are there. I even tried stripping off the 'version', 'culture', 'publickeytoken' params from the <add assembly tag.

Nothing seems to work.

This is too bad too because I just graduated w/ a BS in Computer Science and NOBODY hires unless you have at least three years of experience. I was hoping to use this stuff to to make my site (ergo my resume) look better.

Should have gone after an engineering degree :-(


Sorry you're having trouble with this. There is a point of interest that may affect your issue. You must be able to run your application in FULL TRUST on the server, for it to be able to use the ajax assemblies from the /bin folder. The other option is to have the MSI installer run on the server, which will put these into the GAC and should fix most of the problems.

Who is your host, and what is your servers availability to be modified / administered?

One other thing you may try, is changing all the lower case letters in your Public Key Token portion to Capital letters. It's fixed things in some cases.


I would venture to say that 5 will get you 10 that my web host provider has something to do with this! I just got off the phone w/ them asking

A) if they are making these files available globally - said yes but when I asked if the System.Web.Extension.dll and System.Web.Extension.Design.dll files were in the GAC - he didn't know for sure; and

B) when I told them I was including them in the bin directory and needed full trust he said they can't give that to custom dll's.

Oh well - I guess you get what you pay for.

I really apprreciate your help Bryan and will definitely post back when I get this figured out.

Thank again

Pat


The key is going to get them to install them in the GAC then if they wont give full trust to custom dll's. Of course, depending on how tight they have their security, you MAY be able to override your applicaiton or machine settings, by explicitly setting it in your web.config. Most of the time this will try to override a machine key though, and it will throw you an exception about it not being allowed, but it's always worth a shot.

Try putting this in your web.config under the system.web node

<system.web>
<securityPolicy>
<trustLevel name="Full" policyFile="internal" />
</securityPolicy>
<trust level="Full" originUrl="" />
</system.web>

Like I said, this doesnt usually work, but it's easy enough to give a shot. If it doesnt work you'll get a message about the Machine.config not allowing override.

Visual Studio wont recognize some AJAX components when there is a master page

This is a really weird thing. I have installed AJAX and the toolkits and the validators, and everything was working fine. Then, suddenly, Visual Studio won't let me switch to design view b/c the script Manager and the update panels are now "not known elements," and so are all the labels, panels, dropdownlists, etc inside the update panels. Oddly enough, the components in the AJAX toolkit are still recognized just fine. when this problem first started happening, i would click over to the master page and click back to the aspx page and everything was fine. Now that doesn't even work. And the craziest part is that the web site runs just fine when I debug it, AJAX functionality and all!

I would have blamed this on the way I installed the AJAX framework, but this only happens on pages with master pages.

Does anyone have any experience with this? Or is it just my machine? No one else here at work is having this problem, but I am the only one who is really using AJAX.

Any ideas would be welcome. Thanks in advance

Hi,

As far as I know, the error message indicates the issue is related to permission. It seems your ASP.NET applications run in partial trust. This is configured through the <trust level="xxx" /> setting in web.config or machine.config. Please change the "xxx" to medium and try again to figure out whether the problem still occurs.

Best Regards


Thanks for your suggestion. I don't even have any trust level permissions in my web.config files, so I am assuming that the problem is in my machine.config file. But before I go messing around in there, I would like to try to override it in the web.config. This is what I have in my web.config. But the error I am getting on the page declaration of the default.aspx page is "Unable to read the security policy file for trust level 'medium'." Where are the policy files located?

<location allowOverride="false">
<system.web>
<securityPolicy>
<trustLevel name="Full" policyFile="internal"/>
<trustLevel name="High" policyFile="web_hightrust.config"/>
<trustLevel name="Medium" policyFile="web_mediumtrust.config"/>
<trustLevel name="Low" policyFile="web_lowtrust.config"/>
<trustLevel name="Minimal" policyFile="web_minimaltrust.config"/>
</securityPolicy>
<trust level="medium" originUrl=""/>
</system.web>
</location>

Visual verification extender

Hi,

Are there any plans for a visual verification extender that would be linked to a textbox control and that would show an obscured code that has to be entered by the user to protect against automated registrations?

Would be a nice control for the toolkit.

Thanks,

Jason

As far as I know there is currently no one working on a CAPTCHA extender, but we do have the NoBot extender which is designed to prevent many cases of automated posting that a turing test like CAPTCHA is supposed to block. Take a look athttp://ajax.asp.net/ajaxtoolkit/NoBot/NoBot.aspx

Cool...that should do the trick. Thanks.

Visual web developer & AJAX Templates

Somehow i used to have thew ajax template installed in Web developer express (when you go to new web site). i had to reinstall web developer express the other day and the template has disappeared.

I look at the documentation and and it states that during the install if you have web developer express or visual studio it will launch the visual studio content installer.

This is not happening!!

Any ideas i am pulling my hair out now

Cheers

How about just re-downloading (if needed) the Atlas.msi and re-running the install to reinstall the templates?

hello.

or, go to the atals installation folder and run the vsi template. that should automatically add the template to vs.

visual web developer 2005 express

Hi,

will the sample control toolkit work in visual web develoer? i installed the ajax .net rc1, control sample web site, latest ctp. When i open and run the sample project, it shows no error and displays the controls. but, the none of the controls is working.

thanks

it will work under visual web developer

do you see any javascript error?


No. there is no compilation, runtime or javascript error. But, it the sample controls still not working

thanks

VS doesnt recognize tags asp

Hei,

I'm getting started with ajax, i do a lot of things with the ajaxToolkit but i still have a problem,

When i put an update panel on a page, visual studio can't recognize all the asp tag, and my code loose its formating and i can't use completion (ctrl+space) anymore.

Is it a problem of web.config?

Thanks to help me.

ps: Sorry for my english ...

This is my web config

<?

xmlversion="1.0"?>

<

configuration>

<

configSections>

<

sectionGroupname="system.web.extensions"type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

<

sectionGroupname="scripting"type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

<

sectionname="scriptResourceHandler"type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"requirePermission="false"/>

<

sectionGroupname="webServices"type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

<

sectionname="jsonSerialization"type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"requirePermission="false"/>

<

sectionname="profileService"type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"requirePermission="false"/>

<

sectionname="authenticationService"type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"requirePermission="false"/>

</

sectionGroup>

</

sectionGroup>

</

sectionGroup>

</

configSections>

<

connectionStrings>

<

addname="DBConnectStr"...."/>

</

connectionStrings>

<

system.web>

<!--

Recupere la langue du browser-->

<

globalizationuiCulture="auto"culture="auto" />

<

trustlevel="Medium"/>

<

pagesstyleSheetTheme="Default">

<

controls>

<

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

</

controls>

</

pages>

<compilationdebug="true">

<

assemblies>

<

addassembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<

addassembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies>

</

compilation>

<

httpHandlers>

<

removeverb="*"path="*.asmx"/>

<

addverb="*"path="*.asmx"validate="false"type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<

addverb="*"path="*_AppService.axd"validate="false"type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<

addverb="GET,HEAD"path="ScriptResource.axd"type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"validate="false"/>

</

httpHandlers>

<

httpModules>

<

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

</

httpModules>

</

system.web>

<

system.web.extensions>

<

scripting>

<

webServices>

</webServices>

</scripting>

</

system.web.extensions>

<

system.webServer>

<

validationvalidateIntegratedModeConfiguration="false"/>

<

modules>

<

addname="ScriptModule"preCondition="integratedMode"type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

</

modules>

<

handlers>

<

removename="WebServiceHandlerFactory-Integrated"/>

<

addname="ScriptHandlerFactory"verb="*"path="*.asmx"preCondition="integratedMode"type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<

addname="ScriptHandlerFactoryAppServices"verb="*"path="*_AppService.axd"preCondition="integratedMode"type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<

addname="ScriptResource"preCondition="integratedMode"verb="GET,HEAD"path="ScriptResource.axd"type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

</

handlers>

</

system.webServer>

</

configuration>noone for me?

walkthrough problems

I have just completed my first Atlas Walkthrough using Visual Web Developer 2005 Express Edition . I choseWalkthrough: Creating a Basic ASP.NET 'Atlas' Web Application.There were a few places where I floundered.

I accidently copied both the [Visual Basic] and [C#] code fragments. Perhaps there could be a sentence dividing them.

I didn't find the following instruction very clear:

"Add a new ASP.NET page to your project and name it AtlasScript.aspx.

Note Be sure that you clear thePlace code in separate file check box. For this walkthrough, you must create a single-file ASP.NET Web page."

Compare it with the earlier precise instructions:

"In Solution Explorer, right-click the name of the site, and then clickAdd New Item.

In theAdd New Item dialog box, underVisual Studio installed templates, selectWeb Service.

Name the file HelloWorldService.asmx and clear thePlace code in separate file check box.

Select the language you want to use.

ClickAdd."

At the end, I was unsure how to run theAtlasScript.aspx page. Through trial-and-error I right-clicked the AtlasScript.asx in Solution Explorer and chose "View in Browser".

Then the script wouldn't work. There were two problems.

The first I solved by changing the functionDateTime.Now toDate.Now. This needs to be changed in the walkthrough instructions.

The other problem was that you cannot pressEnter on the keyboard, you have to click theSearch button. It is almost subconsciously-automatic to press Enter, so it would be better if it was enabled.

I have not completed my first Atlas Walkthrough using Visual Studio 2005. My experiences are similar to yours with the difference that I get stopped at the error message: Validation (XHTML 1.0 Transitional): Element 'title'occurs too few times. Error occurs in AtlasScript.aspx line 7 containing <head id="Head1" runat="server">. Any idea?

asalisse

Saturday, March 24, 2012

Want to use AJAX Controls on Web-form...reqt

I m using VISUAL STUDIO.NET in that i m designing the form on ASP.NET with C#.

I want to know that what are the requirement or the tools or software needed to write the code on from using AJAX.

I want to use all the main features of AJAX so pls tell me or provide link for latest update.

You can download ASP.NET Ajaxhere. This will install everything you need for basic Ajax use. You can also consider downloading the Ajax Control Toolkit from the same location.