

I have a slider inside of an update panel and at random times when changing the values I get a GetClientRects error. I tried putting the following code after the </form> and after the scriptmanager tags and it doesn't trap this i when living in either spot:
<script type="text/javascript" language="javascript">
var oldDomEvent = Sys.UI.DomEvent;
Sys.UI.DomEvent =
function(rawEvent) { if (rawEvent.srcElement && typeof (rawEvent.srcElement.getClientRects) == "undefined") return; var evt = new oldDomEvent(rawEvent); for (var o in evt) this[o] = evt[o]; }
for (var o in oldDomEvent)
Sys.UI.DomEvent[o] = oldDomEvent[o];
</
script>
Any ideas?
| <telerik:RadMenu ID="RadMenu1" runat="server" Width="757px" EnableViewState="false" OnClientItemClicked="menuItemClicked" |
| style="z-index: 500" Skin="B2B" EnableEmbeddedSkins="false"> |
| <CollapseAnimation Type="OutQuint" Duration="200" /> |
| </telerik:RadMenu> |
We have created a web form with two radtreeview controls and some standard vs2008 webcontrols (Buttons, DropDownList etc.) The first tree is loaded with about 15-20 nodes loaded from using tree.LoadXML(XMLSTRING);. The second has approximately 300 nodes loaded programmatically from a SQLDataReader and tree.nodes.add(). This form loads very fast on our local LAN (1-2 seconds). But when we moved it to our production server (test site) we found that the time it takes to load the page is up to 15 – 20 seconds (page source size is ~ 150KB). Our old asp.net web form with the standard microsoft treeview control loads (using SQLDataReader and tree.nodes.add()) in 5-7 seconds (page source size in ~ 450kb).
Using 3.5 .net framework
firefox 3.0.4 and IE 6,7,8
IIS 6 on win2003 sp2
Any thoughts as to why our web form is loading so slow. Is the some issue with the trial version that would cause this behavior?
Thanks,
Marc Bumgarner
eComponents Technology Inc.
| Callback Loading error:<br>/files/1/documents/NewFolder<br>The target 'RadFileExplorer1' for the callback could not be found or did not implement ICallbackEventHandler. |
public void DisplayMessage( string message, string title, int width, int height )
{
string script = String.Format("Sys.Application.add_load(function(){{ radalert('{0}', {1}, {2}, '{3}');}});",
message, width, height, title);
ScriptManager.RegisterStartupScript(this, GetType(), "radalert", script, true);
}
My issue is that I can't get this to work with ajax. I've tried to wrap my user control in a Panel control and then set an ajax setting where the updated control is the Panel. When I do this I can get the RadAjaxLoadingPanel to display (which is one lf my goals so that the user knows that the process is running) but the message box doesn't display.
How do you wire up the RadWindow in ajax?
