Add_entry.aspx, fileupload...not working....

Topics: ASP.NET 2.0, Business Logic Layer, Controls
Sep 23, 2009 at 12:03 PM

Hi there,

I'm new to BlogEngine and I'm experimenting with it in adding new features and stuff.

Basically, I already have some functionality that I use on a standard ASPX-site, however, I want to merge that with blogengine to take advantage of tags and stuff.

Now, my question is as follows:

I've duplicated "Add_entry.aspx" and copied it to a new folder "courses" (cibling to Pages).
I've added some controls to the page, nothing special, just a checkbox and a textbox.

Now, I create a 'post' but instead of injecting it as a regular blog-post, I inject into my custom provider.

That works fine. Except for the fileupload. When I want to inject an image to the 'post', I use the same control (txtUploadImage) but when I check the contents, I see that 'txtUploadImage.FileName' is empty.

If i do the same but with the standard page Add_entry.aspx, this works fine.....

 

So, what am I missing here?

 

Thanks in advance,

   Karl