4
Reply

delegates to load user control

Rishi Narula

Rishi Narula

Aug 16 2013 7:41 AM
1.3k
If there are 4 user controls Draged & Droped on a Page , then They all are loaded even if we need to show one user control at a time.

I have 1 page ... Fresh Request.aspx
and 4 user controls all are called on this page.
 a) ucFreshRequestSeniorOfficers.ascx
 b) ucFreshRequestJuniorOfficers.ascx
 c) ucChangePassword.ascx
 d) ucGenerateLicenses.ascx

When this page is loaded ... then one - by one all the user controls are called ... but i want to show only one means only "ucFreshRequestJuniorOfficers.ascx"


Answers (4)