Showing posts with label usercontrol. Show all posts
Showing posts with label usercontrol. Show all posts

Friday, June 10, 2011

Access UserControl from Page


Hi..
To perform some reparative operation in application, its preferred to use UserControls.
Not necessary to have same display and bindings at everyplace. In that case we need to set values or call methods or pass values accordingly.
Here I have tried to figure out three cases, Hope it is helpful.
  1. Pass Table to Usercontrol and Set dynamically value to Controls
  2. Set Properties of control
  3. Call Usercontrol's Methods