How to trigger dialog messages

  •  07-18-2006, 8:25 AM

    How to trigger dialog messages

    Hi
     
    Is it possible to make an error handler that triggers the dialog messages like UnableUploadfile and  FileformatNotsupported?

    It's in the SqlFileStorage.cs file, I want to trigger these messages. As it is now the methods has a return value, normally a string value. No matter what I return, the dialog shows the following message: "File uploaded successfully!" ("uploadSuccessfully" in the _default.xml file) even though the file upload correctly does not succeed.
    I can make an exception and throw a message, but that give me a "pop-up-message" that isn't specially user friendly (gives a message which includes other messages and which points to/references the code) 
     
    /Torben 
      
     
     

     

View Complete Thread