Click here to Skip to main content
15,885,309 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: FileUpload Pin
Yusuf12-Mar-09 16:50
Yusuf12-Mar-09 16:50 
QuestionDisable a button a web form. Pin
AndieDu12-Mar-09 13:39
AndieDu12-Mar-09 13:39 
AnswerRe: Disable a button a web form. Pin
johnsontroye12-Mar-09 13:43
johnsontroye12-Mar-09 13:43 
AnswerRe: Disable a button a web form. Pin
kumar_k50812-Mar-09 19:51
kumar_k50812-Mar-09 19:51 
GeneralRe: Disable a button a web form. Pin
AndieDu15-Mar-09 12:49
AndieDu15-Mar-09 12:49 
AnswerRe: Disable a button a web form. Pin
Rajdev Ramasamy13-Mar-09 0:52
Rajdev Ramasamy13-Mar-09 0:52 
GeneralRe: Disable a button a web form. Pin
AndieDu15-Mar-09 12:48
AndieDu15-Mar-09 12:48 
AnswerRe: Disable a button a web form. Pin
therios16-Mar-09 12:31
therios16-Mar-09 12:31 
I have done pretty much the same thing. I ended up using a little jscript. I call it with the "true" or "false" that I want the item to have.

function applyvalidate(myenableflag) {
        document.all.validate.disabled = true;
        if (myenableflag == true) {
            document.all.validate.disabled = false;
        }
        if (myenableflag == false) {
            document.all.validate.enabled = false;
        }
    }


The name of the button is "validate". I do this so that the person has to have a valid form (actively check with jscript) and when it is valid, the validate button lights up. they can then hit the validate button that provides a code for entry into a checklist. Then I light up the submit button.

At anytime when the formcheck becomes invalid, i use the same functions to disable the buttons on the fly.

Does that help?
GeneralRe: Disable a button a web form. Pin
AndieDu16-Mar-09 12:47
AndieDu16-Mar-09 12:47 
GeneralRe: Disable a button a web form. Pin
therios16-Mar-09 13:10
therios16-Mar-09 13:10 
Questiondownload works in IE but not in firefox Pin
Meax12-Mar-09 12:19
Meax12-Mar-09 12:19 
QuestionControls Are Coming Over to Calendar.... Pin
Sr...Frank12-Mar-09 11:17
Sr...Frank12-Mar-09 11:17 
AnswerRe: Controls Are Coming Over to Calendar.... Pin
Jörgen Andersson12-Mar-09 12:13
professionalJörgen Andersson12-Mar-09 12:13 
Questionloading user info after login from object Pin
liamderice12-Mar-09 9:37
liamderice12-Mar-09 9:37 
AnswerRe: loading user info after login from object Pin
Christian Graus12-Mar-09 10:04
protectorChristian Graus12-Mar-09 10:04 
GeneralRe: loading user info after login from object Pin
liamderice12-Mar-09 10:31
liamderice12-Mar-09 10:31 
GeneralRe: loading user info after login from object Pin
Jörgen Andersson12-Mar-09 12:11
professionalJörgen Andersson12-Mar-09 12:11 
GeneralRe: loading user info after login from object Pin
Christian Graus12-Mar-09 12:20
protectorChristian Graus12-Mar-09 12:20 
GeneralRe: loading user info after login from object Pin
liamderice13-Mar-09 3:42
liamderice13-Mar-09 3:42 
Questionin excel how to use mailmerge Pin
sivapran12-Mar-09 9:24
sivapran12-Mar-09 9:24 
QuestionRefresh of a seperate gridview in an ASP.NET page. Pin
shawty_ds12-Mar-09 6:53
shawty_ds12-Mar-09 6:53 
AnswerRe: Refresh of a seperate gridview in an ASP.NET page. Pin
Christian Graus12-Mar-09 9:35
protectorChristian Graus12-Mar-09 9:35 
GeneralRe: Refresh of a seperate gridview in an ASP.NET page. Pin
shawty_ds12-Mar-09 12:57
shawty_ds12-Mar-09 12:57 
GeneralRe: Refresh of a seperate gridview in an ASP.NET page. Pin
shawty_ds12-Mar-09 13:06
shawty_ds12-Mar-09 13:06 
Questionbyte[] to string Pin
M.Ambigai12-Mar-09 6:43
M.Ambigai12-Mar-09 6:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.