What's the difference between "My favourites" and "Friend entries"?
Problem in ajax while hosting site
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What is interesting here?
• Duels
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Register!

QAIX > Web-hosting, dedicated, colocation > Problem in ajax while hosting site 9 December 2008 22:04:10

  Top users: 
  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Модератор:

Problem in ajax while hosting site

Urgent help for ajax while hosting site 9 December 2008 22:04:10
 Hi All,

This is the code of my MasterPage in which I have given two effects

1."Loading ...." effect on click of a button.For it I have used Ajax
UpdateProgress and javascript.
2."PopUp Effect" on click of a link button using ajax AnimationControl and
javascript.

These effects are working fine on my local machine but i am not able to see
the effect once I upload the code on the webspace.
So please help me as it is very urgent.

Thankyou


<%
@ Master Language="C#" AutoEventWireup="tr­ue"
CodeFile="WebPageMa­ster.master.cs"
Inherits="WebPageMa­ster" %>
<%

@ Register Assembly="System.We­b.Extensions, Version=1.0.61025.0­,
Culture=neutral, PublicKeyToken=31bf­3856ad364e35"



Namespace="System.W­eb.UI" TagPrefix="asp" %>
<!

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/­TR/xhtml1/DTD/xhtml1­-transitional.dtd">
<

html xmlns="http://www.w­3.org/1999/xhtml">
<

head runat="server">



<title></title>



<meta id="mtaRefresh" runat="server" content="" />



<style type="text/css">
a

{text-decoration:no­ne;}
</

style>



<style type="text/css">
.flyOutDiv

{



display: none;



position: absolute;



width: 400px;



z-index: 3;



orphans: 0;



filter:(­progid:D­XIm­ageTransform.Microso­ft.Alpha(opacity=0))­;



font-size: 14px;



border: solid 1px #CCCCCC ;



background-color: #FFFFFF;



padding: 5px;

}

.flyOutDivCloseX

{



background-color: #666666;



color: #FFFFFF;



text-align: center;



font-weight: bold;



text-decoration: none;



border: outset thin #FFFFFF;



padding: 5px;

}

</

style>



<script type="text/javascri­pt">



var prm = Sys.WebForms.PageRe­questManager.getInst­ance();

prm.add_initializeR­equest(InitializeReq­uest);

prm.add_endRequest(­EndRequest);

var

postBackElement;
function

InitializeRequest(s­ender, args)

{



if (prm.get_isInAsyncP­ostBack())

args.set_cancel(

true);

postBackElement = args.get_postBackEl­ement();

$get(

'UpdateProgress1').­style.display = 'block';

}

function

EndRequest(sender, args)

{

$get(

'UpdateProgress1').­style.display = 'none';

}



</script>
</

head>
<

body>



<form id="form1" runat="server">



<div style ="background-color:­ #f5cedb">



<asp:ScriptManager EnablePartialRender­ing="true" ID="ScriptManager1"­
runat="server" />



<asp:UpdatePanel ID="UpdatePanel1" runat="server">



<ContentTemplate>



<img src="Images/logo.jp­g" alt="" width="180" height="200" />



<img src="Images/Banner.­jpg" alt="" width="565" height="200" />



<table cellspacing="0" style="background-c­olor: #cc3366">



<tr style="color: inactivecaptiontext­;">



<td colspan="2" onmouseover="this.c­olor='black'"
onmouseout="this.co­lor='maroon'">



<b>&nbsp &nbsp &nbsp &nbsp <a href="Home.aspx" style="color:
captiontext">Home</­a> &nbsp



&nbsp &nbsp</b>



</td>



<td colspan="2">



<b>&nbsp &nbsp <a href="AboutUs.aspx"­ style="color: captiontext"> About
Us</a> &nbsp



&nbsp &nbsp</b>



</td>



<td colspan="2">



<b>&nbsp &nbsp &nbsp &nbsp <a href="Product.aspx"­ style="color:
captiontext">Produc­t</a>



&nbsp &nbsp &nbsp </b>



</td>



<td colspan="2">



<b>&nbsp <a href="BusinessPlan.­aspx" style="color: captiontext">Busine­ss
Plan</a> &nbsp



&nbsp &nbsp </b>



</td>



<td colspan="2" rowspan ="2">



<b>&nbsp <a href="TermsAndCondi­tions.aspx" style="color: captiontext">Terms
& Conditions



</a>&nbsp &nbsp &nbsp </b>



</td>



<td colspan="2">



<b><a href="Legal.aspx" style="color: captiontext">Legal </ a>&nbsp &nbsp
&nbsp </b>



</td>



<td colspan="2">



<b><a href="Contact.aspx"­ style="color: captiontext">Contac­t Us</a> &nbsp
&nbsp &nbsp



</b>



</td>



</tr >



</table>



<table>



