• Devexpress GridControl无限高度惹得祸


    异常提示:

    issue, place the grid into a container that will give a finite height to the grid, or manually specify the grid's Height or MaxHeight. Note that you can also avoid this exception by setting the GridControl.AllowInfiniteGridSize static property to True, but in that case, the grid will run slowly.”

    发生场景:Grid布局中加了GridControl后出现

    发生原因:网络指点,GridControl如果无限高度的话,由于grid需要渲染,因此没有高度的grid系统dev认为无法完成,因为会耗尽宽带,直接不处理。

    症状:页面加载失败,无法显示,

    处理意见:grid设置固定高度,或者装载grid的容器设置固定高度。

    <Grid Grid.Column="1">
    <Grid.RowDefinitions>
    <RowDefinition Height="5*"/>
    <RowDefinition Height="95*"/> 原本:height=auto
    </Grid.RowDefinitions>
    </Grid>

  • 相关阅读:
    asp.net mvc 两级分类联动方法示例
    动手实践虚拟网络
    KVM 网络虚拟化基础
    LVM 类型的 Storage Pool
    KVM 存储虚拟化
    CPU 和内存虚拟化原理
    远程管理 KVM 虚机
    启动第一个 KVM 虚机
    准备 KVM 实验环境
    虚拟化
  • 原文地址:https://www.cnblogs.com/stoneWl/p/9223765.html
Copyright © 2020-2023  润新知