Hello,
I'm using RadAjaxManager in a usercontrol to update controls. Now I've a placeholder in the parent page that I need to update when a button have been clicked in the usercontrol. Is that possible?
The page is default.aspx and I get the ref to the placeholder like this.
Dim myPage As _default_Start = MyBase.Page
Dim litMainText As Literal = myPage.PlaceHolderMain.FindControl("litMainText")
litMainText.Text = "Test text !!!"
RadAjaxManager1.AjaxSettings.AddAjaxSetting(imgbLogIn, myPage.PlaceHolderMain, RadAjaxLoadingPanel1)
I get an error here. Any ideas how I can update the control in the page from the control?
/Thanks
I'm using RadAjaxManager in a usercontrol to update controls. Now I've a placeholder in the parent page that I need to update when a button have been clicked in the usercontrol. Is that possible?
The page is default.aspx and I get the ref to the placeholder like this.
Dim myPage As _default_Start = MyBase.Page
Dim litMainText As Literal = myPage.PlaceHolderMain.FindControl("litMainText")
litMainText.Text = "Test text !!!"
RadAjaxManager1.AjaxSettings.AddAjaxSetting(imgbLogIn, myPage.PlaceHolderMain, RadAjaxLoadingPanel1)
I get an error here. Any ideas how I can update the control in the page from the control?
/Thanks