超级问题高手请进!急急急急急
要在后台改变DropdownList的背景颜色,语句如下:
Response.Write("<script>document.getElementById('ctl00_Footer_StyleDrpDwList').style.backgroundColor='#E0E0E0';</script>");
原来Page_Load中有this.SmartNavigation = true;语句,页面没有问题,去掉this.SmartNavigation = true;语句后, 访问不到DropdownList控件,JavaScript调试程序提示“缺少对象”。是C#语言做的Web.
请问有什么方法解决或者给个别的解决方法!