Hi All
I have a textbox and a button, a buton when click it display the contentselector modal dialog. When user click OK on this dialog, it closed and it assign the url to textbox ? Just easy, but it take me a lot of works. Please help me !
I can code the OnClick in the button:
string url = SiteUrls.Instance().ContentSelectorModal;
SelectButton.Attributes["OnClick"] = CommunityServer.Controls.ModalHelper.BuildHandler(this.Page, url, 600, 400, "AAAAAAAAA", true);
The AAAAAAAAA text I know this is a callback function. But I don't know how to write it. :(
Please help me write the callback function when the modal dialog close. And it assign the url to the textbox.
Thanks.