2011-04-18 33 views
0

你好我有一個簡單的查詢,即時通訊無法調用從HTML超鏈接標籤的方法調用服務器端從一個void方法,下面是代碼:使用HTML超鏈接在設計視圖

<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 bindData() 
{ caravans.InsertImages() } 

回答