Author: blahblah128 | Posted on: 11/26/2008 10:29:10 AM | Views : 1021

I just started to use VS.NET 2005 and AJAX. Here are what I am trying to do:

In my init funtion that I registered to Sys.Application, I read a value called INSTID from session:

function FCNIInit()
{
     PageMethods.GetValidationKey("VK",OnSucceeded, OnFailed,"VK");
     PageMethods.GetSessionValue("LOGINPATH",OnSucceeded, OnFailed,"LOGINPATH" );
     PageMethods.GetSessionValue("INSTID",OnSucceeded, OnFailed,"INSTID");
}


Then in my pageload funtion I need to pass the above INSTID value to my local web service which in turns call a remote web service:

function pageload()
{
if(INSTID!=="undefined"  )
      {
        MyWS.WS.LMainMenuOther.GetExistingFCNINames(INSTID,OnSuc ...

Go to the complete details ...