How to validate textboxes using java script code while using Master page and content Page
-
Hi all, iam unable to validate textboxes enteries using java script code in asp.net 2.0 while iam using Master page. I have created master page and an other one is Default under master Page and i have added few textboxes into default.aspx page and did validation using java script but iam unable to Perform validation . can any body guide me in this issue. where to put java script code while we are using Master page and content Page scenario. best regards Rameez
-
Hi all, iam unable to validate textboxes enteries using java script code in asp.net 2.0 while iam using Master page. I have created master page and an other one is Default under master Page and i have added few textboxes into default.aspx page and did validation using java script but iam unable to Perform validation . can any body guide me in this issue. where to put java script code while we are using Master page and content Page scenario. best regards Rameez
I dont think there should be no issue. Java Script for Content page control should be written on Content page only .
rameez Raja wrote:
I have created master page and an other one is Default under master Page and i have added few textboxes into default.aspx page and did validation using java script but iam unable to Perform validation .
can you be more specific about your problem ?
cheers, Abhijit
-
Hi all, iam unable to validate textboxes enteries using java script code in asp.net 2.0 while iam using Master page. I have created master page and an other one is Default under master Page and i have added few textboxes into default.aspx page and did validation using java script but iam unable to Perform validation . can any body guide me in this issue. where to put java script code while we are using Master page and content Page scenario. best regards Rameez
i think u have use document.getelementbyid(control name) instead of that use document.getelementbyid('<%= ControlID.ClientID >')