Click here to Skip to main content
15,894,405 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Need a regular expression validation Pin
meeram39531-May-10 23:37
meeram39531-May-10 23:37 
AnswerRe: Need a regular expression validation Pin
Ankur\m/1-Jun-10 0:23
professionalAnkur\m/1-Jun-10 0:23 
GeneralRe: Need a regular expression validation Pin
meeram3951-Jun-10 0:46
meeram3951-Jun-10 0:46 
AnswerRe: Need a regular expression validation Pin
Sandeep Mewara1-Jun-10 0:00
mveSandeep Mewara1-Jun-10 0:00 
QuestionReturn List<> on button click of user control. Pin
zeego31-May-10 21:21
zeego31-May-10 21:21 
AnswerRe: Return List on button click of user control. Pin
Brij31-May-10 21:34
mentorBrij31-May-10 21:34 
GeneralRe: Return List on button click of user control. Pin
zeego31-May-10 21:49
zeego31-May-10 21:49 
GeneralRe: Return List on button click of user control. Pin
michaelschmitt31-May-10 22:45
michaelschmitt31-May-10 22:45 
Hi,

if i were you, i would not start passing controls from one page or usercontrol to another.

The method explained in the above post is the way to go. Always keep in mind that your controls/classes should have a (clean seperated) job.
Maybe you wanna reuse this control somewhere else where the calling page doesnt have/need a gridview? keep your "interfaces" as simple as
possible.

So, in your UserControls' Button click event, raise an event or something, which is subscribed in Page load of your Page class.

This ways, your page can access the mentioned public property of your usercontrol once the event occurs. Or you could even pass your "result"
though this event/delegate and access it without the necessity of a public/internal property.
GeneralRe: Return List on button click of user control. Pin
zeego31-May-10 23:06
zeego31-May-10 23:06 
GeneralRe: Return List on button click of user control. Pin
michaelschmitt1-Jun-10 0:27
michaelschmitt1-Jun-10 0:27 
GeneralRe: Return List on button click of user control Pin
zeego1-Jun-10 1:19
zeego1-Jun-10 1:19 
GeneralRe: Return List on button click of user control Pin
michaelschmitt1-Jun-10 2:30
michaelschmitt1-Jun-10 2:30 
AnswerRe: Return List on button click of user control. Pin
Andreas X1-Jun-10 1:28
professionalAndreas X1-Jun-10 1:28 
Questiontext in windows service appears to have old reference Pin
Member 391904931-May-10 21:16
Member 391904931-May-10 21:16 
AnswerRe: text in windows service appears to have old reference Pin
Sandeep Mewara31-May-10 23:56
mveSandeep Mewara31-May-10 23:56 
GeneralRe: text in windows service appears to have old reference Pin
Member 39190491-Jun-10 5:53
Member 39190491-Jun-10 5:53 
AnswerRe: text in windows service appears to have old reference Pin
aashish.saalvi1-Jun-10 1:53
aashish.saalvi1-Jun-10 1:53 
QuestionDataView Pin
Satish_S31-May-10 20:58
Satish_S31-May-10 20:58 
AnswerRe: DataView Pin
Sandeep Mewara31-May-10 23:58
mveSandeep Mewara31-May-10 23:58 
Questiontrying to get windows service to auto-start after install Pin
Member 391904931-May-10 19:25
Member 391904931-May-10 19:25 
AnswerRe: trying to get windows service to auto-start after install Pin
Sandeep Mewara31-May-10 19:44
mveSandeep Mewara31-May-10 19:44 
Questionasp table with javascript getelementbyid Pin
Aljaz11131-May-10 14:53
Aljaz11131-May-10 14:53 
AnswerRe: asp table with javascript getelementbyid Pin
Sandeep Mewara31-May-10 19:17
mveSandeep Mewara31-May-10 19:17 
AnswerRe: asp table with javascript getelementbyid Pin
Amit M patel31-May-10 20:59
Amit M patel31-May-10 20:59 
GeneralRe: asp table with javascript getelementbyid Pin
Aljaz1111-Jun-10 3:33
Aljaz1111-Jun-10 3:33 

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.