Click here to Skip to main content
15,898,588 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionsimple problem Pin
dany.s28-Sep-06 22:59
dany.s28-Sep-06 22:59 
AnswerRe: simple problem Pin
albCode28-Sep-06 23:12
albCode28-Sep-06 23:12 
NewsWrite Code for Parameterised and Non Parameterised Methods Pin
SHAIK RAFFI20-Dec-12 3:39
SHAIK RAFFI20-Dec-12 3:39 
AnswerRe: simple problem Pin
Guffa28-Sep-06 23:13
Guffa28-Sep-06 23:13 
GeneralRe: simple problem [modified] Pin
dany.s28-Sep-06 23:36
dany.s28-Sep-06 23:36 
GeneralRe: simple problem Pin
Paddy Boyd29-Sep-06 0:13
Paddy Boyd29-Sep-06 0:13 
AnswerRe: simple problem Pin
Guffa29-Sep-06 0:22
Guffa29-Sep-06 0:22 
QuestionMultiview null object atlas update panel Pin
NazishAbbasi28-Sep-06 22:45
NazishAbbasi28-Sep-06 22:45 
I don't understand your solution.
I have a similar problem with Multiview + UpdatePanel + Validator

explication :
This problem I’m having with validators on an update panel is not the one where there is an invalid postback, but it may be related. This problem is occuring when I have a validator on a view inside of a multiview inside of an update panel.

Here’s my setup.

1. ScriptManager with Partial Rendering enabled.
2. Update panel with Mode set to always.
3. Multiview inside of update panel.
4. 2 views inside of multiview.
5. View #1 has textbox and required field validator
6. View #2 just has a textbox.
7. Previous and Next buttons.


When page loads I enter a value in textbox on view #1, thus satisfying the validator. I click next to go to view #2. All is good. I click previous to return to view #1. Error occurs (javascript). VS breaks into the function ValidatorGetValue(id). Specifically, it breaks on the line reading “if (typeof(control.value) . . . .”. When I hover over the control variable it is reading “null”. The error reads: ‘null’ is null or not an object. The id being passed in is the ClientID of the textbox on view #1. But I’m guessing that view has not yet been rendered to the browser.


// Code Break
function ValidatorGetValue(id) {
var control;
control = document.getElementById(id);
if (typeof(control.value) == "string") {
return control.value;
}
return ValidatorGetValueRecursive(control);
}

The lower left corner of IE indicates a javascript error:

Line: 104
Char: 5
Error: 'null' is null or not an object
Code: 0
URL: <the page="" url="">I can put "CausesValidation = false" for my 2 button (Next and previous) and I would not have any problem, but I don't want to do it !
Is there an other solution ? or not ? i change their sequence but problem exist
Questionmessagebox problem [modified] Pin
cheeken2u28-Sep-06 22:10
cheeken2u28-Sep-06 22:10 
AnswerRe: messagebox problem Pin
albCode28-Sep-06 23:10
albCode28-Sep-06 23:10 
GeneralRe: messagebox problem Pin
cheeken2u29-Sep-06 0:02
cheeken2u29-Sep-06 0:02 
GeneralRe: messagebox problem Pin
_AK_29-Sep-06 0:05
_AK_29-Sep-06 0:05 
GeneralRe: messagebox problem Pin
cheeken2u29-Sep-06 0:14
cheeken2u29-Sep-06 0:14 
AnswerRe: messagebox problem Pin
Britney S. Morales29-Sep-06 4:20
Britney S. Morales29-Sep-06 4:20 
QuestionNeed to set the password in Active Directory through Code Pin
Farid_200628-Sep-06 21:53
Farid_200628-Sep-06 21:53 
QuestionUsing Paging on Master-Details Repeater Pin
MalikRizwan28-Sep-06 21:05
MalikRizwan28-Sep-06 21:05 
QuestionVersion Conflict Pin
Exelioindia28-Sep-06 20:57
Exelioindia28-Sep-06 20:57 
AnswerRe: Version Conflict Pin
minhpc_bk28-Sep-06 23:43
minhpc_bk28-Sep-06 23:43 
Questionr.a.d.grid (third party component) problem Pin
max_dev2006@yahoo.com28-Sep-06 20:37
max_dev2006@yahoo.com28-Sep-06 20:37 
AnswerRe: r.a.d.grid (third party component) problem Pin
minhpc_bk28-Sep-06 23:44
minhpc_bk28-Sep-06 23:44 
QuestionProblem with Upload the Zip File Pin
Amit Agarrwal28-Sep-06 19:54
Amit Agarrwal28-Sep-06 19:54 
AnswerRe: Problem with Upload the Zip File Pin
minhpc_bk28-Sep-06 23:49
minhpc_bk28-Sep-06 23:49 
QuestionConcurrency Problem in database Pin
rsgdba28-Sep-06 19:42
rsgdba28-Sep-06 19:42 
AnswerRe: Concurrency Problem in database Pin
Jay_se28-Sep-06 20:34
Jay_se28-Sep-06 20:34 
GeneralRe: Concurrency Problem in database Pin
rsgdba29-Sep-06 2:50
rsgdba29-Sep-06 2:50 

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.