13/11/2010

Adding Client Confirmation

To add client confirmation, such us when you want delete item:



OnClientClick = '<%#Eval("FieldName", "Javascript:return confirm(\"{0}\")") %>'

Read more...

02/11/2010

web service: The test form is only available for requests from the local machine.

if you create aweb service, and you want to test it from another server machine, the follwoing message will be appear:
"The test form is only available for requests from the local machine."
so, you should add the follwoing code into your web.config:
<webServices>
    <protocols>
        <add name="HttpSoap12" />
        <add name="HttpSoap" />
        <add name="HttpGet" />
        <add name="HttpPost" />
    </protocols>
</webServices>


before

</system.web>

Read more...