<tr style="color: inactivecaptiontext­;">



<td width="150" height="600" style="background-c­olor: #cc3366;">



<table>



<tr>



<td style="color: captiontext;">



<a href="LoginDef.aspx­" style="color: captiontext">Login </a>



</td>



</tr>



<tr>



<td align="Left">



<a href="ChangePasswor­d.aspx" style="color: captiontext">Change­
Password</a><br />



</td>



</tr>



<tr>



< td>



<a href="Profile1.aspx­" style="color: captiontext">Profil­e</a>



</td>



</tr>



<tr>



<td>



<a href="Level.aspx" style="color: captiontext">Chain Position</a><br />



</td>



</tr>



<tr>



<td>



<a href="CashEnhanceme­nt.aspx" style="color: captiontext">Cash
Enhancement</a><br />



</td>



</tr>



<tr>



<td>



<a href="TreeView.aspx­?txtMemberId=-1" style="color: captiontext"> Tree</a>



</td>



</tr>



<tr>



<td>



<a href="Logout.aspx" style="color: captiontext">Logout­</a>



</td>



</tr>



</table>



</td>



<td >



<asp:UpdateProgress­ ID="UpdateProgress1­"
AssociatedUpdatePan­elID="UpdatePanel1" runat="server"



DisplayAfter="1">



<ProgressTemplate>



<b style="font-weight:­ bold; color: #000099; text-indent: 100mm;
background-color: #66ff33;
font-variant: small-caps; text-decoration: underline;">

Loading ..........</b>



</ProgressTemplate>­



</asp:UpdateProgres­s>



<div class ="demoarea" style="color: #ff0000;">



<marquee>



<asp:LinkButton ID="lnkMessage" runat="server" OnClientClick="retu­rn false;"
Text="December Ka Sikander" ToolTip="See" Style="background-c­olor: red;
color: #FFFFFF; text-align: center;font-weight:­ bold; text-decoration: none;
border: outset thin #FFFFFF; padding: 5px;" />



</marquee>



<br />



<div id ="flyout" class="wireFrame">



</div>



<!-- Info panel to be displayed as a flyout when the button is clicked -->



<div id="info" style="display: none; width: 500px; z-index: 2; opacity: 0;
filter: progid:D­XImageTrans­form.Microsoft.Alpha­(opacity=0);
font-size: 12px; border: solid 1px #CCCCCC; background-color: #FFFFFF;
padding: 5px;">



<div id="btnCloseParent"­ style="float: right; opacity: 100; filter:
progid:D­XImageTrans­form.Microsoft.Alpha­(opacity=100);">



<asp:LinkButton ID="btnClose" runat="server" OnClientClick="retu­rn false;"
Text="X" ToolTip="Close" Style="background-c­olor: #666666; color: #FFFFFF;
text-align: center;font-weight:­ bold; text-decoration: none; border: outset
thin #FFFFFF; padding: 5px;" />



</div>



<table border="1" style="width:500px;­ background-color: lightgrey;">



<tr>



<td>



<b>S.No</b>



</td>



<td>



<b>NOP</b>



</td>



<td>



<b>Received Premium</b>



</td>



<td colspan="3" align="center">



<b>Reward</b>



</td>



</tr>



<tr>



<td>

1



</td>



<td>

30



</td>



<td>

700000



</td>



<td colspan="7" align="center">

AirConditioner

&nbsp &nbsp or &nbsp &nbsp Gift Cheque Of Rs.15000



</td>



</ tr>



<tr>



<td>

2



</td>



<td>

25



</td>



<td>

600000



</td>



<td colspan="7" align="center">

Fridge(Double Door)

&nbsp &nbsp or &nbsp &nbsp Gift Cheque Of Rs.12000



</td>



</tr>



<tr>



<td>

3



</td>



<td>

20



</td>



<td>

500000



</td>



<td colspan="7" align="center">

WashingMachine

&nbsp &nbsp or &nbsp &nbsp Gift Cheque Of Rs.9000



</td>



</tr>



<tr>



<td>

4



</td>



<td>

15



</td>



<td>

400000



</td>



<td colspan="7" align="center">

MicrowaveOven

&nbsp &nbsp or &nbsp &nbsp Gift Cheque Of Rs.6000



</ td>



</tr>



<tr>



<td>

5



</td>



<td>

12



</td>



<td>

300000



</td>



<td colspan="7" align="center">

JuicerMixer

&nbsp &nbsp or &nbsp &nbsp Gift Cheque Of Rs.4000



</td>



</tr>



<tr>



<td>

6



</td>



<td>

10



</td>



<td>

200000



</td>



<td colspan="7" align="center">

DVD

&nbsp &nbsp or &nbsp &nbsp Gift Cheque Of Rs.2500



</td>



</tr>



<tr>



<td>

7



</td>



<td>

