Invoking a web item from a remote page

Hi all
I have a page = PageA with a placeholder: ph1
Ph1 refences a  parts = PartA.
The object ph1 refrence is a GridView: with dynamic columns.

Now, I want to reuse the ph1 or call it from a differnt parts: PartB which is a webuser control.
I have a method on_click that will supply the ph1 object with the same column but , using a differnet search criteria.
It this possible ?
If not any work around..

Thanks for your interest.
ZURINETAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ZURINETAuthor Commented:
Find a work around but getting this msg
cannot use the user control  because it is registered in web.config and lives in the same directory as the page.
0
PaulHewsCommented:
The reason you get the error:  http://msdn.microsoft.com/en-us/library/system.web.configuration.tagprefixinfo.aspx
(See the note half way down the page.)

You should be able to fix this by adding a register directive to the page where you are reusing the control.

<%@ Register Src="~/ucpath/uc.ascx" TagPrefix="ctl" TagName="uc1" %>

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.