Showing posts with label friends. Show all posts
Showing posts with label friends. Show all posts

Wednesday, March 28, 2012

ASP.NET AJAX in normal ASP.NET 2.0 project

Hai friends,

a small doubt. I have a project done in ASP.NET 2.0.

Now v have to do a modification into it. v are planing to add ASP.NET AJAX into this project.

What the config changes and libraries need to added to normal ASP.NET 2.0 project to make it ASP.NET AJAX enabled.

Sreejith

Well, you'll need the System.Web.Extensions library. As for the config file changes, I'd recommend creating a "ASP.NET Ajax-Enabled Web Application" in VS (that you should have available in the new project dialog after you install ASP.NET Ajax), compare that web.config to the one that is in your application, and move over things that you are missing.

Saturday, March 24, 2012

ASP.NET / AJAX for beginnners

Hi new friends,

My name is Eduardo. The ASP.NET / AJAX are my new and recent tool to develope programs and website. There are too many doubts about ASP.NET and AJAX. Please, somebody help me?

I have been a lot of pain in my head with AJAX. I'm learning and studying every day, but I have some doubts yet:

1) Do you have some articles that show the good practice to apply AJAX in your ASP.NET application?

2) How many scripts source and update panel I can have in my application or by page?

3) Is the good thing to put one script source and updatepanel in masterpgage?

4) I create an applicaction that have a scriptsource and updatepanel in masterpage. So, There is one label into updatepanel that show the date and timer automaticly without refresh in browser. When I have to create a webpage (aspx) and apply this masterpage I can't use another instance of updatepanel or scriptsource? What's wrong?

Thanks a lot,

Eduardo

This will help you

http://ajax.asp.net/ajaxtoolkit/

http://localhost/AspNet_AJAX_Documentation/


Hi Eduardo,

1 - Articles, like videos and tutorials you can find in AJAX homepagehttp://ajax.asp.net

2 - To you have best performance use updatepanels in conditional mode and add the controls that make ajax-postback as Triggers ... You can do this in updatepanel properties... I like to use one scriptmanager in masterpage and use updatepanel with controls that have relations ...

3 - Only scriptmanger in masterpage ... the updatepanels um can "use on-demmand" in your pages.

4 - Modify your masterpage ... remove your contentplaceholder from the updatepanel ... try to use only your label in your updatepanel that is in masterpage...


This might help you

http://ajax.asp.net/ajaxtoolkit/

http://ajax.asp.net/documentation/default.aspx?tabid=47


Antonio,

Já que você é brasileiro, podemos falar em PT!!! N?o entendi o que vc explicou nos itens abaixo:

//////
2 - To you have best performance use updatepanels in conditional mode and add the controls that make ajax-postback as Triggers ... You can do this in updatepanel properties... I like to use one scriptmanager in masterpage and use updatepanel with controls that have relations ...

3 - Only scriptmanger in masterpage ... the updatepanels um can "use on-demmand" in your pages.

4 - Modify your masterpage ... remove your contentplaceholder from the updatepanel ... try to use only your label in your updatepanel that is in masterpage

////

Desculpe meu incomodo, mas é que nao tenho muita experiencia no .NET/AJAX, portanto você poderia explicar novamente?

Grato,

Eduardo


Para ter bom desempenho com seu updatepanel, use em modo condicional, vc altera o modo na propriedade do updatepanel. Também nas propriedades do updatepanel adicione as triggers... que s?o os controles que ir?o atualizar o updatepanel. Entendeu?

Eu costumo usar o scriptmanager na masterpage e coloco diversos updatepanels em minha páginas ... De acordo com a necesecidade ...