Click here to Skip to main content
15,888,401 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi i have a master form when user clicks for new registration i want update button to be disabled of new registration form when new registration is click from menu strip.
But there is a button of update on master when user clicks it add record on new registration should be disabled and update should be enable.

Please Help.
Posted
Comments
[no name] 20-Aug-12 9:19am    
Not only do you need to tag your question appropriately, you need to clearly define what it is that you are trying to do, post the code that you have tried that is not working, include any errors that you get, and ask a specific question related to your posting.

SQL
you can make any button enable or disable by making button.enabled = false / true;
Is this you r looking for
 
Share this answer
 
Comments
Anurag Sarkar 20-Aug-12 9:07am    
Nowhat i want is i have a form Master then on menu strip there is link for(New registration). There are two buttons on new registration update an add records. i want when user clicks on menu strip of new registration update should be disabled.

And there is an update button on (Master) when user clicks on update same form should be displayed but addrecords button should be disabled and update button should be enabled
In the pageLoad() event of your New registration page..
write, yourUpdateButton.Enabled=false;
and in the click event of update button of Master page..
write, yourAddButton.Enabled=false;
yourUpdateButton.Enabled=true;
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900