I just wondering how I would be able to implement the ability to enforce the file extension of a file when a user renames a file. Right now, if you rename a file it shows the user the entire filename (i.e. "NewFile.txt"), but if they write "NewFileName" in the rewrite dialog I lose the extension and it then becomes an unknown file. I've checked the documentation for the client-side and server-side and the control does tell you if a rename was performed, but no way of determining the file that was renamed nor the ability to change it if the extension was not included.
Is there some way for me to examine the file before it's renamed, check the extension and then update the file being saved with the extension if it was removed?