User control cursor

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have got two user controls with grids in it.
And they have to work as a master detail Grids.
And the main thing is i want the detail grid to appear
when i click select bound button in the master Grid .

But the thing is i am not able to refer the User control 2
ie., the detail grid in the code behind page of user
control 1. Because the detail grid(user control 2 is on
the aspx page) How can i refer the user control on the
aspx page in the other user controls code behind page.

Both these controls are on the aspx page called w_main.

Please give me some suggestions to achieve the above
functionality.

Thank you
 
Hi,

The most simple thing for this is always to set it to visible false or true
something as
mainGrid.visible = false
subGrid.visible = true

And visa versa.

I hope this helps?

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top