I have looked this up on internet and no answer yet!!!

I have a paged with a loginView which has a button and a fileupload control in it.

When I double click on the button to add some commands I can see that the program can see the button and even if i put something there it will run it.
But then when I want to say :
if (FileUpload1.HasFile) then do something, it says FileUpload1 does not exist?! But I have FileUpload1 in the same page that my button exist in my loginview (LoggedIn not Anonymous)

any help is much appreciated.

1st of all, why do you use button DoubleClick event? Why not only Click?
2nd of all, I dont understand you what exactly is going on (wrong). So can you please upload some of the code, which you suspect has the issue?
thx
Mitja

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.