Solved

asp.net Edit Template looks sloppy - way to big

Posted on 2011-02-14
2
327 Views
Last Modified: 2012-05-11
I have a .net grid with edit link enabled.  It works fine, but when in edit mode, the text boxes are way too big and span the records out well pass my initial grid boundaries, which makes it hard to edit.  Is there a way to set the edit field sizes?  

Thanks, I can provide screenshots if needed.
0
Comment
Question by:JT_SIRO
2 Comments
 
LVL 52

Assisted Solution

by:Carl Tawn
Carl Tawn earned 62 total points
Comment Utility
A screen shot would be helpful :)

But without seeing one, you should be able to use the "ControlStyle-Width" property of the BoundField to restrict the width, or inline width attributes if you are using a template field. If you are using "AutoGenerateColumns" rather than defining the columns yourself, then i don't think you will have the same level of control.
0
 
LVL 21

Accepted Solution

by:
MogalManic earned 63 total points
Comment Utility
Screen shots and sample code would be helpful.

If you are using a template field, you can control exactly how the fields are rendered.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now