Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I create user control which have only one File upload control..I use that user control in another user control...but i cant access methods (HashFile,PostFile) of the File upload control..how can access the methods...


Thanks in advance...
Posted

1 solution

You have a user control (X) which has a file upload, and you use that user control in another user control called (Y), well simply put you need to expose file upload methods (API's) that you need to use as methods within (X) user control, or if you want you can expose the file upload control it self in user control (X), choose whatever method you want while I would prefer using the first one and expose certain functionality for that user control.
 
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