Sunday, March 11, 2012

2 UserControls on a page - using DataList and GridView

Hi,

What you mean by "i want to have the appropriate page text show up in the other user control"?

If you want to show a whole page in a user contorl, you should place an Iframe in that user contorl to contain the page.

Anyway, I think your problem is "how to set an AsyncPostBackTrigger from another user control".your want to refresh the updatepanel in PageInfo.ascx from PageList.ascx on the Datalist's linkbutton.click.

You can check out this link for solution:AsyncPostBackTrigger from another user control

Please check out these linka for more information:

Trigger PostBack to an UpdatePanel from a separate UserControl?

Can I specify a UserControl custom event as a Trigger for update panel on Parent page?

Bubble Event from UserControl

Best Regards

No comments:

Post a Comment