Click here to Skip to main content
15,887,135 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Call static method of user control (ascx) prior to loading it in the Page Pin
Mircea Grelus21-Jul-06 13:12
Mircea Grelus21-Jul-06 13:12 
GeneralRe: Call static method of user control (ascx) prior to loading it in the Page Pin
Frank Kerrigan21-Jul-06 23:11
Frank Kerrigan21-Jul-06 23:11 
AnswerRe: Call static method of user control (ascx) prior to loading it in the Page Pin
minhpc_bk21-Jul-06 18:00
minhpc_bk21-Jul-06 18:00 
AnswerRe: Call static method of user control (ascx) prior to loading it in the Page Pin
Mircea Grelus22-Jul-06 5:51
Mircea Grelus22-Jul-06 5:51 
GeneralRe: Call static method of user control (ascx) prior to loading it in the Page Pin
minhpc_bk22-Jul-06 21:11
minhpc_bk22-Jul-06 21:11 
GeneralRe: Call static method of user control (ascx) prior to loading it in the Page Pin
Mircea Grelus23-Jul-06 1:20
Mircea Grelus23-Jul-06 1:20 
Questiontriggering javascript confirm dialog via a function (not button event) Pin
jszpila21-Jul-06 10:24
jszpila21-Jul-06 10:24 
AnswerRe: triggering javascript confirm dialog via a function (not button event) Pin
Grapes-R-Fun21-Jul-06 14:34
Grapes-R-Fun21-Jul-06 14:34 
You could write two functions in form of a string, one is your confirm, and the other is the function that will capture the confirm value (val1, val2, etc). Then on the server side you will have to implement ICallbackEventHandler interface, incorporate the two methods that come with it (GetCallbackResult, and RaiseCallbackEvent).

Next, register your javascript(RegisterClientScriptBlock), then tie them all up in a string that holds the value of 'GetCallbackEventReference'. Once that's done, then you will want to add the GetCallbackEventReference string to a control's "onclick" attribute, OR you can place it within yet another javascript that will get triggered at some point in time... I know, this sounds a little confusing, but maybe if you give me the specifics of your project I could try to write it for you (I just did something very similar to this yesterday and it worked!)

Nila Fridley

GeneralRe: triggering javascript confirm dialog via a function (not button event) Pin
RichardGrimmer23-Jul-06 8:26
RichardGrimmer23-Jul-06 8:26 
GeneralRe: triggering javascript confirm dialog via a function (not button event) Pin
Grapes-R-Fun23-Jul-06 9:26
Grapes-R-Fun23-Jul-06 9:26 
GeneralRe: triggering javascript confirm dialog via a function (not button event) Pin
RichardGrimmer24-Jul-06 5:47
RichardGrimmer24-Jul-06 5:47 
GeneralRe: triggering javascript confirm dialog via a function (not button event) Pin
Grapes-R-Fun24-Jul-06 13:22
Grapes-R-Fun24-Jul-06 13:22 
GeneralRe: triggering javascript confirm dialog via a function (not button event) Pin
RichardGrimmer25-Jul-06 7:16
RichardGrimmer25-Jul-06 7:16 
GeneralRe: triggering javascript confirm dialog via a function (not button event) Pin
Grapes-R-Fun25-Jul-06 8:35
Grapes-R-Fun25-Jul-06 8:35 
QuestionHow to read data from xml file to dataset [modified] Pin
B Desai21-Jul-06 9:56
B Desai21-Jul-06 9:56 
AnswerRe: How to read data from xml file to dataset Pin
Grapes-R-Fun21-Jul-06 15:17
Grapes-R-Fun21-Jul-06 15:17 
GeneralRe: How to read data from xml file to dataset Pin
B Desai22-Jul-06 17:20
B Desai22-Jul-06 17:20 
GeneralRe: How to read data from xml file to dataset Pin
Grapes-R-Fun23-Jul-06 8:25
Grapes-R-Fun23-Jul-06 8:25 
QuestionCrystal Reports fail to load in web comonent Pin
icestatue21-Jul-06 9:11
icestatue21-Jul-06 9:11 
Questionneed help about DataView [modified] Pin
mahesh kukkadapu21-Jul-06 9:07
mahesh kukkadapu21-Jul-06 9:07 
AnswerRe: need help about DataView Pin
leckey21-Jul-06 11:51
leckey21-Jul-06 11:51 
AnswerRe: How to pass List collection to a web method??? Pin
Felipe Dalorzo21-Jul-06 7:48
Felipe Dalorzo21-Jul-06 7:48 
GeneralRe: How to pass List collection to a web method??? Pin
JimFeng21-Jul-06 8:37
JimFeng21-Jul-06 8:37 
AnswerRe: How to pass List collection to a web method??? Pin
Felipe Dalorzo21-Jul-06 10:12
Felipe Dalorzo21-Jul-06 10:12 
GeneralRe: How to pass List collection to a web method??? Pin
JimFeng24-Jul-06 7:04
JimFeng24-Jul-06 7:04 

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.