开发者

calling a void method from serverside using html hyperlink in design view

Hi I have got a simple query , i m not able to call the method from html hyperlink tab , below is the code:

<a href="#" id="startUploadLink">Start Upload</a>

     $("#startUploadLink").click(function () {
         $('#<%=FileUpload1.ClientID%>').uploadifyUpload();
          //I want to call a method here which is on server side which is bindData()
           return false;
     });

aspx.cs:

protected void bindDat开发者_开发技巧a()
 { caravans.InsertImages() }


Check out PageMethods, and jQuery's ajax().

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