3 Answers, 1 is accepted
0
Hello Michael,
I'm afraid that I'm unable to re-create this behavior locally. I have attached a simple test page please take a look maybe I'm missing something obvious.
Best wishes,
Rosen
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
I'm afraid that I'm unable to re-create this behavior locally. I have attached a simple test page please take a look maybe I'm missing something obvious.
Best wishes,
Rosen
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Michael
Top achievements
Rank 1
answered on 06 Apr 2009, 11:27 PM
Thanks for that. Your simple test page worked, however my javascript doesn't work when compression is enabled.
My JS is quite complex, it is not even giving a JS error in the Firefos error console when compression is enabled. the buttons just don't work period.
Here is a snippet of the kind of JS I am passing into the responsescripts.add method. I have omitted the other C# logic and just included the jscript creation lines.
My JS is quite complex, it is not even giving a JS error in the Firefos error console when compression is enabled. the buttons just don't work period.
Here is a snippet of the kind of JS I am passing into the responsescripts.add method. I have omitted the other C# logic and just included the jscript creation lines.
| string jscript = ""; |
| jscript += "$j(\"#spanSchool_YearFinished\").hide();$j(\"#spanSchool_YearCurrent\").show();"; |
| jscript += "$j(\"#spanSchool_YearFinished\").show();$j(\"#spanSchool_YearCurrent\").hide();"; |
| jscript += "$j(\"#" + rblSchool_StillAttending.ClientID + "_0\").click(function() {$j(\"#spanSchool_YearFinished\").hide();$j(\"#spanSchool_YearCurrent\").show();});$j(\"#" + rblSchool_StillAttending.ClientID + "_1\").click(function() {$j(\"#spanSchool_YearFinished\").show();$j(\"#spanSchool_YearCurrent\").hide();});"; |
| jscript += "$j(\"#addEditSchool\").slideDown(600);"; |
| RadAjaxManager1.ResponseScripts.Add(jscript); |
0
Hi Michael,
Unfortunately I'm still unable to reproduce the behavior locally. Thus I will ask you to send us (attached to a formal ticket ) a small runnable example in which this behavior can be observed. This way we will be able to debug it locally and provide you with more to the point answer.
Kind regards,
Rosen
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Unfortunately I'm still unable to reproduce the behavior locally. Thus I will ask you to send us (attached to a formal ticket ) a small runnable example in which this behavior can be observed. This way we will be able to debug it locally and provide you with more to the point answer.
Kind regards,
Rosen
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.