Showing posts with label live. Show all posts
Showing posts with label live. Show all posts

Monday, March 26, 2012

Windows live style info panels

Hello,

I just logged on to my windows live email account and noticed that they did an update to the interface.

When the page loaded, there was next to some textfields and buttons a yellow balloon with information about the corresponding field. There was also a link in the balloons to close all the balloons on the page. Does anyone know if this is possbile with the Ajax control toolkit ?

I did not see an extender to do that in the previous version, however yesterday MS just release the new MS AJAX library (Atlas) with more controls, download them maybe you lucky, you can always create it and submit it to MS using their library

Saturday, March 24, 2012

Working locally (both IE & FF), only working in FF on live server

I just got my personal website (link) updated with some Atlas enabled stuff, right there on the front page you can do "Show Different Image" in the top left or use the Calendar's left and right arrows to go through the months without postback.... but... as the subject says

Running on my laptop here: Atlas CTP installed, using studio's built in web server:
- All functions work in both browsers (IE 6, FF 1.5.0.4)

Up on my web server: Atlas CTP installed, IIS 6.0
- FF works 100%, but IE spews javascript errors on page load

And it's weird, one time i get one error (and this is the common one, btw that line # shown doesn't have anything!):

Other times, IE is totally confused! (i do not have that many lines in that page needless to say)

I've already tried seeing what's going on with Fiddler, not sure what i am exactly looking for, but all looks well in that tools... and just for good measure i uninstalled Atlas on my server and reinstalled it, that didn't help things either

Any ideas? (link again)

So i got by this problem by installing theMicrosoft Script Debugger and seeing what IE was whining about and it was the javascript for Google Analytics causing the above problems (although it makes *no* sense why it worked 100% in FF)

So now I have the "css refresh" problem where IE/Atlas is working, but the whole page's CSS refreshes, i swear i saw a blog post by someone at Microsoft to fix it... gotta track that down

Works on locaol Machine but doesnt work on live server

I created an atlas page:

<cc1:ScriptManagerID="ScriptManager1"runat="server"EnablePartialRendering="True">

<Services>

<cc1:ServiceReferencePath="AtlasServicestesting.asmx"Type="text/javascript"/>

</Services>

</cc1:ScriptManager>

<tableborder="0"cellspacing="0"cellpadding="0">

<tr>

<tdalign="left"valign="top"colspan="3"style="height: 8px"><imgsrc="../../images/spacer.gif"width="329"height="8"/></td>

</tr>

<trclass="copy_bold">

<tdalign="left"style="height: 13px; width: 135px"valign="top">

<span><asp:LabelID="Label1"runat="server"Text="Available Dates"></asp:Label></span></td>

<tdalign="left"style="height: 13px; width: 175px"valign="top">

<span><asp:LabelID="Label2"runat="server"Text="Location"></asp:Label></span></td>

<tdalign="left"style="height: 13px; width: 30px"valign="top">

</td>

</tr>

<trclass="copy_standard">

<tdalign="left"style="height: 13px; width: 135px"valign="top">

<span><asp:LabelID="lblDates"runat="server"Text=""></asp:Label></span></td>

<tdalign="left"style="height: 13px; width: 175px"valign="top">

<span><asp:LabelID="lblLocation"runat="server"Text=""></asp:Label></span></td>

<tdalign="left"style="height: 13px; width: 30px"valign="top">

</td>

</tr>

</table>

<br/>

<inputid="T1"type="button"value="Testing"onclick="sayHelloFromWS();"/>

</div>

<scripttype="text/javascript">

function sayHelloFromWS() {

AtlasServicesTesting.HelloWorld(onComplete);

}

function onComplete(result) {

var tb =result.getItem(0)

var i=0;

var strDates=""

var strLocation=""

var strReturn="<br />"

for(i=0;i<tb.get_length();i++)

{

strDates+=tb.getItem(i).getProperty("Dates")+strReturn

strLocation+=tb.getItem(i).getProperty("Lev")+strReturn

}

document.getElementById("lblDates").innerHTML=strDates

document.getElementById("lblLocation").innerHTML=strLocation

}

</script>

My Webservice Page just like:

<WebMethod()> _

PublicFunction HelloWorld()As DataSet

Dim StrSqlAsString

StrSql ="Select * from ref_SchoolLev where month(Actdates)=10 and Lev='G4'"

Dim StrConnAsString

StrConn ="......"

Dim myConnAsNew SqlConnection(StrConn)

Dim myAdapterAs SqlDataAdapter

myAdapter =New SqlDataAdapter(StrSql, myConn)

myConn.Open()

Dim myDatasetAsNew DataSet

myAdapter.Fill(myDataset)

myConn.Close()

Return myDataset

EndFunction

I also change the web.configure file. And the page works well when I publish the whole site to local server. But it gives me error message like: "object doesn't support this property ot method and The server method 'HelloWorld' failed with the following error:" when I publish the site to live server. I don't know why. Please help!!!

I create an Atlas page with ASP.net 2.0 webservice. It works in local server. It also works in https:// live site. But in http:// live site, it doesn't work.

Another strange thing is that even the http:// live site works on one of my co-worker's computer. We check the setting of browser and windows. But we don't know what happen. Please help!!!


I am having the opposite problem. See the threadhttp://forums.asp.net/thread/1482244.aspx

My test server does not use https, but production does. Maybe it has something to do with the way the asp.net ajax *.js files are cached the first time (secure vs. nonsecure). I'm going to try clearing my browsing history...


This didn't help.