North American Sales: 1-800-231-8588
Global Contacts
My Account
Menu
North American Sales: 1-800-321-8588
My Account
Sign In/Register
Design & Development
Design & Develop
Best Value
Infragistics Ultimate
The complete toolkit for building high performing web, mobile and desktop apps.
Indigo.Design
Use a unified platform for visual design, UX prototyping, code generation and application development.
Web
Ignite UI for Angular
Ignite UI for JavaScript
Ignite UI for React
Ultimate UI for ASP.NET
Indigo.Design
Desktop
Ultimate UI for Windows Forms
Ultimate UI for WPF
Prototyping
Indigo.Design
Mobile
Ultimate UI for Xamarin
Ultimate UI for iOS
Ultimate UI for Android
Automated Testing Tools
Test Automation for Micro Focus UFT: Windows Forms
Test Automation for Micro Focus UFT: WPF
Test Automation for IBM RFT: Windows Forms
UX
Indigo.Design Desktop
Collaborative prototyping and remote usability testing for UX & usability professionals
Indigo.Design
A Unified Platform for Visual Design, UX Prototyping, Code Generation, and App Development
Business Intelligence
Reveal Embedded
Accelerate your time to market with powerful, beautiful dashboards into your apps
Reveal App
Empower everyone in your organization to use data to make smarter business decisions
Team Productivity
Learn & Support
Support
Help & Support Documents
Blogs
Forums
Product Ideas
Reference Applications
Customer Stories
Webinars
eBook & Whitepapers
Events
Free Trials
Pricing
Product Pricing / Buy Online
Renew Existing License
Contact Us
Forums
Retired Products and Controls
Your Privacy Matters
: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use.
Cookie Policy
Close
State
Not Answered
Replies
0 replies
Subscribers
3 subscribers
Views
5764 views
Users
0 members are here
UltraWebGrid (Retired)
ASP.NET
Overlapping
Conditional Formatting
Web Grid
Column Freezing in UltrWebgrid
Scrollbar
Grid formatting
column format
Column Header Style
Page Layout
Share
More
Cancel
45
Formatting issues with dynamically created WinGrids
Stuart Perigo
posted
over 15 years ago
I am not sure which forum to post this in so I thought I would try here first. I'm fairly new to infragistics and am having some issues with the page I am working with. The page has dynamically created WebSplitter panes. Each pane contains a WebTab and each WebTab contains a WebGrid. Each of these is also created dynamically. The first two columns of data in the WebGrid are fixed. I am having multiple problems with it so I will describe each one here in hopes that someone can point me in the right direction to fix them.
First off, even though the SplitterPane height and width have been set to 100% there are still scroll bars appearing both vertically and horizontally on the page for each pane. The only scroll bar should be the one for the WebGrid to scroll left and right for the columns that are not fixed. What is the best way to get rid of these unwanted scrollbars?
Secondly, The column headers of the columns do not line up properly with the data columns in the grids. The offset between the headers and the data is small at first on the left and gets larger as the grid goes left. In the second pane in the picture below you can see the large offset on the left. What is the best way to get the columns to line up with the headers?
I have tried numerous things to try to fix the above problems. The one which seemed to work the best was to remove the DOCTYPE line from the top of the aspx page. This fixes both of the problems mentioned earlier. However, it creates other problems. The fixed columns are fine but the other ones change fonts to a larger size. At this point I can no longer change the font using the code behind page.
The first image below is the screen shot with the DOCTYPE line in the code. The second one is the screen shot without the DOCTYPE line. Following that is the page code.
I am using Visual Studio 2008 (C#) ,Internet Explorer 7, and Infragistics 3.5 version 8.2.20082.2022.
Any help is greatly appreciated. Thank you for your time.
<%
@
Page
Language
="C#"
AutoEventWireup
="true"
CodeBehind
="LSWebPVBeta.aspx.cs"
Inherits
="LSWebPV.Client.LSWebPVBeta"
EnableSessionState
="True"
%>
<%
@
Register
Assembly
="Infragistics35.Web.v8.2, Version=8.2.20082.2022, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
Namespace
="Infragistics.Web.UI.LayoutControls"
TagPrefix
="cc1"
%>
<%
@
Register
Assembly
="Infragistics35.WebUI.Misc.v8.2, Version=8.2.20082.2022, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
Namespace
="Infragistics.WebUI.Misc"
TagPrefix
="igmisc"
%>
<%
@
Register
Assembly
="Infragistics35.WebUI.UltraWebGrid.v8.2, Version=8.2.20082.2022, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
Namespace
="Infragistics.WebUI.UltraWebGrid"
TagPrefix
="igtbl"
%>
<%
@
Register
Assembly
="Infragistics35.WebUI.WebResizingExtender.v8.2, Version=8.2.20082.2022, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
Namespace
="Infragistics.WebUI"
TagPrefix
="igui"
%>
<%
@
Register
assembly
="Infragistics35.WebUI.UltraWebTab.v8.2, Version=8.2.20082.2022, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
namespace
="Infragistics.WebUI.UltraWebTab"
tagprefix
="igtab"
%>
<%
@
Register
Assembly
="Infragistics35.WebUI.UltraWebNavigator.v8.2, Version=8.2.20082.2022, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
Namespace
="Infragistics.WebUI.UltraWebNavigator"
TagPrefix
="ignav"
%>
<!
DOCTYPE
html
PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html
xmlns
="http://www.w3.org/1999/xhtml">
<
head
runat
="server">
<
title
></
title
>
<
script
type
="text/javascript">
function
pageLoad() {
}
</
script
>
<
style
type
="text/css">
#form1
{
width
:
1024px
;
height
:
768px
;
}
</
style
></
head
>
<
body
>
<
form
id
="form1"
runat
="server">
<
div
style
="
width
:
1024px
;
height
:
768px">
<
asp
:
ScriptManager
ID
="ScriptManagerMain"
runat
="server"
/>
<
cc1
:
WebSplitter
ID
="spltMain"
runat
="server"
Height
="100%"
Width
="100%"
StyleSetName
="Office2007Blue">
<
Panes
>
<
cc1
:
SplitterPane
runat
="server"
Size
="25%"
CollapsedDirection
="PreviousPane"
ScrollBars
="Hidden">
<
Template
>
<
ignav
:
UltraWebTree
ID
="treePVSets"
runat
="server"
Height
="100%"
OnNodeClicked
="treePVSets_NodeClicked"
Width
="100%"
DefaultImage
=""
EnableAppStyling
="True"
HiliteClass
=""
HoverClass
=""
Indentation
="20"
StyleSetName
="Office2007Blue">
</
ignav
:
UltraWebTree
>
</
Template
>
</
cc1
:
SplitterPane
>
<
cc1
:
SplitterPane
runat
="server"
ScrollBars
="Hidden"
>
<
Template
>
<
asp
:
UpdatePanel
ID
="updPnlInformation"
runat
="server"
ChildrenAsTriggers
="False"
UpdateMode
="Conditional">
<
ContentTemplate
>
<
igmisc
:
WebPanel
ID
="pnlInformation"
runat
="server"
Width
="100%"
StyleSetName
="Office2007Blue">
<
Header
Text
="Section Title">
<
ExpandedAppearance
>
<
Styles
Font-Bold
="True"
Font-Names
="Arial"
Font-Size
="Medium">
</
Styles
>
</
ExpandedAppearance
>
</
Header
>
<
Template
>
<
asp
:
Button
ID
="btnRefresh"
runat
="server"
Text
="Refresh"
/>
<
asp
:
Label
ID
="lblDescriptionLabel"
runat
="server"
Font-Bold
="True"
Text
="Description:"></
asp
:
Label
>
<
asp
:
Label
ID
="lblDescription"
runat
="server"
Text
="Desc"></
asp
:
Label
>
<
asp
:
Label
ID
="lblLSLLabel"
runat
="server"
Font-Bold
="True"
Text
="LSL:"></
asp
:
Label
>
<
asp
:
Label
ID
="lblLSL"
runat
="server"
Text
="N/A"></
asp
:
Label
>
<
asp
:
Label
ID
="lblUSLLabel"
runat
="server"
Font-Bold
="True"
Text
="USL:"></
asp
:
Label
>
<
asp
:
Label
ID
="lblUSL"
runat
="server"
Text
="N/A"></
asp
:
Label
>
<
asp
:
Label
ID
="lblTargetLabel"
runat
="server"
Font-Bold
="True"
Text
="Target:"></
asp
:
Label
>
<
asp
:
Label
ID
="lblTarget"
runat
="server"
Text
="N/A"></
asp
:
Label
>
</
Template
>
</
igmisc
:
WebPanel
>
</
ContentTemplate
>
</
asp
:
UpdatePanel
>
<
cc1
:
WebSplitter
ID
="spltPVSubSections"
runat
="server"
Height
="100%"
Orientation
="Horizontal"
Width
="100%"
StyleSetName
="Office2007Blue"
Visible
="False">
<
Panes
>
<
cc1
:
SplitterPane
runat
="server">
<
Template
>
<
igtab
:
UltraWebTab
ID
="tabPVSubSectionTemplate"
runat
="server"
EnableAppStyling
="True"
Height
="100%"
StyleSetName
="Office2007Blue"
Width
="100%"
BorderStyle
="None"
Visible
="False">
<
Tabs
>
<
igtab
:
Tab
Text
="SubSection Title">
<
ContentTemplate
>
<
igtbl
:
UltraWebGrid
ID
="grdPVSubSectionTemplate"
runat
="server"
Height
="100%"
StyleSetName
="Office2007Blue"
Visible
="False"
Width
="100%"
oninitializerow
="grdPVSubSectionTemplate_InitializeRow">
<
Bands
>
<
igtbl
:
UltraGridBand
>
<
AddNewRow
View
="NotSet"
Visible
="NotSet">
</
AddNewRow
>
<
RowEditTemplate
>
<
br
>
<
p
align
="center">
<
input
ID
="igtbl_reOkBtn"
onclick
="igtbl_gRowEditButtonClick(event);"
style
="
width
:
50px
;
"
type
="button"
value
="OK">
<
input
ID
="igtbl_reCancelBtn"
onclick
="igtbl_gRowEditButtonClick(event);"
style
="
width
:
50px
;
"
type
="button"
value
="Cancel">
</
input
>
</
input
>
</
p
>
</
br
>
</
RowEditTemplate
>
<
RowTemplateStyle
BackColor
="White"
BorderColor
="White"
BorderStyle
="Ridge">
<
BorderDetails
WidthBottom
="3px"
WidthLeft
="3px"
WidthRight
="3px"
WidthTop
="3px"
/>
</
RowTemplateStyle
>
</
igtbl
:
UltraGridBand
>
</
Bands
>
<
DisplayLayout
BorderCollapseDefault
="Separate"
Name
="UltraWebGrid1"
RowHeightDefault
="20px"
Version
="4.00"
AllowColSizingDefault
="NotSet"
TableLayout
="Fixed">
<
FrameStyle
BorderStyle
="None"
Height
="100%"
Width
="100%">
</
FrameStyle
>
<
ActivationObject
BorderColor
=""
BorderWidth
="">
</
ActivationObject
>
</
DisplayLayout
>
</
igtbl
:
UltraWebGrid
>
</
ContentTemplate
>
<
Style
Font-Bold
="True"
Font-Names
="Arial"
Font-Size
="Medium"
BorderStyle
="None">
</
Style
>
</
igtab
:
Tab
>
</
Tabs
>
</
igtab
:
UltraWebTab
>
</
Template
>
</
cc1
:
SplitterPane
>
<
cc1
:
SplitterPane
runat
="server">
<
Template
></
Template
>
</
cc1
:
SplitterPane
>
</
Panes
>
</
cc1
:
WebSplitter
>
</
Template
>
</
cc1
:
SplitterPane
>
</
Panes
>
</
cc1
:
WebSplitter
>
<
igui
:
WebResizingExtender
ID
="spltMain_WebResizingExtender"
runat
="server"
TargetControlID
="spltMain">
</
igui
:
WebResizingExtender
>
</
div
>
</
form
>
</
body
></
html
>