Showing posts with label message. Show all posts
Showing posts with label message. Show all posts

Wednesday, March 28, 2012

Virtual Earth Question

Has anyone used the new build of Atlas to display the Virtual Earth control? I am unable to make it work. All I get is the copyright message from microsoft and the background image but not the maps

Any help would be great!!

<components>
<virtualEarthMap id="map" latitude="43.644755000"longitude="-79.392211000" zoomLevel="10" />
</components
that works :)

but looking to see if the Dashboard can be displayed:

params.showDashboard = false;
_map = new Msn.VE.MapControl(this.element, params);

Why is the Dashboard default to not show and theres no way of passingin the parameter or changing the JS ourselves since it is packaged intothe DLL now...

What alternatives can we do in using VE Control in Atlas and customizing the properties?

Monday, March 26, 2012

Void System.Web.UI.ScriptManager.RegisterHiddenField(System.Web.UI.Page, System.String, Sy

It code worked fine on my PC..but gettting following message on server...

'Void System.Web.UI.ScriptManager.RegisterHiddenField(System.Web.UI.Page, System.String, System.String)'

i checked this threadhttp://forums.asp.net/p/1123792/1869084.aspx#1869084

but it doesn't help me...

Updating global assembly cache of server, solved this error

Some how installation is not updating GAC..so you have to do it manually


Hi,

I have the exact same problem. Can you please tell me how you were able to clear out the GAC and update it with the latest DLL? Just like you everything works on my PC but when it gets published to servers i get that same error.

Thanks,
Kam


just copy the following DLL's fromC:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025 and paste it in folderc:\windows\assembly on server

System.Web.Extensions

System.Web.Extensions.Design

Hope it solves your problem, if not let me know


Hi,

Yup that fixed it perfectly. Thanks so much for the quick and accurate reply.

Kam

Wait Message...

Can anyone point me in the right direction on constructing a wait message for when an AJAX page is performing an action?

I would like to display a message that is centered on the screen when the user (for example) clicks a button to perform an action. Further, I would like to disable the page (and all controls on it) so that a response is received before continuing.

Thank you,

Jason

You might want to take a look at the UpdateProgressOverlayExtender in http://www40.brinkster.com/rajbk/FlanControls.html.

Take a look at this http://weblogs.asp.net/rajbk/archive/2007/01/08/using-the-updateprogress-control-as-a-modal-overlay.aspx to use it as a modal overlay.

Hope it helps.

German Afanador


You can use <asp:UpdateProgress > Control for that

or there are third parties control that can you use..

http://www.ajaxium.com/ajax-for-asp.net.aspx

Wednesday, March 21, 2012

Web Service Call executes 2 times !

Hello

When I make a call to an asynchronous web service the call is executes 2 times ! Except when I display an alert message before treating the result from the server, it only executes 1 time.

Here is my code on the client side:

functiononComplete(result)
{
var count=result.rows.length;
varcity=$get("<%= txtCity.ClientID %>");

if (count== 1)
city.value=result.rows[0].upName; (upName is the name of the city in the database)
else
{

alert('stop'); ---> WHEN I ADD THE ALERT MESSAGE HERE THE WEB SERVICE IS EXECUTED ONCE
----> WHEN I OMIT THE ALERT MESSAGE IT IS EXECUTES TWICE !

varsel=document.createElement('select');
sel.setAttribute('id', 'ddlCity');
sel.options[0]=newOption('<-- Select your city-->');

for (vari=0;i<result.rows.length;i++)
sel.options[i+1]=newOption(result.rows[i].upName);

document.getElementById('divCity').appendChild(sel);
}
}

Already found where my problem was.

When using my keyboard of my notebook, I have to use the SHIFT key to enter the numbers, and there are always 2 events triggered.

1) releasing the last digit itself to search
2) releasing the SHIFT key

So... problem solved :-)