Jquery Filestyle Plugin not working in case of updatepanel
<p>I am using filestyle Jquery plugin downloaded from</p>

<p><a href="http://www.appelsiini.net/projects/filestyle" rel="nofollow">http://www.appelsiini.net/projects/filestyle</a> link.</p>

<p>I have used this plugin in this way</p>

<pre><code>&lt;script type="text/javascript"&gt;
    ("input[type=file]").filestyle({ image: "/img/UploadPic.gif", imageheight: 22,     imagewidth: 128, width: 270 })
&lt;script type="text/javascript"&gt;
</code></pre>

<p>it works fine.It applies style to all file upload controls in a page.
In a page,i have datalist control in UpdatePanel.when i click on delete button of datalist(which is in update panel),OnItemCommand event is fired and this event will delete item from datalist.</p>

<p>At this time,this makes all file upload controls into Default setting (Browser button) i.e. filestyle plugin is not working in this case.</p>

<p>i tried using following code</p>

<pre><code>&lt;script type="text/javascript"&gt;        
        Sys.WebForms.PageRequestManager.getInstance().add_pageLoading(f1);
        function f1() {
            $("input[type=file]").filestyle({ image: "/img/UploadPic.gif",     imageheight: 22, imagewidth: 128, width: 270 })
        }
&lt;/script&gt;
</code></pre>

<p>Any solution??</p>
