0
这似乎是不可能改变的GridView .Caption已设置一次之后。不能改变GridView的标题
一旦我设置标题,然后回传内改变它,在代码中似乎都正常,在页面的PreRender,GridView控件的PreRender何
我不知道该怎么做 - 网页(和GridView也)PreRender事件在调试.Caption是正确的,但它与旧的标题渲染反正
页似乎是设置一次标题渲染,虽然我改变了它。
我甚至试图将其放置的UpdatePanel和更新,但它并没有帮助。
任何人都可以建议的原因吗? 在此先感谢。
代码相当长,但是这是有关部分 它的Page_Load 呼吁有没有其他任务在整个代码.Caption dgPublications.Caption =的String.Format(“订单#{0}产品类型“,_currentOrderID); dgOrderContent.Caption = _currentPubID.HasValue?的String.Format( “{0}内容”, Dictionaries.GetInstance(((MDSPage)this.Page).Database).PublicationIDs [_currentPubID.Value]): 的String.Format( “订单#{0}的内容”, _currentOrderID); dgOrderContent.DataBind(); – igor 2009-07-23 14:23:53