Author: dch3 | Posted on: 9/16/2009 1:37:43 PM | Views : 633

I'm trying to use a AJAX Popup Extender within a FormView. When I place the Popup Extender outside of the FormView tags, I'm able to reference the Public Event of the user control, however the Popup Extender can't find its TargetControl. When I place the Popup Extender within the FormView, the Popup Extender can see the TargetControl but the Public Event craps out.
The User Control's code behind...(partial)
Partial Class content_WebUserControl Inherits System.Web.UI.UserControl Public Event PopupSelectCompanyFacilityId_Close() Protected Sub RepeaterContent_ItemCommand(ByVal Sender As Object, ByVal e As RepeaterCommandEventArgs) Select Case e.CommandName Case "SelectRepeaterItem" SqlDataSourceUserControl.UpdateCommand = "UPDATE Contacts SET CompanyFacilityID = '" & e.CommandArgument & "' WHERE ContactId = '" + lookupSess ...

Go to the complete details ...