Posted on: 5/17/2011 11:10:28 AM | Views : 224

hello, asp,net people
few days ago i was looking for some code in VB and i convert it toC# , the point is about usercontrol class , but in VB language its construct as WebUserControl , but in C# i dont find any WebUserControl exist and can't understand wich namespace its under ? okay , and there is some member of UserControl i find out that i can use in C# , like method or properties here is some code i hope someone check it and back to me please
 
UserControl DynamicUserControl =(UserControl)LoadControl("WebUserControl.ascx");  
here is code for construct an object from Usercontrol class , and in VB was WebUserControl , but they wrok the same but i can't find under UserControl
like this code should check and remove UserControl
 
//Add an event handler to this control to raise an event when the delete button is clicked //on the user control { DynamicU ...

Go to the complete details ...