Mitesh Jain wrote: > Hi all, > > 1) How can i know whether the user has selected save,cancel,open button > in the popup when send_file file_name is used. > > Example: > > send_file file_name > > 2) How can i write the code after the send_file command. I have a sneaking suspicion that you may find posting these questions to the Rails forum is more enlightening. http://groups.google.com/group/rubyonrails-talk -- Alex