Access url variable In FileNameDetermining

Jan 22, 2010 at 12:59 AM

How Can I  Access url variable In FileNameDetermining?

string stringOwner = this.GetUrlFlagValue("recordId");//Cant Not Access the value of "recordId"  http://localhost/InfoEdit.aspx?recordId=96

Code Below:

<script runat="server">
protected void FileNameDetermining(object sender, FileNameDeterminingEventArgs args)
{

  string stringOwner = this.GetUrlFlagValue("recordId");//Cant Not Access the value of "recordId"  http://localhost/InfoEdit.aspx?recordId=96  

   string stringFileName = Path.GetFileNameWithoutExtension(args.FileName);    
   this.SaveUpload(stringOwner, stringFileName, "../UploadFolder/");
   
}

Thank you for REPLY!