DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Reusing a Custom Gridview Control  (Read 4,246 times)

h0meopathic

  • Participant
  • Joined in 2007
  • *
  • Posts: 24
Reusing a Custom Gridview Control
« on: October 21, 2009, 07:52 PM »
Greetings!

I've created a Custom Control with a gridview in it. I designed it for page X but I also want to put the control in page Y. However, I set the gridview datasource in the control for what I wanted to display in X, but I need a different datasource in page Y. My Boss tells me I need to expose a property or method that would allow me to pass the datasource in. I haven't a clue where or how to do that.

Any thoughts?

Original address: https://www.donationcoder.com/forum/index.php?topic=20333.0