Wednesday, 15 June 2011

javascript - Sitecore - WebMethod is not being called -



javascript - Sitecore - WebMethod is not being called -

i've seen lot of solutions check if user has disabled javascript in server side in c# (and mean disabled, not if browser doesn't back upwards javascript since tried ecmascriptversion).

here 2 of articles found:

how observe if javascript enabled server side in c#/.net detect if javascript enabled in aspx

i'm trying first approach nuno freitas because seems cleanest without having play around query string parameters, session variable never setted , setjavascriptenabled never called.

i've added scriptmanager aspx page this

<asp:scriptmanager id="scriptmanager" runat="server" enablepagemethods="true"/>

and startup script beingness registered in article (in onprerender event) it's not beingness shown in page. btw website uses sitecore.

any help?

basically these articles checking if there no ajax phone call happening client side server side after writing ajax ( $.ajax) code javascript disabled . indirect way of checking .

javascript c# asp.net sitecore webmethod

No comments:

Post a Comment