2
Answers

how to hide my computer drive in application

Photo of Dharmesh sharma

Dharmesh sharma

13y
2.4k
1
Hello

i have a server and my window application run on server
and we can access this application by reomtely now we wants that in application  one open file dialogbox now we wants that the dialog box hide the server drive and show only local drive

i mean if i access the software by remotly then software dilog box hide the server drive and show only my local system drive


plz help me

give me some ideas

Answers (2)

0
Photo of Jaganathan Bantheswaran
NA 21.9k 2.2m 11y
The other solution is,

btnSubmit.Attributes.Add("onclick", "this.disabled=true;" + GetPostBackEventReference(btnSubmit).ToString());

for this, you have to set UseSubmitBehaviour="false"
0
Photo of Hardik Patel
NA 376 332.7k 11y
hi girish,

i tried it but it's not working.
0
Photo of Girish Sapariya
NA 314 9.3k 11y
Hi Hardik, 
         You can set "Enable" property of button to "false" once it is click.
And later after you have done with your entries reset the form and then set "Enable" property of button to "true".

Hope this helps you... :)
0
Photo of Satyapriya Nayak
NA 53k 8m 11y
http://www.c-sharpcorner.com/UploadFile/suthish_nair/disable-a-submit-button-during-post-backs/