Prev: VWD2008 will not refresh HTML file
Next: DataBind Repeater to string[] in ViewData without code behind. MVC 2
From: Harlan Messinger on 23 May 2010 00:43 Mark Rae [MVP] wrote: > " Cal Who" <CalWhoNOSPAM(a)roadrunner.com> wrote in message > news:ht9l9g$dti$1(a)news.eternal-september.org... > >> Why the null?? > > Because of ASP.NET's control ID munging. > > var control = document getElementById('<%=MyControl.ClientID%>'); > > He did that, but at the point where his SetMargins function was called. |