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

ASP.NET

 
GeneralRe: response.redirect and visible panels Pin
widget122-Oct-09 2:19
widget122-Oct-09 2:19 
AnswerRe: response.redirect and visible panels Pin
Christian Graus21-Oct-09 20:26
protectorChristian Graus21-Oct-09 20:26 
QuestionHelp Passing Textbox value through ActionLink [modified] Pin
Jason Wilczak21-Oct-09 14:15
Jason Wilczak21-Oct-09 14:15 
AnswerRe: Help Passing Textbox value through ActionLink Pin
Not Active21-Oct-09 14:43
mentorNot Active21-Oct-09 14:43 
GeneralRe: Help Passing Textbox value through ActionLink Pin
Jason Wilczak21-Oct-09 15:05
Jason Wilczak21-Oct-09 15:05 
QuestionWeb framework Pin
bam_usic21-Oct-09 13:30
bam_usic21-Oct-09 13:30 
AnswerRe: Web framework Pin
Abhijit Jana21-Oct-09 16:38
professionalAbhijit Jana21-Oct-09 16:38 
QuestionProblem with post back validation Pin
compninja2521-Oct-09 10:01
compninja2521-Oct-09 10:01 
I'm having quite the bizzare issue. I created a page a while ago which validates my form using javascript and if everything looks good, then it issues a post back passing the 'submit_button' as the posting control and 'validated' as the argument. This works just fine, however I copied the page to a new form and made some slight modifications to the javascript, images, and layout on the page, however both pages are using the same "validate_form" function but the new page that I copied over always throws the "invalid post back or callback argument". I've scoured the net for the better part of this day and have come across the clientscript.RegisterForEventValidation method but cannot seem to get that to work. But...again what is bizzare is why it's not giving me this error on the first page I made months ago as there's no code disabling the validation for the page.

I've tried this so far, but still get the error:
protected override void Render(HtmlTextWriter writer)
       {
           this.ClientScript.RegisterForEventValidation("submit_button", "validated");

           base.Render(writer);
       }


What's also weird is when I debug on the Page_Init event, I can look at the live "Validators" collection but even after the RegisterForEventValidation() executes, I still get a collection count of zero. Am I looking in the wrong place?
Thanks!

Knowledge is not power, however, the acquisition and appropriate application of knowledge can make you a very powerful individual.

AnswerRe: Problem with post back validation Pin
compninja2522-Oct-09 5:46
compninja2522-Oct-09 5:46 
QuestionHow to validate date using javascript Pin
dilipmca0421-Oct-09 7:53
dilipmca0421-Oct-09 7:53 
AnswerRe: How to validate date using javascript Pin
Abhijit Jana21-Oct-09 8:05
professionalAbhijit Jana21-Oct-09 8:05 
AnswerRe: How to validate date using javascript Pin
dan!sh 21-Oct-09 8:08
professional dan!sh 21-Oct-09 8:08 
QuestionCheckbox control in Gridview at runtime. Pin
Care Career21-Oct-09 5:28
Care Career21-Oct-09 5:28 
AnswerRe: Checkbox control in Gridview at runtime. Pin
dan!sh 21-Oct-09 5:34
professional dan!sh 21-Oct-09 5:34 
AnswerRe: Checkbox control in Gridview at runtime. Pin
Anurag Gandhi21-Oct-09 5:48
professionalAnurag Gandhi21-Oct-09 5:48 
Questionwebparts - catalog - referencing a single instance Pin
SteveBradwell21-Oct-09 4:05
SteveBradwell21-Oct-09 4:05 
QuestionHow to pass SoapHeader in .NET 2.0 for authentication to AXIS web service Pin
ajay_sp00221-Oct-09 3:18
ajay_sp00221-Oct-09 3:18 
AnswerRe: How to pass SoapHeader in .NET 2.0 for authentication to AXIS web service Pin
Not Active21-Oct-09 4:15
mentorNot Active21-Oct-09 4:15 
QuestionHow do I delete item on a Repeater control? Pin
tunsten21-Oct-09 3:08
tunsten21-Oct-09 3:08 
AnswerRe: How do I delete item on a Repeater control? Pin
Not Active21-Oct-09 4:14
mentorNot Active21-Oct-09 4:14 
GeneralRe: How do I delete item on a Repeater control? Pin
tunsten21-Oct-09 6:43
tunsten21-Oct-09 6:43 
GeneralRe: How do I delete item on a Repeater control? Pin
Not Active21-Oct-09 6:52
mentorNot Active21-Oct-09 6:52 
Questionsql connection string Pin
geek_master21-Oct-09 2:52
geek_master21-Oct-09 2:52 
AnswerRe: sql connection string Pin
Covean21-Oct-09 3:11
Covean21-Oct-09 3:11 
QuestionRegarding pop-up page Pin
vijaylumar21-Oct-09 2:16
vijaylumar21-Oct-09 2:16 

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.