Search

You searched for the word(s): userid:687762

Matching Posts

  • JSON Object Collection

    I have an AJAX enabled web service that returns the following JSON, note the last entry is ID 062... "[{\"ID\":\"001\",\"Type\":\"0\",\"Description\":\"This is your BASICPAY, you normally get paid £200.00 and this period you got paid £200.00. This year you have been paid a total of £600.06\"},{\"ID\":\"003\",\"Type\":\"0\",\"Description\":\"This is your O/T ONE, you normally get paid £.00 and this period you got paid £44.76\"},{\"ID\":\"004\",\"Type\":\"0\",\"Description\":\"This is your O/T TWO
  • Re: what type of code is appropriate for client-side and server-side

    hi N-tier is just best practice any way you look at it. However in your vase you need look at the complexity of the business login versus the performance of update panels versus using javascript async web service calls. If you have complex business logic and you are happy to carry the overhead in page size of an update panel then go down that route. However if your page size and performance matter and your logic is simple (and secure) have it in the javascript on the client or if it is more complex
  • Re: what type of code is appropriate for client-side and server-side

    Hi As a rule of thumb we always put business logic code in the code behind or better still in a compiled assembly (i.e. make your site a web application not a web site, see http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx ) This makes for a more secure solution as a hacker can not see your code and work out what you are doing, you can even sign the assemblies. We actually have simple web service calls in our code behind that call a second more secure server that houses our business logic. Also
  • Re: Secure Ajax Client Web Service Calls??

    found the solution. My web service was secured by forms authentication which although not the normal way to secure a web service works in this context.
  • Re: timeout

    I don't know how to do this with an UpdatePanel but if it helps but you can do this with a JavaScript Ajax web service call.... function MyFunction{ ret = WebService.HelloWorld(document.getElementById( 'Text1' ).value, OnComplete, OnTimeOut, OnError); return ( true ); } function OnComplete(args) { document.getElementById( 'Text2' ).innerText = args; } function OnTimeOut(args) { alert( "Time Out" ); } function OnError(args) { alert (args); }
    Posted to ASP.NET AJAX UI (Forum) by nprudhoe on 3/8/2007
  • Secure Ajax Client Web Service Calls??

    Does anyone know if it is possible to write secure ajax web service calls from JavaScript? I have an application that in the main uses UpdatePanels to present pay check data for multiple employees. However i want to use JavaScript to get additional text from the database only when they hover over specific links on the page. I could preload the text with the rest of the data via the update panels but I'd prefer to get it only of the intentionally hover over the link. I have the code working but I
  • Re: "The path to the web service has not been set" error.

    Hi, I get the same error when I try and integrate my Ajax page into an existing web application (.NET 2.0). As a stand alone web app I get no errors but integrated I get this issue. I have checked and... < authenticationService enabled = " true " />. The other strange thing is that the ASP.NET Ajax stuff works i.e. update panels, etc but the AjaxToolKit elements I've used do not???
  • Problems in IE7

    I have been working on a project that heavily uses MS Ajax Beta 2 and the control toolkit. Everything was working find in IE6 but when I upgraded to the release version of IE7 a couple of things stopped working. The first problem is I have an UpdateProgress control on a page containing a div with a label and gif in it. It displays fine in IE6 but only the DIV appears in IE7 not the label text or animated gifs in it?? Here is the code. < aspajax : UpdateProgress id ="UpdateProgress1" runat ="server
    Posted to ASP.NET AJAX UI (Forum) by nprudhoe on 11/22/2006
  • Re: RoundedCornersExtender - border instead of background color?

    have you tried something like this... < asp : Panel ID ="Panel1" runat ="server" Height ="50px" Width ="500px" BackColor ="lightBlue" style ="margin:10px 10px 10px 10px" > < asp : Panel ID ="Panel2" runat ="server" height ="42px" BackColor =White style ="margin: 0px 4px 0px 4px"> TEST </ asp : Panel > </ asp : Panel > < AjaxToolkit : RoundedCornersExtender ID ="RoundedCornersExtender1" runat ="server" TargetControlID ="Panel1" Radius =4 /> < AjaxToolkit : RoundedCornersExtender
    Posted to ASP.NET AJAX Control Toolkit (Forum) by nprudhoe on 11/16/2006
  • Re: New Toolkit for Beta 2 On Codeplex - Issue: No Microsoft.Web.Extensions.Design

    I've tried to role back to Beta 1 but I'm still having issues, can someone tell me the version number for the beta and the control toolkit? I have 1.0.61025 for the beta and 1.0.61020 for the control toolkit but my project gets this error.... [InvalidOperationException: An extender can't be in a different UpdatePanel than the control it extends.] Microsoft.Web.UI.ExtenderControl.RegisterWithScriptManager() +504 Microsoft.Web.UI.ExtenderControl.OnInit(EventArgs e) +95 AjaxControlToolkit.ExtenderControlBase
    Posted to ASP.NET AJAX Control Toolkit (Forum) by nprudhoe on 11/8/2006
Page 1 of 2 (17 items) 1 2 Next >
Microsoft Communities