Hi,
Is it possible to have a grid that is not in a frame? I would like my grid to just use the whole page... how do I do this?
Ah, I see what you're after now. My original response wouldn't get you what you're after - the grid would be as wide and as tall as the browser with what I'd sent previously.
Try clearing out the Width and Height properties altogether. If you're doing this from the Properties window, simply clear out the Width and Height properties. If you're doing this in the ASPX markup, you'll need to change it both on the igtbl:UltraWebGrid element as well as under its FrameStyle element. If you're doing it in code, set the two properties to Unit.Empty.
If you want the grid to take all of the 'visible' space of the page, then you set width and height to 100% but it'll scroll based on that. If you want the grid to display no scroll bars at alls, then you set them to 0% (or Unit.Empty).
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=2529
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.Aspx?ArticleID=9691
Thanks for your response. Yes, I guess I mean the div element that contains the grid.. I would like those scrollbars to disappear and the grid to use the whole page so there's no scrollbars within the page, just the scrollbars on the edges of the browser. I've now set the width and height of the grid to 100%:
<div> <igtbl:UltraWebGrid ID="UltraWebGrid1" runat="server" Width="100%" Height="100%">
...
but the grid is still displayed with scrollbars within the page. They shouldn't be if I am understanding you correctly?
I'm not sure what you mean by a "frame", unless you mean the DIV element that the grid uses to set up its scrollbars.
To have the grid use the whole area of its parent container, set its Width and Height properties both to 100%; if you're doing this in code, use Unit.Percentage(100).