Showing posts with label aspx. Show all posts
Showing posts with label aspx. Show all posts

Saturday, March 12, 2011

Debug Javascript in a funny way

asithangae: Debug Javascript in a funny way: "Debugging the javascript code is possible, we don't require any special IDE for debugging, Visual Studio is quiet suffcient. There are two m..."


Tech Links




 - scriptmanager , servicereference , BindGrid ;

http://www.vijaymukhi.com/documents/books/aspnet1/chap5.htm




    Tuesday, March 8, 2011

    Access ASMX web services from ASPX

    - In order to access an ASMX web service from
    an ASPX page, is mangatory to "Convert to Application" ;

    Let's say that Our web folder on LOCALHOST
    where we have web.config, asmx and aspx files is called SOFTY ;
    IIS : Right click on SOFTY folder, and then "Convert to Application"












    Simple Web Service ASMX , ASPX , web.config :
    source code












    Wednesday, March 2, 2011

    Ajax SQL-Server GridView ASPX

    Searching for a solution to the firefox problem with accessing a dot.net ajax aspx web service,
    I came across an interesting article related to AJAX :


    http://csharpdotnetfreak.blogspot.com/2009/02/ajax-cascading-dropdownlist-database.html

    http://twitter.com/#!/dotnetfreak




    Monday, February 28, 2011

    asp:ScriptManager - Unknown server tag

    Below are the links I followed in order to resolve 
    the mistery of the error
     "UNKNOWN SERVER TAG"  -  related to asp:ScriptManager 

     

    http://localhost/TestWeb/SimpleWebService.aspx

    Server Error in '/TestWeb' Application.


    Parser Error
    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Unknown server tag 'asp:ScriptManager'.

    Source Error:
     

    Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053 
     
    Line 42:         form id="Form1" runat="server"
    Line 43: asp:ScriptManager runat="server" ID="scriptManager" Line 44: Services Line 45:  asp:ServiceReference path="SimpleWebService.asmx"
     
     

    Professional ASP.NET 2.0 AJAX
    Matt Gibbs, Dan Wahlin
    ISBN: 978-0-470-10962-5
    Paperback
    336 pages
    June 2007
     
    http://www.wrox.com/WileyCDA/WroxTitle/productCd-0470109629.html

    Professional-ASP-NET-2-0-AJAX - source code DOWNLOAD  

    I took the Web.Config from the chapter 4  ( or 5 ? )  and everything was OK ,
      problem solved !

     

    ~ ~ ~ 

    Ajaxed Part II. Server Side AJAX
    http://thejoyofcode.com/Ajaxed_Part_II._Server_Side_AJAX.aspx


    How to set path to the scriptreference in ScriptManager

    http://www.dotnetspider.com/forum/145097-how-set-path-scriptreference-ScriptManager.aspx

    http://www.asp.net/ajax/videos/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax

     How To Consume Web Services Using AJAX and ASP.NET 3.5

    http://visualstudiomagazine.com/articles/2007/09/01/consuming-remote-web-services-with-aspnet-ajax.aspx 

    A beginner’s guide for consuming a WCF service in JavaScript using ASP.NET AJAX

    Using the ScriptManager

    Calling Web Services from Client Script

    http://msdn.microsoft.com/en-us/library/system.web.ui.scriptmanager.aspx

    MicrosoftAjax.js ,ScriptPath , ScriptManager
    http://damianblog.com/2006/11/27/scriptmanager-scriptpath/



     
     

    ASP.NET Ajax :: Script Manager vs ToolkitScriptManager

    http://blog.turlov.com/2008/05/scriptmanager-vs-toolkitscriptmanager.html

     

    Configure Web.Config in order to use asp:ScriptManager

     

    http://www.semenoff.dk/en/Code-Corner/ASP.Net.AJAX/WebService-From-JavaScript.aspx

    How to call a Web Service from client-side JavaScript using ASP.Net AJAX

     



    http://july-code.blogspot.com/2008/07/how-to-call-remote-web-services-from.html


    Friday, February 25, 2011

    AJAX : ASPX GridView - DataSet - ASMX WebMethod

    Consuming a Web Service using ASP.NET Ajax



    AJAX Web Services in C#

    http://www.dreamincode.net/forums/topic/34279-introduction-to-web-services-in-c%23/

    Creating a basic web service that retrieves data from a database,
    then passes a populated DataSet back to the calling page to populate a GridView control with it.

    http://articles.sitepoint.com/article/net-web-services-5-steps
    http://www.daniweb.com/forums/thread151766.html
    http://www.netomatix.com/DGSimple.aspx

    Calling web service using javascript

    http://sandblogaspnet.blogspot.com/2010/05/calling-web-service-using-javascript.html
    http://sandblogaspnet.blogspot.com/2010/04/calling-web-service-using-javascript.html
    http://sandblogaspnet.blogspot.com/2010/03/calling-web-service-using-javascript.html


    Return Array from Web Service
    using ScriptManager & Javascript

    http://ciappara.wordpress.com/2009/07/31/return-array-from-web-service-using-scriptmanager-javascript/



    SimpleWebService , [ScriptService]
    http://msdn.microsoft.com/en-us/library/system.web.script.services.scriptserviceattribute.aspx


    ASP.NET 2.0 AJAX Extensions 1.0 (Setup Wizard)

    Brief Description


    ASP.NET AJAX is a set of technologies to add AJAX (Asynchronous JavaScript And XML) support to ASP.NET. It consists of a client-side script framework, server controls, and more.

     http://www.microsoft.com/downloads/

    ASPAJAXExtSetup.msi
    type or namespace name Script does not exist in the namespace System.Web
    using System.Web.Extensions




    Different methods to call Web Services from AJAX

     http://www.codeproject.com/KB/ajax/Ajax_and_Web_Services.aspx

     

     Client-Side Web Service Calls with AJAX Extensions

    http://msdn.microsoft.com/en-us/magazine/cc163499.aspx



    Understanding ASP.NET AJAX Web Services

    http://www.asp.net/ajax/tutorials/understanding-asp-net-ajax-web-services



    ScriptManager Enables AJAX In Your Web Apps
    http://msdn.microsoft.com/en-us/magazine/cc163354.aspx#S3


    Exposing Web Services to Client Script
    http://msdn.microsoft.com/en-us/library/bb398998.aspx 


    ASP.NET AJAX ScriptManager webservice

    http://www.codedigest.com/Articles/ASPNET/387_Asynchronous_Access_To_WebServices_using_ScriptManager_in_AspNet_Ajax.aspx