Click here to Skip to main content
15,845,598 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Dynamic controls Pin
minhpc_bk21-Jul-06 18:27
minhpc_bk21-Jul-06 18:27 
GeneralRe: Dynamic controls Pin
vivsriaus22-Jul-06 5:42
vivsriaus22-Jul-06 5:42 
QuestionCall static method of user control (ascx) prior to loading it in the Page Pin
Mircea Grelus21-Jul-06 11:27
Mircea Grelus21-Jul-06 11:27 
AnswerRe: Call static method of user control (ascx) prior to loading it in the Page Pin
Frank Kerrigan21-Jul-06 14:09
Frank Kerrigan21-Jul-06 14:09 
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 
Managed to do it through Reflection. I changed the static method into a property and then:

Control ctrl = Page.LoadControl("~/Modules/SignIn.ascx");<br />
Type type = ctrl.GetType();<br />
System.Reflection.PropertyInfo info = type.GetProperty("Rights");<br />
string[] rights = (string[])info.GetValue(ctrl, null);


regards,
Mircea
Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.

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 
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 

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.