I am having a very difficult time trying to understand how to do it, what it looks like That's a DevExpress XAF application
I have come to know how to add a custom action item at the top of a detailed view of a business object. I only need to display a popup window in which a DevExpress Web UI control (ASPxUploadControl, but it There may be some control, even a simple ASPxButton) It is not necessary to be a platform-atheist, only need to work in the web UI app and it can be used in web modules and web pages. The project can be implemented in projects.
DevExpress documents are none of these parties simple things together, and I can not understand it DevExpress support is not very helpful - to be clear, they tried to help me but so It seems that I can not really get to understand my exact scenario (they point me out on the basis of the document, which seems to be more complicated than what I'm trying to do).
What else has been done within the DEA Express XAF? Can anyone with DevExpress XAF experience give me some tips to accomplish this?
The tutorial shows the properties of the popup window note
objects in that example An object with a property needs to upload for your file. (Make sure you have added the file attachments module.)
Create an XPO object (or EF object if you prefer) similar to the one described:
Now follow, but use resume
instead of note
.
Note that resume
is marked [nonpersistent]
, so it will not be able to save the database, but you can get content in the Execute
event (Of course, if you prefer saving the attachment to the database instead, use [DefaultClassOptions]
for example).
One more thing - make sure the popup is opened in editing mode instead of scene mode, otherwise upload it Button will not appear.
No comments:
Post a Comment