1
Answer

Remoting Configuration Question

write2jey

write2jey

20y
2.9k
1
I'm a Remoting newbie. http://www.microsoft.com/downloads/...;displaylang=en I dowloaded the sample Remoting application from above and have been struggling with the configuration aspects of it. This is the case with all the other Remoting applications I've built in the last few weeks. Everytime I excute the Client application, I get a Serlization/Deserialization security exception. Yes, so I checked the google and got the fixes and all the brainstorms, but i'm still stuck. Please tell me if I'm missing anything in the "Client.config" file below - Thank you very much! God Bless You! :)
Answers (1)
0
Vikram
NA 319 262.4k 14y
Hi yashwant,
  
    Just Define variable in the Markup it consider as Global.

e.g
  
   <script type='text/javascript>
       var Navigateurl="~/block/abc.aspx";
         function pageLoad()
         {
                 //do something
         }

         function otherFunction()
        {
            var newurl = Navigateurl;
        }

</script>
This way you can declare the global variable in the markup.

Hope this will help you.

Regards,
 Vikram