I have the following scenario:
in an asp.net content page (VS 2008 .net 2.0) i have 1 RadMUltipage with 2 page views. Within one of the views I open a radwindow as a dialog, do some work and close the dialog. In attempt to pull information from the closing dialog i ran into the following problem:
According to documentation i can call this line in a client side function:
var
multiPage = $find("<%=RadMultiPage1.ClientID %>")
which returns the reference to the multipage. i always get null. here is the aspx code for the multipage:
<
telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" MultiPageID="RadMultiPage1">
<telerik:RadPageView ID="rgpvCustomers" runat="server">
<div>
<table.....
I am calling this line of code in this javascript function:
function
CallBackFunction(radWindow, returnValue)
{
if (returnValue.CustAddrInfo)
{
var multiPage = $find("<%=RadMultiPage1.ClientID %>");
var pageView = multiPage.findPageViewByID("rgpvProjects");
.......
}
}
i added the MultiPageID as part of my trouble shooting. I bascially call a radwindow in modal mode, once work is done and i close the window this method gets called via the RadWindowManager. Not being able to pull information from the Closing window and use that in the pageveiw is making this impossible to use. The callbackfunction is being called as i added a line of code that shows me an alert message in that function.
Other things i have noticed is when opening the "Configure Ajax Manager" for the RadAjaxManager i dont see any controls to configure. This did work within a user control i was using to test before but this control is not part of this page.