Click here to Skip to main content
15,914,408 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to apply stylesheet class in EMail HTML format Pin
Abhijit Jana12-Mar-09 20:39
professionalAbhijit Jana12-Mar-09 20:39 
QuestionDataGrid to Excel Pin
rakeshs31212-Mar-09 18:34
rakeshs31212-Mar-09 18:34 
AnswerRe: DataGrid to Excel Pin
kumar_k50812-Mar-09 20:15
kumar_k50812-Mar-09 20:15 
GeneralRe: DataGrid to Excel Pin
rakeshs31212-Mar-09 21:43
rakeshs31212-Mar-09 21:43 
AnswerRe: DataGrid to Excel [modified] Pin
kumar_k50812-Mar-09 23:02
kumar_k50812-Mar-09 23:02 
Questionproblem with xsd serialization Pin
prasadbuddhika12-Mar-09 18:19
prasadbuddhika12-Mar-09 18:19 
AnswerRe: problem with xsd serialization Pin
Expert Coming12-Mar-09 18:28
Expert Coming12-Mar-09 18:28 
GeneralRe: problem with xsd serialization Pin
prasadbuddhika12-Mar-09 18:38
prasadbuddhika12-Mar-09 18:38 
GeneralRe: problem with xsd serialization Pin
Expert Coming12-Mar-09 18:41
Expert Coming12-Mar-09 18:41 
GeneralRe: problem with xsd serialization Pin
prasadbuddhika12-Mar-09 19:05
prasadbuddhika12-Mar-09 19:05 
QuestionNo takers on Accordion problem??? Pin
Clay Aldebol12-Mar-09 14:49
Clay Aldebol12-Mar-09 14:49 
AnswerRe: No takers on Accordion problem??? Pin
Expert Coming12-Mar-09 18:26
Expert Coming12-Mar-09 18:26 
GeneralRe: No takers on Accordion problem??? Pin
Clay Aldebol13-Mar-09 3:18
Clay Aldebol13-Mar-09 3:18 
AnswerRe: No takers on Accordion problem??? Pin
Clay Aldebol16-Mar-09 8:24
Clay Aldebol16-Mar-09 8:24 
AnswerRe: No takers on Accordion problem??? Pin
Clay Aldebol16-Mar-09 9:14
Clay Aldebol16-Mar-09 9:14 
QuestionFileUpload Pin
Illegal Operation12-Mar-09 14:04
Illegal Operation12-Mar-09 14:04 
AnswerRe: FileUpload Pin
Christian Graus12-Mar-09 15:01
protectorChristian Graus12-Mar-09 15:01 
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?

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.