This is a migrated thread and some comments may be shown as answers.

Strange issue - page and controls unresponsive

1 Answer 20 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
BitShift
Top achievements
Rank 1
Veteran
BitShift asked on 13 Aug 2014, 09:55 PM
Ok, something strange just happened and im not sure if it was something I changed or not.
Its as though nothing is responding to clicks.

I have a treeview with a clientside handler that invokes an ajax request which in turn updates an ajaxpanel.  The panel contains a radtabstrip and a few pages.
Everything was working fine a few minutes ago until I started testing out using RadWindow, but Ive since removed it and the issue persists.  Could something be cached with an AJAX request?  I cleared my browser cache.

So, as a test, I added a RadButton, added a serverside click event to it to see if a breakpoint would get it.  It does, so it seems its just the items ive added.
the solution builds ok, pulls up in the designer ok, and I cant really see any formatting issues in the markup.

What would cause, for example,  my RadTreeview to suddenly not hit a breakpoint in a clientside event handler?

1 Answer, 1 is accepted

Sort by
0
BitShift
Top achievements
Rank 1
Veteran
answered on 13 Aug 2014, 10:35 PM
Further info:  Im using the RadScriptManager instead of the aspnet Scriptmanager, if that helps.

Ok, since typing all of this...I suddenly stumbled upon what the issue was...
<pulling hair out>
I had a button with a clientside handler attached to just a single button inside a SINGLE RadMultiPage, so even it was mal-formed somehow, it shouldnt have caused the Tree or other controls to stop responding...unless maybe under the covers the javascript errors were preventing it, which kinda make sense.

So moral of the story - add your javascript handlers slowly and test each one, or else you will be like be and have a real mystery on your hands.  MORE than just what you added will stop working.


Tags
General Discussions
Asked by
BitShift
Top achievements
Rank 1
Veteran
Answers by
BitShift
Top achievements
Rank 1
Veteran
Share this question
or