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

Good code reg in javascript

2 Answers 45 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
miksh
Top achievements
Rank 1
Iron
miksh asked on 25 Jan 2010, 02:06 PM
Good job guys! The latest version is perfect and all my "good code red" issues gone except one. JustCode reports an error "Javascript: Missing ')' " for the code below.

<script>  
    var menu_<%=this.ClientID%> = new DropDownMenu(document.getElementById('MENU_BUTTON_<%=this.ClientID%>'), document.getElementById('MENU_ELEMENT_<%=this.ClientID%>'));  
    var <%=this.ClientID%> = new AlignmentSelector('<%=this.ClientID%>''<%=this.SkinPath%>''<%=this.Mode%>', menu_<%=this.ClientID%>);  
</script> 

 

 

 

2 Answers, 1 is accepted

Sort by
0
Hessner
Top achievements
Rank 2
answered on 25 Jan 2010, 03:47 PM
I see the same behaviour:

 
Sys.WebForms.PageRequestManager.getInstance().add_pageLoaded(endRequestHandler<%=ModuleId%>);  
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(endRequestHandler<%=ModuleId%>);  
function endRequestHandler<%=ModuleId%>(sender, args)   
{  
    var o = GetId('Alert<%=ModuleId%>'true);  
    if (o != null && o.innerHTML != '') {  
        eval(o.innerHTML);  
        o.innerHTML = '';  
    }  
  }   
 


0
Deyan Varchev
Telerik team
answered on 28 Jan 2010, 09:00 AM
Hello Michael, Bo,

 Thanks for letting us know about that problem. You should be able to monitor the progress of that issue in our internal system now so that you could grab a version with the fix. Please, do not hesitate to contact us if you have any further issues.

Best wishes,
Deyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Code Analysis
Asked by
miksh
Top achievements
Rank 1
Iron
Answers by
Hessner
Top achievements
Rank 2
Deyan Varchev
Telerik team
Share this question
or