I have problem with the JavaScript calendar in my website.When i use in normal asp page its working good.At the same time when i use the same code in masterpage using content place holder its not working this is my same code
The id of the textbox is not always the same on the client. You can do a couple things. When you reference the textbox on the client, do the following:
Member
147 Points
239 Posts
Javascript Working in Nomal page not working in master Page
Jan 25, 2017 05:52 AM|vivekbuv|LINK
Hai Friends,
I have problem with the JavaScript calendar in my website.When i use in normal asp page its working good.At the same time when i use the same code in masterpage using content place holder its not working this is my same code
Without MasterPage Using
With Master Page using Not Working
Please Help me to solve this Problem
All-Star
26021 Points
5875 Posts
Re: Javascript Working in Nomal page not working in master Page
Jan 25, 2017 06:02 AM|markfitzme|LINK
The id of the textbox is not always the same on the client. You can do a couple things. When you reference the textbox on the client, do the following:
or use
The latter will make sure that the textbox's client ID matches the server-side id.
Member
147 Points
239 Posts
Re: Javascript Working in Nomal page not working in master Page
Jan 25, 2017 06:08 AM|vivekbuv|LINK
Dear mark,
Thank You so much its working Perfectly.....