Working with the JQuery which should registered on first page load and subsequent Ajax post back. control on which this is getting applied is inside update panel. now what I am doing
Registering the same function both way like in document.ready
and sys.application.add.load
so its working for the control which are inside update panel and control which are outside the update panel.
$(document).ready(function () {
CheckMaxlength();
//If Text area is placed inside update panel then apply restriction for texarea size.
Sys.Application.add_load(function () {
CheckMaxlength();
});
});
I want to know what is the exact way of working with the controls which are inside update panel and outside update panel