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 ...

No comments:

Post a Comment