Firstly, thanks for your hard work on this useful tool and your
dedication to fielding questions in this group.

I've noticed that when I register a type for AJAX, here's what appears:

<script type="text/javascript"
src="/Projects/MyProject/Namespace.MyControl,MyControlLib.ashx"></script>

Then, in the JavaTypeHandler.cs, this will occur:

t =
Type.GetType("/Projects/MyProject/Namespace.MyControl,MyControlLib")

If the MyControlLib.dll is copied local or referenced by project, this
will work without problems.  However, if MyControlLib.dll is strongly
named, signed, and in the GAC, then t = null.

Therefore, for a strongly-named assembly, we would have to output the
following:

<script type="text/javascript"
src="/Projects/MyProject/Namespace.MyControl,MyControlLib,Version=1.0.0.0,
Culture=neutral,PublicKeyToken=0123456789ABCDEF.ashx"></script>

This way, the GetType(...) operation would work.  (I set a breakpoint
in the sourcecode and verified this).

My question: is there any way to do this right now?  If not, will there
be a way to use a strongly-named assembly in the future?

Thank you in advance,
Scott


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---

Reply via email to