Load UserControl dynamically
Code .NET SQL :: ASP.NET :: C#
Page 1 sur 1
Load UserControl dynamically
Control c = LoadControl("UserControl\\Chapters\\GroupGeneralInformation.ascx");
PlaceHolderGeneralInformation.Controls.Add(c);
UserControl_Chapters_GroupGeneralInformation uc = ((UserControl_Chapters_GroupGeneralInformation)c);
uc.CompetitorId = kvp.Value;
uc.loadData();
PlaceHolderGeneralInformation.Controls.Add(c);
UserControl_Chapters_GroupGeneralInformation uc = ((UserControl_Chapters_GroupGeneralInformation)c);
uc.CompetitorId = kvp.Value;
uc.loadData();
Code .NET SQL :: ASP.NET :: C#
Page 1 sur 1
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum