Click here to Skip to main content
15,915,160 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow this can be converted to vb Pin
jagan12326-Dec-07 17:07
jagan12326-Dec-07 17:07 
AnswerRe: how this can be converted to vb Pin
Venkatesh Mookkan26-Dec-07 17:42
Venkatesh Mookkan26-Dec-07 17:42 
GeneralRe: how this can be converted to vb Pin
jagan12326-Dec-07 18:44
jagan12326-Dec-07 18:44 
AnswerRe: how this can be converted to vb Pin
Satish - Developer26-Dec-07 18:03
Satish - Developer26-Dec-07 18:03 
GeneralLoading a list or repeater with persistance Pin
allenpotter26-Dec-07 15:04
allenpotter26-Dec-07 15:04 
GeneralRe: Loading a list or repeater with persistance Pin
Venkatesh Mookkan26-Dec-07 17:00
Venkatesh Mookkan26-Dec-07 17:00 
Generalregister dll with inf Pin
samy10026-Dec-07 13:11
samy10026-Dec-07 13:11 
GeneralCalling Javascript on ReorderList callback event Pin
expinch26-Dec-07 8:40
expinch26-Dec-07 8:40 
I need to call a javascript function from within an event of the ReorderList control of the AJAXControlToolkit. It appears this is not possible in certain cases.

In particular, I need to call the 'setConfirm()' javascript function from within the ItemReorder event of the ReorderList. So, I have the following javascript at the top of my page:

[code]
function setConfirm() {
needToConfirm = true;
}
[/code]

and inside of the ItemReorder event of the ReorderList I call:

[code]
ScriptManager.RegisterStartupScript(this, this.GetType(), "setConfirm", "setConfirm()", true);
[/code]

The problem is, the javascript is never called in this scenario (I have debugged the application and the RegisterStartupScript is indeed called, it is the javascript function itself that is never called). Strangely, if I place this call inside of the ItemDataBound event (instead of the ItemReorder event), it works perfectly. Unfortunately, that solution simply doesn't work because the javascipt is called on every page load.

Does this make any sense?
GeneralFF vs IE Pin
Mustafa Ismail Mustafa26-Dec-07 6:48
Mustafa Ismail Mustafa26-Dec-07 6:48 
GeneralRe: FF vs IE Pin
martin_hughes26-Dec-07 11:05
martin_hughes26-Dec-07 11:05 
GeneralRe: FF vs IE Pin
Mustafa Ismail Mustafa26-Dec-07 23:15
Mustafa Ismail Mustafa26-Dec-07 23:15 
Questionhow to enlarge an image present in datalist control on mouseover Pin
Member 417064526-Dec-07 3:44
Member 417064526-Dec-07 3:44 
AnswerRe: how to enlarge an image present in datalist control on mouseover Pin
Not Active26-Dec-07 4:20
mentorNot Active26-Dec-07 4:20 
QuestionButton.Attributes.Add() Query ??? Pin
Abhijit Jana26-Dec-07 3:25
professionalAbhijit Jana26-Dec-07 3:25 
AnswerRe: Button.Attributes.Add() Query ??? Pin
Not Active26-Dec-07 3:36
mentorNot Active26-Dec-07 3:36 
GeneralRe: Button.Attributes.Add() Query ??? Pin
Abhijit Jana26-Dec-07 3:39
professionalAbhijit Jana26-Dec-07 3:39 
GeneralRe: Button.Attributes.Add() Query ??? Pin
Abhijit Jana26-Dec-07 3:51
professionalAbhijit Jana26-Dec-07 3:51 
QuestionHow do I use classes from a DLL Pin
Saviaq26-Dec-07 3:04
Saviaq26-Dec-07 3:04 
AnswerRe: How do I use classes from a DLL Pin
Abhijit Jana26-Dec-07 3:30
professionalAbhijit Jana26-Dec-07 3:30 
AnswerRe: How do I use classes from a DLL Pin
Not Active26-Dec-07 3:33
mentorNot Active26-Dec-07 3:33 
GeneralReading MS Excel Sheet into dataset Pin
I Never Look Behind26-Dec-07 1:50
I Never Look Behind26-Dec-07 1:50 
GeneralRe: Reading MS Excel Sheet into dataset Pin
leckey26-Dec-07 15:51
leckey26-Dec-07 15:51 
GeneralRe: Reading MS Excel Sheet into dataset Pin
248912826-Dec-07 18:14
248912826-Dec-07 18:14 
Questionhow to convert the first letter to upper case Pin
jagan12326-Dec-07 1:21
jagan12326-Dec-07 1:21 
AnswerRe: how to convert the first letter to upper case Pin
N a v a n e e t h26-Dec-07 1:39
N a v a n e e t h26-Dec-07 1:39 

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.