Breakpoint in embedded script source

3 posts, 0 answers
  1. Bob van der Zinch
    Bob van der Zinch avatar
    10 posts
    Member since:
    Feb 2010

    Posted 12 Oct 2010 Link to this post

    Hello Telerik Team!

    None of support ticket links are currently working giving HTTP 404, so let me ask here.

    Before I moved to RadScriptManager, I got a number of embedded scripts loaded by the browser (I use IE 8). I have a number of assemblies that contain ScriptControls and Ajax extenders with embedded javascripts behind. i used to have these scripts listed under "Script Documents" tree node of Solution Explorer while debugging in Visual Studio, like WebResource.axd?....

    So I was able to open any of these loaded scripts, set breakpoints, debug the code etc. Now these scripts I guess collected by RadScriptManager and not listed in Solution Explorer. I can use 'debugger' statement, but script source modification leads to recompiling the assembly, all dependent assemblies and the whole website, which is pretty much time consuming. In the other hand the resulting javascript is too large and VS is taking forever to load, intellisense and then debug it. Sometimes it just crashes and it's really painful to debug any scripts.

    So the question... Is it possible somehow to turn off this feature of RadScriptManager to combine scripts all together? At least in debug mode it will be very helpful.

    Till certain point I could switch back to ASP.NET ScriptManager, but now it's not possible, because I'm using cross-windows event handlers, which forces ScriptManager to throw.

    Cheerz,
      Bob
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 18 Oct 2010 Link to this post

    Hi Bob van der Zinch,

    We've already answered to the support ticket regarding this question. Here is the reply:

    Have you tried setting EnableScriptCombine="false" for RadScriptManager?

    Best regards,
    Yana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Bob van der Zinch
    Bob van der Zinch avatar
    10 posts
    Member since:
    Feb 2010

    Posted 18 Oct 2010 Link to this post

    Hi Yana, and thanks, I have already read and closed the ticket as the solution worked for me...

    Cheerz,
      Bob
Back to Top