Calling javascript in ASP.NET
-
Hi there, I am calling a javascript on a server control in ASP repeater. but as i click the button in asp repeater it generates the error as 'Control' is undefined. the reason of the error may be as there is different identification for each control in the repeater. can anybody tell me how to recover the error?
-
Hi there, I am calling a javascript on a server control in ASP repeater. but as i click the button in asp repeater it generates the error as 'Control' is undefined. the reason of the error may be as there is different identification for each control in the repeater. can anybody tell me how to recover the error?
anant.awadhut wrote:
as i click the button in asp repeater it generates the error as 'Control' is undefined
view the html code generated at client-side to verify ur js code is correct or not. Note: you can use GetClientID func to get the control id will be generate at client-side in server-side code << >>