Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/296.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 绝对gridview标题不随页面操作移动_C#_Asp.net_Css_Gridview - Fatal编程技术网

C# 绝对gridview标题不随页面操作移动

C# 绝对gridview标题不随页面操作移动,c#,asp.net,css,gridview,C#,Asp.net,Css,Gridview,我已经在我的页面中创建了一个GridView,并使用 top: expression(Sys.UI.DomElement.getBounds(document.getElementById("GridPanel")).y); 在我的CSS课上 我的问题是,我的页面中还有一个Accordion控件,每次打开Accordion时,我的标题都不跟随gridview。它们在页面中保持在同一个精确的X,Y 有没有办法使标题跟随gridview坐标 非常感谢现在一切正常,没有任何变化。我将对此进行更多

我已经在我的页面中创建了一个GridView,并使用

top: expression(Sys.UI.DomElement.getBounds(document.getElementById("GridPanel")).y);  
在我的CSS课上

我的问题是,我的页面中还有一个Accordion控件,每次打开Accordion时,我的标题都不跟随gridview。它们在页面中保持在同一个精确的X,Y

有没有办法使标题跟随gridview坐标


非常感谢

现在一切正常,没有任何变化。我将对此进行更多的研究,但这似乎是我的浏览器渲染中的一个bug