OK not sure if my title was too descriptive or not, but I am rather new to Talerik so this could just be a basic question. We are using a rad window for all our messages back to a user (process succesful, or failed, and etc.) some of our recent changes added user controls to a parent page and those need to now call the rad window that is on the aspx page of the parent page and pass the message to the user. How do we do this?
Here is current code on the parent page code behind when opening the window:
if (isSuccess)
{
message = "blah blah blah was successful, now do blah blah blah";
MessageRadWindow.NavigateUrl = "MessageAlert.aspx?message=" + encrypt.encrypt(message);
MessageRadWindow.Visible = true;
MessageRadWindow.VisibleOnPageLoad = true;
}
Now, that works well for what the message window is needed to do, however I am unsure how to call that same MessageRadWindow from the user control that is now embeded in that same page via a page.loadcontol method. I have attemtped different .GetControl methods and a couple things I found on the forums here and can neve get it to compile because it isn't finding the parent page controls for some reason. I am getting things like:
Error 281 The name 'RadAjaxManager1' does not exist in the currentcontext C:\_tfs\xxxx\xxxx\xxxx\Schedulexxxx.ascx.cs 81 14 xxxx_admin
What am I missing? Does the usercontrol need it's own ajax manager, and if so how do I get it there because I get errors stating cannot have more than on ajax manager on a page when I attempted to add one tot he user control?
Here is current code on the parent page code behind when opening the window:
if (isSuccess)
{
message = "blah blah blah was successful, now do blah blah blah";
MessageRadWindow.NavigateUrl = "MessageAlert.aspx?message=" + encrypt.encrypt(message);
MessageRadWindow.Visible = true;
MessageRadWindow.VisibleOnPageLoad = true;
}
Now, that works well for what the message window is needed to do, however I am unsure how to call that same MessageRadWindow from the user control that is now embeded in that same page via a page.loadcontol method. I have attemtped different .GetControl methods and a couple things I found on the forums here and can neve get it to compile because it isn't finding the parent page controls for some reason. I am getting things like:
Error 281 The name 'RadAjaxManager1' does not exist in the currentcontext C:\_tfs\xxxx\xxxx\xxxx\Schedulexxxx.ascx.cs 81 14 xxxx_admin
What am I missing? Does the usercontrol need it's own ajax manager, and if so how do I get it there because I get errors stating cannot have more than on ajax manager on a page when I attempted to add one tot he user control?