Can a user control get data from another page?

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
 

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

Top