Saturday, March 24, 2012

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

No comments:

Post a Comment