Hi Guys,
I am using C#, Ajax for coding.
Please see below code which I am using for ajax implementation.
<div id="column2Container">
<ajax:ScriptManager ID="ScriptManager1" runat="server">
</ajax:ScriptManager>
<div id="column2">
<ajax:UpdateProgress ID="uprogDestinationsTabs" runat="server" AssociatedUpdatePanelID="upDestinationTabs">
<ProgressTemplate>
<span style="display: block; text-align: center">
<p style="font-family: Verdana; font-size: larger; font-weight: bold;">
<img src="/Images/ajax-loader-circle-thickbox.gif" alt="Processing..." /><br />
<br />
Processing...</p>
</span>
</ProgressTemplate>
</ajax:UpdateProgress>
<ajax:UpdatePanel ID="upDestinationTabs" runat="server" RenderMode="Inline" UpdateMode="Conditional">
<ContentTemplate>
<CCIT.Web:DestinationTabs runat="server" />
</ContentTemplate>
</ajax:UpdatePanel>
</div>
</div>
Actually what I am trying to do is that, you can see there is an .net usercontrol used inside updatepanel i.e. <CCIT.Web:DestinationTabs runat="server" />
this user control will render below html
<ul class="tabHead tabs-nav">
<li class="tabLeftEnd"></li>
<li id="tab-1">
<a class="load-fragment" href="/english/destinations_offers/destinations/asiapacific/india/newdelhi/index.aspx"><span>Overview</span></a>
</li>
<li class="tabs-selected" id="tab-2">
<a href="/english/destinations_offers/destinations/asiapacific/india/newdelhi/guide.aspx"><span>Guide</span></a>
</li>
<li id="tab-3">
<a href="/english/destinations_offers/destinations/asiapacific/india/newdelhi/flightschedule.aspx"><span>Flight Schedule</span></a>
</li>
<li id="tab-4">
<a href="/english/destinations_offers/destinations/asiapacific/india/newdelhi/specialOffers.aspx"><span>Special Offers</span></a>
</li>
<li id="tab-5">
<a class="load-fragment" href="/english/destinations_offers/destinations/asiapacific/india/newdelhi/photo.aspx"><span>Photos</span></a>
</li>
<li class="tabRightEnd"></li>
</ul>
Now what I am trying to do is that when ever user will click any of these links that should be handled from Ajax, I mean there would not be any page postback while loading these pages i.e. why I am trying to use update panel.
Please suggest what is wrong in the above ajax implementation as the above code is not working for me.
Thanks.
Best Regards, MS