In my mind,sides checking the value is null or not,you should save the file posted onto the server and then show it。
The reason why your object is always null is that the file won't be submitted until you click a submit button or something like this……
Please debug your app and check whether your FileBytes is null or not。And check whether the colum!n.Name is fitable or not(my suggestionn is that you can use a fixed string instead of the column.Name instead)。
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: Validate Custom Image FieldTemplate
Jan 15, 2012 02:57 AM|LINK
Hello:)
In my mind,sides checking the value is null or not,you should save the file posted onto the server and then show it。
The reason why your object is always null is that the file won't be submitted until you click a submit button or something like this……
Please debug your app and check whether your FileBytes is null or not。And check whether the colum!n.Name is fitable or not(my suggestionn is that you can use a fixed string instead of the column.Name instead)。
Regurads!