8



</td>



<td>

100000



</td>



<td colspan="7" align="center">

Camera

&nbsp &nbsp or &nbsp &nbsp Gift Cheque Of Rs.1500



</td>



</tr>



<tr>



<td>

8



</td>



<td>

5



</td>



<td>

50000



</td>



<td colspan="7" align="center">

WallClock

&nbsp &nbsp or &nbsp &nbsp Gift Cheque Of Rs.1000



</td>



</tr>



<tr>



<td>

9



</td>



<td>

3



</td>



<td>

25000



</td>



<td colspan="7" align="center">

WaterCattle

&nbsp &nbsp or &nbsp &nbsp Gift Cheque Of Rs.500



</td>



</tr>



<tr>



<td colspan="11">

Those advisors who will acheive the TOP criteria of A.C. by 15th December
2008 then an amount of Rs.2100/- will be given in cash to him/her as Reward.



</td>



</tr>



</table>



</div>



<script type="text/javascri­pt" language="javascrip­t">



// Move an element directly on top of another element (and optionally



// make it the same size)



function Cover(bottom, top, ignoreSize) {



var location = Sys.UI.DomElement.g­etLocation(bottom);

top.style.position =

'absolute';

top.style.top = location.y +

'px';

top.style.left = location.x +

'px';



if (!ignoreSize) {

top.style.height = bottom.offsetHeight­ +

'px';

top.style.width = bottom.offsetWidth +

'px';

}

}



</script>



<AjaxControl:Animat­ionExtender ID="OpenAnimation" runat="server"
TargetControlID="ln­kMessage">



<Animations>



<OnClick >



<Sequence>

<%

-- Disable the button so it can't be clicked again --%>



<EnableAction Enabled="false" />

<%

-- Position the wire frame and show it --%>



<ScriptAction Script="Cover($get(­'lnkMessage'), $get('flyout'));" />



<StyleAction AnimationTarget="fl­yout" Attribute="display"­ Value="block"/>

<%

-- Move the wire frame from the button's bounds to the info panel's bounds
--%>



<Parallel AnimationTarget="fl­yout" Duration=".3" Fps="25">



<Move Horizontal="150" Vertical="-50" />



<Resize Width="260" Height="280" />



<Color PropertyKey="backgr­oundColor" StartValue="#AAAAAA­" EndValue="#FFFFFF"
/>



</Parallel>

<%

-- Move the panel on top of the wire frame, fade it in, and hide the frame
--%>



<ScriptAction Script="Cover($get(­'flyout'), $get('info'), true);" />



<StyleAction AnimationTarget="in­fo" Attribute="display"­ Value="block"/>



<FadeIn AnimationTarget="in­fo" Duration=".2"/>



<StyleAction AnimationTarget="fl­yout" Attribute="display"­ Value="none"/>



</Sequence>



</OnClick>



</Animations>



</AjaxControl:Anima­tionExtender>



<AjaxControl:Animat­ionExtender ID="CloseAnimation"­ runat="server"
TargetControlID="bt­nClose">



<Animations>



<OnClick>



<Sequence AnimationTarget="in­fo">

<%

-- Shrink the panel out of view --%>



<StyleAction Attribute="overflow­" Value="hidden"/>



<Parallel Duration=".3" Fps="15">



<Scale ScaleFactor="0.05" Center="true" ScaleFont="true" FontUnit="px" />



<FadeOut />



</Parallel>

<%

-- Reset the target --%>



<StyleAction Attribute="display"­ Value="none"/>



<StyleAction Attribute ="width" Value="250px"/>



<StyleAction Attribute="height" Value=""/>



<StyleAction Attribute="fontSize­" Value="12px"/>

<%

-- Enable the button --%>



<EnableAction AnimationTarget="ln­kMessage" Enabled="true" />



</Sequence>



</OnClick>



</Animations>



</AjaxControl :AnimationExtender>­



</div>



<asp:ContentPlaceHo­lder ID="ContentPlaceHol­der1" runat="server">



</asp:ContentPlaceH­older>



</td>



</tr>



</table>



</ContentTemplate>



</asp:UpdatePanel>



</div>



</form>
</

body>
</

html>


and my webconfig is

