Donate

Remove Extra Spacing In Between NumericUpDownExtender Default Buttons (ASP.NET Ajax)

When integrating NumericUpDown Extender to your asp.net apps, there's a wide gap in between the up/down buttons as shown below:
Remove Extra Space In Between NumericUpDownExtender Default Buttons
The trick to remove the extra space in between NumericUpDownExtender Default Buttons is to replace the doctype declaration in master page from:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
to:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  

Remove Extra Space In Between NumericUpDownExtender Default Buttons
Note: This DTD contains all HTML elements and attributes, INCLUDING presentational and deprecated elements (like font) as described in w3. So, I believe there are presentational elements or deprecated elements incorporated into this extender.
Reference: StackOverflow

Cheers!

Comments

Post a Comment

Donate

Popular Posts From This Blog

WPF CRUD Application Using DataGrid, MVVM Pattern, Entity Framework, And C#.NET

How To Insert Or Add Emojis In Microsoft Teams Status Message

TypeScript Error Or Bug: The term 'tsc' is not recognized as the name of a cmdlet, function, script file, or operable program.