I have the following class:

Public Class AjaxExportFunctions

    Public Enum ExportDataFrom
        Publication = 0
        List = 1
        Filter = 2
    End Enum

    <AjaxPro.AjaxMethod(AjaxPro.HttpSessionStateRequirement.ReadWrite)>
_
    Public Sub NewExport()
    End Sub

End Class

-------------

In the Page_Load of a page I have the following:

AjaxPro.Utility.RegisterEnumForAjax(typeof(AjaxExportFunctions.ExportDataFrom));

The resulting javascript is:

<script type="text/javascript">
addNamespace("AjaxExportFunctions+ExportDataFrom");
AjaxExportFunctions+ExportDataFrom = {
        "Publication":0,
        "List":1,
        "Filter":2
}
</script>

Which is illegal because of the '+' sign.

???????


--~--~---------~--~----~------------~-------~--~----~
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