Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > how to disable the save button in savedailog box in web browser using vb.net
 

how to disable the save button in savedailog box in web browser using vb.net

how to disable the save button in savedailog box in web browser using vb.net
Ather
Ather.Abbas  Wednesday, August 12, 2009 8:03 AM

Hi,

Do you mean you want to disable save button on the DaveFileDialog?

Could you please tell me why you need this function?

If you don’t want user to save anything, you can set enable of the show dialog button to false, this will not allow the user to click the button to show the SaveFileDialog.

Best regards,

Ling Wang


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Monday, August 17, 2009 9:56 AM
i just want that user only view data not save thats why ....
Ather
Ather.Abbas  Tuesday, August 18, 2009 4:59 AM

Seems we can’t disable the save button of the SaveFileDialog control. There is no expose property and event to implement this function. And the SaveFileDialog class is sealed, we can’t derive from SaveFileDialog.

Base on my understanding, you don’t want the user save anything. Where have you trigger the save function? In the Web page or on the winform? If on the form, do you use a button to show the saveFileDialog box to save files? If so, you can disable the button to avoid the user to save something. If in the web page, you’d better change the function in the web page.

Best regards,

Ling Wang


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Wednesday, August 19, 2009 8:53 AM

We are changing the issue type to “General Discussion�because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by opening the Options list at the top of the post window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

Best regards,
Ling Wang


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Monday, August 24, 2009 2:21 AM

You can use google to search for other answers

Custom Search

More Threads

• UpdateCommand, query and databinding...
• SOS!!!! Urgent, datagrid column style
• Searching with Virtual Mode
• Dataset merge problem
• Master/Detail Form Through Web Service
• Drag-n-drop databinding for second-level property
• need help with datagridview
• Can't update my data!
• DataBind with Customization in Datagridview
• There is any limitation for number of Typed Dataset in .Net