Solved

asp.net Edit Template looks sloppy - way to big

Posted on 2011-02-14
2
335 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

734 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