Bind a value to a javascript method as parameter

test55

New Member
I'm getting error on binding a javascript method call using Eval().Following is the line of code within a repeater control:\[code\]<asp:Button ID="View" runat="server" Text="View" CommandName="View" OnClientClick="OpenInNewWindow(<%# Eval("JobID")%>)"> </asp:Button>\[/code\]I need to get the value jobId for that javascript method. Can anyone help me out?
 
Back
Top