Help Needed to implement the uploader in a GridView

Jul 16, 2009 at 10:31 AM

<asp:GridView ID="gridSearch" Width="100%" EmptyDataRowStyle-HorizontalAlign="Center"
                                                        runat="server" EmptyDataText="no record found " EmptyDataRowStyle-ForeColor="Red"
                                                        AutoGenerateColumns="false" OnRowDataBound="gridSearch_RowDataBound" OnDataBound="gridSearch_DataBound"
                                                        OnRowCommand="gridSearch_RowCommand">
                                                        <Columns>
                                                            <asp:TemplateField>
                                                                <ItemTemplate>                                                                 
                                                                                
                                                                                        Upload Model Images                                                                                 
                                                                                        <fjx:FileUploader ID="FileUploaderGrid"  MaxNumberFiles="5" MaxFileSize="1555000000" UseInsideUpdatePanel="true"  JsFunc_FileStateChanged="FileStateChanged"   runat="server"  AllowedFileTypes="Images:: ||*.jpg;*.jpeg;*.gif;*.png||:*.jpg;*.jpeg;*.gif;*.png"  >
                                                                                                                                            </fjx:FileUploader>  
                                                                                                                                                 
                                                                                                                                            </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                    </asp:GridView>

--------------------------

function FileStateChanged(uploader, file, httpStatus, isLast)
    {
       Flajaxian.fileStateChanged(uploader, file, httpStatus, isLast);
       
  
       if(file.state > Flajaxian.File_Uploading && isLast)
         {
        
            __doPostBack('linkbindimagelist','');
         }  

      
            
    }
    
    

 

I need to upload images for list of people shown in gridview and updated the list of the images when the image list is done.

 

Thanks in advance.

any help.