Solved

asp.net Edit Template looks sloppy - way to big

Posted on 2011-02-14
2
334 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Suggested Solutions

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…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
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…

830 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