Elements ID lost on postback

N

Nacho

I am creating a web control with ASP.NET. I am using ClientID all the
time to be able to identify the controls (images, checkboxes, tr,
td....) by using document.getElementById().
On postaback, sometimes these IDs are lost, and sometimes not.

Does anybody knows what is the criteria to loss an IDs on a postback

Thanks in advanced
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top