English 中文(简体)
更新小组中的GredView在分类另一个电网时增加了额外浏览量。
原标题:GridView in UpdatePanel adds extra rows when sorting another grid

我看到一些过去从未见过的令人厌恶的行为。

我在单独的更新小组中有两个电网。 我可以一页,不出现任何问题。

每个电网每页10个。

如果第一个电网(13个记录)排在第二页,然后排在第二电网(14个记录)和下页的网页上,第一个电网则在电网上增加一只空行,以便显示10个。 牢房里没有数据。 每一电网在成像和分类方面都是如此。

我通过该守则,而其他电网的负荷也从未发生,因此,它告诉我的日本宇宙航空研究开发机构正在做一些事情,以在电网中增加原始输电。

任何想法,为什么或如何去掉?

问题回答

我不知道你是不是这样。 我也有一个类似的问题,即一个模板现场的检查箱的电网。 每当我点击一个页数少于规定页数的页数的页数时,电网格将重开页数界定的许多行。 因此,在最后一批有效数据之后,我最后用几条空行。

我通过在电离层(即<代码>可调电的电离层=“false”)上 dis弃观点,解决了这一问题,所有东西都做了罚款。





相关问题
asp.net gridview editindex

Please take a look at this: protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e) { int index = Convert.ToInt32(e.CommandArgument); if (e.CommandName == "Edit") {...

How do I stop my gridview from caching?

I search for results, click one, it opens in a new window, then edit it, and close the popup. Then I hit search to refresh my gridview, but the changes do not reflect unless I hit F5. It s caching ...

get data from gridview without querying database

I am new at this so please bear with me... I have managed to get the following code to work...so when I click on the "select" link in each row of the gridview, the data is transfered to other label/...

WPF GridView, Display GetType().Name in DisplayMemberBinding

I want include the Type name of each object in my collection from my GridView. I have a collection which has four different types in it that all derive from a base class. Call them, Foo, Bar, Fizz, ...

GridView that toggles percentages of counts

I am using a SqlDataSource that returns a table of raw counts. One of these columns is the "total". I would like to give the user the ability to show these counts as a percentage of total using some ...

热门标签