Hi, try the columns property of the textbox. Regards, RK Karen Kungowski <[EMAIL PROTECTED]> wrote: I am trying to make one of my textboxes in an Editable Datagrid the size of the data in the column. The 2 textboxes are too short for the data that I want to edit when I press the "Edit" button. txtDanceStyleWebPage.Width= 300px or txtDanceStyleWebPage.Width = Unit.Pixel(300) doesn't work and the textboxes are built at run time so I don't have a properties sheet to play with. Any ideas how I would do this after I instantiate the textboxes below?
Dim txtDanceStyle As TextBox=e.Item.Cells(1).Controls(0) Dim txtDanceStyleWebPage As TextBox=e.Item.Cells(2).Controls(0) __________________________________ Do you Yahoo!? Yahoo! Domains � Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer Yahoo! Groups Links --------------------------------- Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor ---------------------~--> Yahoo! Domains - Claim yours for only $14.70 http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM ---------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
