Month: December 2008

  • Autopostback提示“该对象不支持此属性或方法”(Object doesn’t support this property or method)

    在公司调试没有问题,回家改了些许东西,居然DropDownList的Autopostback不起作用了。。。郁闷,google了下。。。 google到的一个解决方法: 问题找到了,原来是最后第二行有个 <asp:button id="submit" runat="server" text="添   加"></asp:button> <asp:button ..="" id="submit"> ====&gt; 变成 <asp:button..>了 晕死,后台里又有 protected System.Web.UI.WebControls.Button submit; 这个东西的,而且 submit 按钮功能一切正常,谁会想到是这个原因。 </asp:button..></asp:button> 和我的情况不符合,只能自己尝试了之了。一一比较两段程序,发现问题了。   <asp:label forecolor="Aqua" id="Label1" runat="server" text="Label"></asp:label>     Test Project:   <asp:dropdownlist autopostback="true" id="listTestProj" runat="server"><pre lang="html4strict">  </pre></asp:dropdownlist> Test Plan: <asp:dropdownlist autopostback="true" id="listTestPlan" runat="server"> </asp:dropdownlist> <asp:button id="submit" onclick="Do_Click" runat="server" text="Submit"> </asp:button> 问题出在Button上,我定义其ID为submit,修改为Do就没有问题了。 <asp:label…

  • Grub vga模式

    色深 | 640×480 800×600 1024×768 1280×1024 —————–+————————————- 256 (8bit)| 769 771 773 775 32000 (15bit)| 784 787 790 793 65000 (16bit)| 785 788 791 794 16.7 Mill.(24bit)| 786 789 792 795 在grub中添加vga=xxx可生效,仅对text mode起作用,x-window可修改/etc/X11/XF86Config-4。