在回发期间,Grdiview标题闪烁 [英] Grdiview header is flickering during post back

查看:75
本文介绍了在回发期间,Grdiview标题闪烁的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我的页面中有一个Tab容器,位于更新面板内。我显示未找到数据当没有数据显示时。一切正常工作。当我切换标签并再次回到同一页面时仍显示消息,但由于回发,标题缩小到80%一秒钟恢复正常(100%)。有什么办法可以解决这个问题。?



问候,

hsakarp

解决方案

尝试调整列宽。

 HeaderStyle-Width =100px



看到类似的主题:如何在asp.net中为gridview设置模板字段的宽度 [ ^ ]



- Amit

Hi,

I am having a Tab container in my page which is inside a update panel.I am showing "No data found" when there is no data to display.Everything is working for the very first time.When i switch the tab and again coming back to the same page still it shows the message but due to post back the header shrinks to 80% for a second and getting back to normal(100%).Is there any way i can overcome this issue.?

Regards,
hsakarp

解决方案

Try resizing your Column Width.

HeaderStyle-Width="100px"


See a similar thread : how to set width for templatefields in gridview in asp.net[^]

--Amit


这篇关于在回发期间,Grdiview标题闪烁的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