How to call User Control Dynamically with Parameter

Posted by Hsuhsutin under ASP.NET on 7/30/2012 | Points: 10 | Views : 5683 | Status : [Member] | Replies : 1
I'm implementing a timetable for students. I want to pass StudentID as parameter while calling User Control in code behind.
How can I pass the parameter to user control.

with best regards,
Hsu



Responses

Posted by: Rajkatie on: 8/2/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
Kindly refer following links
http://stackoverflow.com/questions/8376310/load-user-control-dynamically-with-parameters
http://www.aspsnippets.com/Articles/Dynamically-load-and-display-ASPNet-UserControl-using-jQuery-AJAX-and-WebMethod.aspx

Rajesh Patel
.Net Trainer(MSCD | MCT | MS)
Brainbench (Asp.Net 4.5 and C# 5.0)

Hsuhsutin, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response