AutoCompleter被其他gridview隐藏起来 [英] AutoCompleter is getting hide by other gridview

查看:53
本文介绍了AutoCompleter被其他gridview隐藏起来的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友

我在我的asp.net项目中使用AutoCompleter和Jquery以及web服务,并在gridview上绑定数据库值。

TextBox在GridViews Header中。 GridView位于面板内,面板是Scrollable,Panel位于Table内。

当页面加载并且没有记录在gridview中时,autoCompleter显示15条记录

但是当行是插入网格然后下一次然后Scrollbar出现在面板中,AutoCompleter和gridview显示在面板内,autoCompleter只显示5条记录,10行正在Panel中隐藏。

我没有成功恢复问题。请帮助。



先谢谢

Akhilesh Pathak

解决方案

您可以在css上执行此操作,只需添加!important来覆盖库设置的值:

  ul  ui-autocomplete  {
z-index 100 !important ;
}









--Amit


Dear Friends
I am using AutoCompleter with Jquery and web services in my asp.net project and binding databse values on gridview.
TextBox is in GridViews Header. GridView is inside the panel and panel is Scrollable and Panel is inside the Table .
When Page Load and no record is in gridview then autoCompleter shows 15 records
but when row are inserted in grid then next time then Scrollbar appears in panel and AutoCompleter and gridview shows inside the panel and autoCompleter shows only five records and 10 rows are getting hide in Panel.
I am not succeeded to recover the problem.Please help.

Thanks in Advance
Akhilesh Pathak

解决方案

You can do this on your css, you just need to add "!important" to override the value the library sets:

ul.ui-autocomplete {
    z-index: 100 !important;
}





--Amit


这篇关于AutoCompleter被其他gridview隐藏起来的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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