FUA with Asp.net and VB

Nov 3, 2008 at 3:32 AM
I have the next code:

<%@ Register Assembly="FUA" Namespace="Subgurim.Controles" TagPrefix="cc2" %>
....
  <cc2:FileUploaderAJAX ID="fupDocumento" runat="server" MaxFiles="1" />
....
and the codebehind

Dim pf As New HttpPostedFileAJAX
 pf = fupDocumento.PostedFile

 If pf.ContentLength = 5 x 1024 then      '
........
when send a document... "pf.ContentLength"  ever value = nothing or fupDocumento.PostedFile.ContentLength  is the same your value is nothing
then what happend??