Click here to Skip to main content
15,886,799 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
User Control
void Reload() //Method to be Call

Main Form
.
..
.How to call User Control method Reload here
.
.
Posted
Updated 14-Sep-14 16:45pm
v2
Comments
BillWoodruff 12-Sep-14 9:25am    
May I suggest you review the discussion of the use of the 'internal access modifier here:

http://stackoverflow.com/questions/165719/practical-uses-for-the-internal-keyword-in-c-sharp

and modify your question so that you give your reason for using 'internal.

Is it clear to you that in the context in which an instance of a UserControl is created all the methods, and fields, declared 'internal and 'public are visible/usable within that context ?

1 solution

Hello ,

USerControl object = new USerControl();
object.Reload();

Check Out This Link :
User Control
User Control C#

User Control asp.net
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900