Jscript

Dear All,

When a client script call the server side function

page.aspx

<script language="javascript" type="text/javascript">

 function click(event) {
       
        __doPostBack('', 'Fileuploaded');
    }

</script>

<body>
    <form id="form1" runat="server">

     <asp:button id="btnclick" runat="server" onclientclick="click(this)"


    </form>
</body>


page.cs

 protected void Page_Load(object sender, EventArgs e)
{
       if (Request["__EVENTARGUMENT"] == "Fileuploaded")
            {
                    this.load()
             }
}
private void load()
{
}
Ebook Download
View all
Learn
View all