Can a user control get data from another page?

  • Thread starter Thread starter Sunil Menon
  • Start date Start date
S

Sunil Menon

Dear All,
I have developed a User Control that displays data fetched from the
database. I would like to develop the UserControl to dynamically call
an aspx page with parameters and set the content of that page as an
innerHTML of its control. Is this possible?
For e.g. On Page_load of WebForm1.aspx that has the UserControl I
would like to...
Page_Load(...)
Dim sData as string = oUserControl1.getData("WebForm2.aspx)
oUserControl1.innerHTML = sData
end function

If this is not possible is there any other workaround?

Please help...

TALIA
Many Regards
Sunil
 
Back
Top