Greetings,
I am using your ultrawebgrid v6.3 and have an issue with the editing controlls rendering outside of the grid itself. (onclick, the input control appears offset well outside the page)
As an additional 'feature' there are 3 of these grids (yes they all have a different ID) and when I toggle back/forth between editing one grid to the next, their respective input boxes increase this offset and walk away further down the page.
Considering I am relatively new at the use of your suite, I was unable to find a similar posting. Can you offer any advice, is it a known issue? I am suspecting a CSS/div issue may be the underlying cause. Which could be as a result of how the grids are setup to begin with. Here is an example of the one grid's markup code.
<igtbl:ultrawebgrid id="uwList2" Width="248px" runat="server" Height="171px"> <Bands> <igtbl:UltraGridBand> <AddNewRow View="NotSet" Visible="NotSet"> </AddNewRow> </igtbl:UltraGridBand> </Bands> <DisplayLayout AllowDeleteDefault="Yes" JavaScriptFileName="/Scripts/ig_WebGrid.js" StationaryMargins="Header" AllowAddNewDefault="Yes" AllowSortingDefault="Yes" RowHeightDefault="20px" Version="2.00" BorderCollapseDefault="Separate" Name="ctl00xuwList2" TableLayout="Fixed" CellClickActionDefault="Edit" AllowUpdateDefault="Yes"> <AddNewBox Prompt="Add new" Hidden="False"></AddNewBox> <Pager StyleMode="PrevNext"></Pager> <HeaderStyleDefault Font-Bold="True" BorderStyle="Solid" BackColor="LightGray"> <BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px" ColorLeft="White"></BorderDetails> </HeaderStyleDefault> <FrameStyle Width="248px" BorderWidth="1px" Font-Size="10pt" Font-Names="Verdana" BorderStyle="Solid" BackColor="LightGray" Height="171px"></FrameStyle> <FooterStyleDefault BorderWidth="1px" BorderStyle="Solid" BackColor="LightGray"> <BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px" ColorLeft="White"></BorderDetails> </FooterStyleDefault> <EditCellStyleDefault BorderWidth="0px" BorderStyle="None"></EditCellStyleDefault> <RowStyleDefault BorderWidth="1px" BorderColor="Gray" BorderStyle="Solid"> <Padding Left="3px"></Padding> <BorderDetails WidthLeft="0px" WidthTop="0px"></BorderDetails> </RowStyleDefault> <Images ImageDirectory="/Images/"></Images> </DisplayLayout></igtbl:ultrawebgrid>
Any assistant in this matter would be helpful...
Thanks in advance, Padishar
Hello,
Do you have any global CSS classes that might affect input boxes (the edit area is essentially an input box so global settings may affects that as well). For example, some global paddings / margins, e.g.
<style type="text/css">
input
{
padding ...
margin ...
}
</style>
Also, as Vince suggested, can you see if some parent containers are relative/contain paddings/margins that may affect that?
Also, you may try using the latest hotfix - this could be an issue that is already addressed in a hotfix.
Last but not least, you may report this problem directly to Developer Support as this could be something that we could not be able to addressin public forums - Developer Support can be reached here
http://es.infragistics.com/Support/default.aspx
I am using 2007 V1 (2.0) of the WebGrid and I when I edit a cell, the edit control displays at the upper ledt of the cell which looks strange. Here is what I am seeing. I turned the border on for edit so it displays clearly what I am getting.
Is there a way to adjust the edit control position to the center of the cell?
That's the doctype I was expecting to see - the default one used by Visual Studio 2005 and Visual Studio 2008. This is what we primarily code for, so this suggests to me that the doctype isn't likely influencing this issue. I'd thoguht you may have been using a different one, which is why I ask.
What kinds of HTML container controls is the grid placed in? This includes DIVs, TABLEs, and so forth. Just as importantly, how are each of these containers positioned - flow layout, relative, absolute, and so on? If this layout is sufficiently complicated, then the mispositioning of the input box might be expected, so our next step woudl be trying to identify a workaround in this situation - but let's cross that bridge when we get there.
XHTML 1.0 Transitional
Thanks for the follow-up.
Now that you mention IE7: What's the DOCTYPE declaration on your ASPX page? I wonder if that may be impacting the resutls.