Solved

asp.net Edit Template looks sloppy - way to big

Posted on 2011-02-14
2
331 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
ID: 34904390
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
ID: 34915320
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

919 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

14 Experts available now in Live!

Get 1:1 Help Now