Tuesday, February 16, 2010

Remove {generate-id()} from a Custom List Form using SPD

I created a custom aspx page in SPD and added a Custom List Form web part in it for the Edit item. I assigned some id attributes to some rows in it. As soon as I saved it, I noticed that SPD is appending a {generate-id()} value to it and upon rendering, the assigned id was appended with some characters like ID0EAAA. Because of this, I was having some issues in referring these rows in Javascript. Upon googling, I found an excellent article which explains how to get rid of these.

http://blog.metrostarsystems.com/2007/09/14/how-to-remove-generate-id-from-a-customized-form/

No comments:

Post a Comment