Thursday, February 26, 2004

A little .Net issue reminder

Ed asked me if I had used hidden field in ASP.NET. I said, "I think so?". So we went to check out the issue. And it is simply this, even if you are using an html control in ASP.NET, if you are going to fill the value of that hidden field from a function or programmatically, the html control needs the attribute runat="server". when you think about it, it makes sense, how else would ASP.NET know that the html control exist. Ah the joys of programming for a stateless protocol

No comments: