Hi,I’m a student and work on a university project in Germany. I told asp2.0 & ajax by myself but quit successful.
But in the last two days I have a strange formatig problem with the NumericUpDownExtender. I watched joes video tutorial and made my first tries with this control. It works but I have a formatting problem of witch I never get rid.
My idea is, that there is a problem with my css. In Joes example, he used an css with a body
class:body { Font-family: Tahoma, Arial Font-size:75% }
Here is my asp code of an gridview textboxelement with NumericUpDownExtender <asp:TemplateField HeaderText="Darstellung Einzelteile" SortExpression="DarstellungEinzelteile"> <ItemTemplate> <cc1:NumericUpDownExtender ID="NumericUpDownExtender1" runat="server" TargetControlID="DarstellungEinzelteile" Width="60" Minimum="0"> </cc1:NumericUpDownExtender> <asp:TextBox ID="DarstellungEinzelteile" runat="server" Text='<%# Bind("DarstellungEinzelteile") %>' Width="60px" CssClass="body"></asp:TextBox> </ItemTemplate> </asp:TemplateField>
Here is a image that shows my formating problem. as u can see. the NumericStepper isnt in the right position. if i choose more rows from the
drop down filters it looks realy bad.
loup
0 Points
1 Post
formating problem with NumericUpDownExtender
Nov 13, 2007 08:59 AM|LINK
{
Font-family: Tahoma, Arial
Font-size:75%
}
Here is my asp code of an gridview textboxelement with NumericUpDownExtender
<asp:TemplateField HeaderText="Darstellung Einzelteile" SortExpression="DarstellungEinzelteile">
<ItemTemplate>
<cc1:NumericUpDownExtender ID="NumericUpDownExtender1" runat="server" TargetControlID="DarstellungEinzelteile" Width="60" Minimum="0">
</cc1:NumericUpDownExtender>
<asp:TextBox ID="DarstellungEinzelteile" runat="server" Text='<%# Bind("DarstellungEinzelteile") %>' Width="60px" CssClass="body"></asp:TextBox>
</ItemTemplate>
</asp:TemplateField>
Here is a image that shows my formating problem. as u can see. the NumericStepper isnt in the right position. if i choose more rows from the drop down filters it looks realy bad.
[URL=http://allyoucanupload.webshots.com/v/2004099985500139771][IMG]http://aycu19.webshots.com/image/34618/2004099985500139771_rs.jpg[/IMG][/URL]
If someone has an idea or so, please help me :D Thx !