Sir,
I have radbutton which call a jquery(since this jquery function is available as external file) ajax method to save the record.I have a render mode in my radbutton.If i add this rendermode it post the data for double time for single click.when i remove the rendermode.It is posting for one time.Since this jquery method call ajax for API save.Can any one help on this issue please.Since it is very urgent requirement for me.Please help me
Eg:
<p> <telerik:RadButton ID="btnSavetest" </p><p> AutoPostBack="false" Primary="true" runat="server" Text="&nbsp;&nbsp;Save&nbsp;&nbsp;" <br> ValidationGroup="vgtest"<br> CausesValidation="True" <br> Skin="CB" <br> EnableEmbeddedSkins="false" <br> RenderMode="Lightweight"></telerik:RadButton></p>
Jquery eg
<p>Page.savetest=function(){</p><p>var pagedata={</p><p>data1:"data1"</p><p>data2:"data2"</p><p>}</p><p>var url=Page.APILike+Page.fileName+Page.name</p><p>$.ajax({</p><p>url:url,</p><p>type:"post",</p><p>data:savetest,</p><p>success:function(result){</p><p>if(result)</p><p>alert('saved')</p><p>}</p><p><br></p><p>});</p><p>};</p>
Can anyone please help on this please
Thanks