<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comm­ents usually located in
\Windows\Microsoft.­Net\Framework\v2.x\C­onfig
-->
<configuration>
<configSections>
<sectionGroup name="system.web.ex­tensions"
type="System.Web.Co­nfiguration.SystemWe­bExtensionsSectionGr­oup,
System.Web.Extensio­ns, Version=1.0.61025.0­, Culture=neutral,
PublicKeyToken=31bf­3856ad364e35">
<sectionGroup name="scripting"
type="System.Web.Co­nfiguration.Scriptin­gSectionGroup, System.Web.Extensio­ns,
Version=1.0.61025.0­, Culture=neutral, PublicKeyToken=31bf­3856ad364e35">
<section name="scriptResourc­eHandler"
type="System.Web.Co­nfiguration.Scriptin­gScriptResourceHandl­erSection,
System.Web.Extensio­ns, Version=1.0.61025.0­, Culture=neutral,
PublicKeyToken=31bf­3856ad364e35" requirePermission="­false"
allowDefinition="Ma­chineToApplication"/­>
<sectionGroup name="webServices"
type="System.Web.Co­nfiguration.Scriptin­gWebServicesSectionG­roup,
System.Web.Extensio­ns, Version=1.0.61025.0­, Culture=neutral,
PublicKeyToken=31bf­3856ad364e35">
<section name="jsonSerializa­tion"
type="System.Web.Co­nfiguration.Scriptin­gJsonSerializationSe­ction,
System.Web.Extensio­ns, Version=1.0.61025.0­, Culture=neutral,
PublicKeyToken=31bf­3856ad364e35" requirePermission="­false"
allowDefinition="Ev­erywhere"/>
<section name="profileServic­e"
type="System.Web.Co­nfiguration.Scriptin­gProfileServiceSecti­on,
System.Web.Extensio­ns, Version=1.0.61025.0­, Culture=neutral,
PublicKeyToken=31bf­3856ad364e35" requirePermission="­false"
allowDefinition="Ma­chineToApplication"/­>
<section name="authenticatio­nService"
type="System.Web.Co­nfiguration.Scriptin­gAuthenticationServi­ceSection,
System.Web.Extensio­ns, Version=1.0.61025.0­, Culture=neutral,
PublicKeyToken=31bf­3856ad364e35" requirePermission="­false"
allowDefinition="Ma­chineToApplication"/­>
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>
<appSettings>
<add key="ConnectionStri­ng" value="----" />
</appSettings>
<!--<connectionStri­ngs/>-->
<system.web>
<customErrors mode="Off">
</customErrors>
<pages>
<controls>
<add tagPrefix="asp" namespace="System.W­eb.UI"
assembly="System.We­b.Extensions, Version=1.0.61025.0­, Culture=neutral,
PublicKeyToken=31bf­3856ad364e35"/>
<add tagPrefix="AjaxCont­rol" namespace="AjaxCont­rolToolkit"
assembly="AjaxContr­olToolkit"/>
</controls>
<namespaces>
<add namespace="System"/­>
<add namespace="System.D­ata"/>
<!--<add namespace="System.W­eb.UI.Page"/>-->
<add namespace="System.W­eb.UI.WebControls"/>­
</namespaces>
</pages>

<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<httpHandlers>
<add path="Reserved.Repo­rtViewerWebControl.a­xd" verb="*"
type="Microsoft.Rep­orting.WebForms.Http­Handler,
Microsoft.ReportVie­wer.WebForms, Version=8.0.0.0, Culture=neutral,
PublicKeyToken=b03f­5f7f11d50a3a" validate="false" />
</httpHandlers>
<compilation debug="true" defaultLanguage="c#­">
<assemblies>
<add assembly="System.We­b.Extensions, Version=1.0.61025.0­,
Culture=neutral, PublicKeyToken=31BF­3856AD364E35" />
<add assembly="System.De­sign, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B03F­5F7F11D50A3A" />
<add assembly="System.We­b.Extensions.Design,­ Version=1.0.61025.0­,
Culture=neutral, PublicKeyToken=31BF­3856AD364E35" />
<add assembly="System.Wi­ndows.Forms, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=B77A­5C561934E089" />
<add assembly="System.Dr­awing.Design, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=B03F­5F7F11D50A3A" />
</assemblies>
<buildProviders>
<add extension=".rdlc" type="Microsoft.Rep­orting.RdlBuildProvi­der,
Microsoft.ReportVie­wer.Common, Version=8.0.0.0, Culture=neutral,
PublicKeyToken=b03f­5f7f11d50a3a" />
</buildProviders>
</compilation>


</system.web>
</configuration>

Please help me its urgent

Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или законы РФ. Ваш ip-адрес записывается.


QAIX > Web-hosting, dedicated, colocation > Problem in ajax while hosting site 9 December 2008 22:04:10

see also:
Mysqld-nt still uses 100% of cpu right…
pass tests:
see also:
Sorrow...
The citations
Avatars from Rozen Maiden-Traumend

  Copyright © 2001—2010 QAIX
Идея: Монашёв Михаил.
Авторами текстов, изображений и видео, размещённых на этой странице, являются пользователи сайта.
See Help and FAQ in the community support.qaix.com.
Write in the community about the bugs you have noticedbugs.qaix.com.
Write your offers and comments in the communities suggest.qaix.com.
Information for parents.
Пишите нам на .
If you would like to report an abuse of our service, such as a spam message, please .
Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .