Sir
I have successfully run your code
I have added the fileupload control in datagrid. It works fine.
but when I try to bind the javascript with each fileupload control, it shows the following error
"The name 'fileupload' does not exist in current context"
I want to change the following
$(window).load(
function () {
$("#<%=FileUpload1.ClientID %>").fileUpload({
with
$(window).load(
function () {
$("#<%=fileupload-<%# Eval("billid") %>.ClientID %>").fileUpload({
asp code
<div id="fileupload-<%# Eval("billid") %>" style = "padding:40px">
<asp:FileUpload ID="FileUpload1" runat="server" />
</div>
So Please help me to solve this problem.
Thanks in advance