Click here to Skip to main content
15,848,349 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 14:12
Mircea Grelus21-Jul-06 14:12 
GeneralRe: Call static method of user control (ascx) prior to loading it in the Page Pin
Frank Kerrigan22-Jul-06 0:11
Frank Kerrigan22-Jul-06 0:11 
AnswerRe: Call static method of user control (ascx) prior to loading it in the Page Pin
minhpc_bk21-Jul-06 19:00
minhpc_bk21-Jul-06 19:00 
AnswerRe: Call static method of user control (ascx) prior to loading it in the Page Pin
Mircea Grelus22-Jul-06 6:51
Mircea Grelus22-Jul-06 6:51 
GeneralRe: Call static method of user control (ascx) prior to loading it in the Page Pin
minhpc_bk22-Jul-06 22:11
minhpc_bk22-Jul-06 22:11 
GeneralRe: Call static method of user control (ascx) prior to loading it in the Page Pin
Mircea Grelus23-Jul-06 2:20
Mircea Grelus23-Jul-06 2:20 
Questiontriggering javascript confirm dialog via a function (not button event) Pin
jszpila21-Jul-06 11:24
jszpila21-Jul-06 11:24 
AnswerRe: triggering javascript confirm dialog via a function (not button event) Pin
Grapes-R-Fun21-Jul-06 15:34
Grapes-R-Fun21-Jul-06 15: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 9:26
RichardGrimmer23-Jul-06 9:26 
GeneralRe: triggering javascript confirm dialog via a function (not button event) Pin
Grapes-R-Fun23-Jul-06 10:26
Grapes-R-Fun23-Jul-06 10:26 
GeneralRe: triggering javascript confirm dialog via a function (not button event) Pin
RichardGrimmer24-Jul-06 6:47
RichardGrimmer24-Jul-06 6:47 
GeneralRe: triggering javascript confirm dialog via a function (not button event) Pin
Grapes-R-Fun24-Jul-06 14:22
Grapes-R-Fun24-Jul-06 14:22 
GeneralRe: triggering javascript confirm dialog via a function (not button event) Pin
RichardGrimmer25-Jul-06 8:16
RichardGrimmer25-Jul-06 8:16 
GeneralRe: triggering javascript confirm dialog via a function (not button event) Pin
Grapes-R-Fun25-Jul-06 9:35
Grapes-R-Fun25-Jul-06 9:35 
QuestionHow to read data from xml file to dataset [modified] Pin
B Desai21-Jul-06 10:56
B Desai21-Jul-06 10:56 
AnswerRe: How to read data from xml file to dataset Pin
Grapes-R-Fun21-Jul-06 16:17
Grapes-R-Fun21-Jul-06 16:17 
GeneralRe: How to read data from xml file to dataset Pin
B Desai22-Jul-06 18:20
B Desai22-Jul-06 18:20 
GeneralRe: How to read data from xml file to dataset Pin
Grapes-R-Fun23-Jul-06 9:25
Grapes-R-Fun23-Jul-06 9:25 
QuestionCrystal Reports fail to load in web comonent Pin
icestatue21-Jul-06 10:11
icestatue21-Jul-06 10:11 
Questionneed help about DataView [modified] Pin
mahesh kukkadapu21-Jul-06 10:07
mahesh kukkadapu21-Jul-06 10:07 
AnswerRe: need help about DataView Pin
leckey21-Jul-06 12:51
leckey21-Jul-06 12:51 
AnswerRe: How to pass List collection to a web method??? Pin
Felipe Dalorzo21-Jul-06 8:48
Felipe Dalorzo21-Jul-06 8:48 
GeneralRe: How to pass List collection to a web method??? Pin
JimFeng21-Jul-06 9:37
JimFeng21-Jul-06 9:37 
AnswerRe: How to pass List collection to a web method??? Pin
Felipe Dalorzo21-Jul-06 11:12
Felipe Dalorzo21-Jul-06 11:12 
GeneralRe: How to pass List collection to a web method??? Pin
JimFeng24-Jul-06 8:04
JimFeng24-Jul-06 8: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.