473,545 Members | 2,605 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Texbox in DataGrid

I would like to increace the default width of the textbox
that appears in my datagrid when I click the Edit
button. The default width of the textbox that allows me
to edit the selected row is not sufficient. Does anyone
know how to facilitate this?

Thanks,
Jeff
Jul 19 '05 #1
1 1873
Right click the DataGrid in the designer.
Choose Edit Template
Select the column you are talking about
You should now see the textbox you wish to change
Click on the TB once to select it
The Properties window should now show the properties of the TB
Change the "Columns" property to the desired setting.
....OR....
Switch to HTML view for the aspx page.
Find the TB in the HTML
Add "SIZE=n" as an attribute to the <INPUT> tag
"Jeff" <je**@utilistar .com> wrote in message
news:00******** *************** *****@phx.gbl.. .
I would like to increace the default width of the textbox
that appears in my datagrid when I click the Edit
button. The default width of the textbox that allows me
to edit the selected row is not sufficient. Does anyone
know how to facilitate this?

Thanks,
Jeff

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
325
by: mjpiedade | last post by:
I just started with C#. How do I navigate on a dataset by changing the value of a textbox or other simple bound controls? Imagine that I have the customer name on a textbox and have a datagrid with the orders that will display the orders of the customer that the user enters on the textbox. With combobox or lisbox the binding is automatically...
1
1086
by: albertoalar | last post by:
I m trying to intercept a return in a texbox (Pocket pc ) when a barcode is writed. I need help thanks
1
4291
by: Rick | last post by:
Hello all, I hope all is well with you. I am having a seriously difficult time with this problem. Allow me to set up the problem. I have a System.Web.UI.Page with the following controls (watch the layout, some have child controls):
1
1617
by: Michael via .NET 247 | last post by:
I have a datagrid with the columns defined in the aspx <columns> <asp:TemplateColumn HeaderText="Hours" ItemStyle-Width="1%"ItemStyle-HorizontalAlign="Center"> <ItemTemplate> <asp:TextBox Columns="2" EnableViewState="False" ID="Hours"Runat="server"></asp:TextBox> </ItemTemplate> </asp:TemplateColumn> ... </columns>
1
283
by: Jeff | last post by:
I would like to increace the default width of the textbox that appears in my datagrid when I click the Edit button. The default width of the textbox that allows me to edit the selected row is not sufficient. Does anyone know how to facilitate this? Thanks, Jeff
9
1199
by: Marcel Saucier | last post by:
Hello, I want to create several texboxes on a form and I would like to refer to them (properties, etc) in a form of an array. Is that possible ? Example: Instead of TexBox1.text=Mytab(1):TextBox2.text=Mytab(2):TexBox3.text=Mytab(3)...
0
1473
by: Yog | last post by:
Hi, How to access the value of a Texbox column(Template field) in gridview and to update a column next to it in the Gridview...! Example:Let's say there are four columns Product,Cost,Quantity Required(Textbox type template field in Gridview) and Total...! Totla shud get updated by Cost*QuantityRequired as soon as the user focuses on...
3
1267
by: menakavenkatesh | last post by:
i want simple coding for changing fontsize of the texbox
4
3004
by: Ken Fine | last post by:
I'm making an administrative interface that lists records in a GridView. For *each* row in the gridview, I would there to be two interface elements in addition to some information associated with the record. Those interface elements are a Button and a TextBox. The idea is that the administrator using the interface will fill in an e-mail...
0
7496
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7428
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7941
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6014
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5354
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3485
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3467
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1916
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
738
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.