|
I have no idea what you're talking about.
The key portion of AJAX is the XmlHttpRequest object, which is built-in in modern browsers (Firefox, Opera, IE7) and implemented as part of the MSXML COM package for IE6 and previous. If you're using IE6 and the MSXML installation is screwed up, it'll never work or always work (unless you're doing something really bizarre with progIds).
Keep in mind, for security reasons XmlHttpRequest will be prevented from loading URLs that are on a different host from that which the page was loaded from - so if you're switching up hosts (you are) and have a hard-coded host in the URL passed to XmlHttpRequest (do you?), then it'll break when the hard-coded host doesn't match the host you're loading from. So check that first.
---- ...the wind blows over it and it is gone, and its place remembers it no more...
|
|
|
|
|
but there's no hardcoded host when loading the form. I really don't know if what's causing it.
hifiger2004
|
|
|
|
|
hifiger2004 wrote: but there's no hardcoded host when loading the form.
So you're using XmlHttpRequest to load a form? What does the code that does this look like?
---- ...the wind blows over it and it is gone, and its place remembers it no more...
|
|
|
|
|
Too many people think that AJAX was invented by Microsoft with the ASP.NET AJAX libary.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Yeah, i'm starting to suspect that's what's going on here.
---- ...the wind blows over it and it is gone, and its place remembers it no more...
|
|
|
|
|
Hi,
I actually created a very simple test.aspx for me to test if Ajax is working fine, but still no luck.
Please see my sample test.aspx that uses updatepanel
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="test.aspx.vb" Inherits="test" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
</div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
<br />
<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox><br />
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" /><br />
</ContentTemplate>
</asp:UpdatePanel>
<asp:Button ID="Button2" runat="server" Text="Button" />
<cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="Button2"
PopupControlID="button2">
</cc1:ModalPopupExtender>
<cc1:RoundedCornersExtender ID="RoundedCornersExtender1" runat="server" TargetControlID="Panel1">
</cc1:RoundedCornersExtender>
<asp:Panel ID="Panel1" runat="server" Height="50px" Width="125px">
</asp:Panel>
<asp:Button ID="Button3" runat="server" Text="Check server path" Width="296px" />
<br />
<asp:TextBox ID="TextBox4" runat="server" Width="669px"></asp:TextBox>
</form>
</body>
</html>
hifiger2004
|
|
|
|
|
I already reinstalled the AJAX extensions 1.0 but still no luck. It works fine when running in my local machine, but when deploying it in the server the ajax seems not working well.
What do you think should I do man?
hifiger2004
|
|
|
|
|
hifiger2004 wrote: when deploying it in the server the ajax seems not working well.
is your server installed with AJAX server extensions ?
|
|
|
|
|
Was it different from Microsoft ASP.net AJAX Extensions 1.0?
Is it free and downloadable?
hifiger2004
|
|
|
|
|
This is the Ajax installer that I downloaded recently - ASPAJAXExtSetup.msi from this link -
http://www.microsoft.com/downloads/details.aspx?familyid=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6&displaylang=en
I think it's the same AJAX you are refering to, right?
hifiger2004
|
|
|
|
|
I've been reinstalling the ajax at the server several times but it doesn't work fine.
We have to go back to the original problem.
When accessing it thru the IP address the ajax will work. But when using the domain name (same IP reference), the ajax won't work. Why?
hifiger2004
|
|
|
|
|
Actually this is the first time that I encountered this kind of problem that the Ajax will not work. Because I have tried installing some of my projects before at the server with the same web.config, ASP.Net framework 2.0, AJAX Ext 1.0 and AJAXcontrolToolkit and all are working fine.
It really confused me
hifiger2004
|
|
|
|
|
Hi Guys,
You know, I won't believe it, I solved it. And the solution is not difficult as what we think. I just renamed the folder and overwrite the web.config and then I renamed back the folder and it works fine now.
Sometimes things are happening really strange
Thank you for the time guys
hifiger2004
|
|
|
|
|
One thing you didn't seem to notice. You're saying AJAX when you mean the ASP.NET AJAX extensions. I guarentee to you that AJAX was working fine the entire time.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
You mean you renamed the root folder of the application? Why did you have to overwrite the web.config. Did you rename it after deploying? And then renamed it back again?
So What should be taken care to avoid the problem that occured?
|
|
|
|
|
honestly, I really don't know if what trigger it to work properly now. I was just trying ovewriting the system.web.extensions.dll, foldername, and the web.config. I renamed the folder where my asp.net pages are located.
My feeling is that it just like being refresh everything. Because before I did the renaming of folders and overwriting of dlls and web.config it's really not working, even to a very simple test.aspx with scriptmanager and updatepanel. And now it's working fine after doing those trials.
Really funny and confusing, because I never changes anything inside my pages source codes as well as the web.config and asp.net dlls.
hifiger2004
|
|
|
|
|
Are you monitoring with an http monitor to see what the ajax requests look like. Something like http watch or fiddler work well
|
|
|
|
|
Is it possible to place a div created in one frame into another frame? I tried with absolute positioning with style="left " in the right frame but it takes only the leftmost position in the right frame. It never goes to the left one. Is there exist any property for a div we can achieve the above requirement?
|
|
|
|
|
|
|
I have seen the demo I did not work on it. I see that the div's id that's on an inner frame is assigned to a variable to the parent's variable. But can I then access the containers div from the parent then?
|
|
|
|
|
i am using this code it update all rows form table. i am using pagignation and show one record on page id i am use to show more then one record then multiple oldb connection so plz.
[code] code is here [/code]
<%conn.close
If Not IsEmpty(Request.Form("submit")) then
vopenflg = Request.Form("vopenflg")
vopenflg=trim(vopenflg)
conn.Mode = adModeReadWrite
conn.open
R1.open "Select open_flg from topmaster ", conn, adOpenStatic, adLockOptimistic, adCmdText
R1("open_flg")=vopenflg
do while not R1.eof
R1.moveNext
loop
R1.update
R1.Close
conn.close
end if
%>
sanjeev
|
|
|
|
|
Hi,
I need to advice from the experienced web designers. I am looking at working through the Yahoo user interface API, and I was wondering if there is a tool/program/IDE available that is up-to-date with the XHTML and CSS standards. I want to use it solely for my web designs. I don't always want to open up a project in VS2005 just to create a web page. I would prefer if the tool is free.
And another thing, I am also looking at a good XML tool.
Regards
Brendan
|
|
|
|
|
|
Hi Guys and Gals.
I am trying to create a Dynamic Image in Crystal Reports. Now, when I do this in the full version of Crystal Reports 11, It works fine, but the moment I use the Build-in Crystal of .NET, I cant get this picture control to display a different image.
Can anyone please guide me on how to solve this problem please?
Kind Regards,
Elizma
P.S. In Crystal 11, If you right click on the object and go to Format Picture, Picture Tab has an option that reads: Graphic Location. If you click on the Conditional Formula Button, you can specify the field that contains the location to the picture. Dont have this option in .NET.
Hope someone might be able to help. Thanx in advanced.
|
|
|
|