Click here to Skip to main content
15,921,542 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am using AJAX tab control in my web application. While changing from on tab to the other I am binding the data to the Grid and Dropdown controls. when it is performing this action tab control will be disappearing. I tried to solve that using update panel. I set the property AutoPostBack=true if i set false i am not able to bind the data to those controls. Can any one please guide me.


Regards,
Jeevan.
Posted
Comments
Sandeep Mewara 20-Jul-10 1:39am    
You question is not quite clear. Can you please elaborate more?

Hi ..
You Said you are using update panel and can able have PostBack.
Then for the ajax controls in order to have asynchronous postback add trigger in inline codeas shown.make it as per your requirements.

XML
<asp:UpdatePanel ID ="UpdatePanel1" runat ="server" >
<ContentTemplate >
<asp:Button ID="Button1" runat="server" Text="SAVE" OnClick ="btnuploadphoto_click" />
</ContentTemplate>

<Triggers >
<asp:PostBackTrigger ControlID ="btnuploadphoto" />
</Triggers>
</asp:UpdatePanel>



I have taken a sample button inthe update panel.
 
Share this answer
 
:(( :sigh: :laugh: :) :laugh: ;P :sigh: :(( :-O :confused: X|
 
Share this answer
 
Comments
Anuja Pawar Indore 25-Jan-12 3:25am    
What does this symbol means.......... Is this your answer?
you missing eventname property dear

C#
<triggers>
<asp:postbacktrigger controlid="btnuploadphoto" eventname="Click" xmlns:asp="#unknown" />
</triggers>
 
Share this answer
 
v2
Comments
Anuja Pawar Indore 25-Jan-12 3:26am    
Added pre tag

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900