could not be set value to label on FileNameDetermining

Aug 23, 2010 at 11:03 AM

I could not set the value to label  lblFileExist... when the file already exists on FileName Determining. Kindly request you to provide the solution.

 

  protected void FileNameDetermining(object sender, com.flajaxian.FileNameDeterminingEventArgs args)
    {

 string filePath=/// path of the file

if( !File.Exists(filePath))
            {
                //
            }
            else
            {
               lblFileExist.Text =  fileName + " Already Exist"+"<br>";             
            }

 

}