The PageList.xml file is generated in the app_code folder and contains
the following:
<Page url="/FrmCustomer.aspx">
<Files>
<File name="FrmCustomer.aspx" changeDate="2007-07-16 18:56:38Z" /
>
<File name="FrmCustomer.aspx.cs" changeDate="2007-07-16
18:58:00Z" />
</Files>
<Methods>
<Method name="ShowDetails">
<Attributes>
<Attribute
name="MetaSapiens.PageMethods.PageMethodAttribute" />
</Attributes>
<Parameters>
<Parameter name="HospId" type="System.Int32" />
</Parameters>
</Method>
</Methods>
</Page>
But I can't call this method...
Thanks in advance
Which kind of web project are you using? A Web Application or a Web
Site?
If you use Visual Studio 2005's Web Site model, did you register the
PageMethods build provider in the web.config file? See the sample
web.config file in the tutorial.
If you use the Web Application model, make sure that the CustomTool
property is set to PageMethodsGenerator on the PageList.xml file. You
can also try to re-register the custom tool by using the file named
PageMethodsGeneratorVS2005.reg in PageMethods' folder (usually C:
\Program Files\metaSapiens\PageMethods for VS 2005).
Which exact version of Visual Studio are you using?
Please let us know if you find the solution.
Fabrice
PS : As a reference for others who would encounter this kind of
problem, there is an entry in the FAQ that addresses this situation.
See the question that starts with "I think I have done everything
right" at http://metasapiens.com/pagemethods/faq
On 16 juil, 23:59, Fabrice Marguerie <fabrice.margue...@gmail.com>
wrote:
Fabrice