Results 1 to 3 of 3

Thread: [RESOLVED] Add textbox dynamically into html table tag

Threaded View

  1. #1

    Thread Starter
    Addicted Member scsfdev's Avatar
    Join Date
    Feb 2008
    Location
    Singapore
    Posts
    224

    Resolved [RESOLVED] Add textbox dynamically into html table tag

    Hi,

    can I know how can I add a textbox into HTML table at code behind?
    Currently, I tried to add one. but instead of textbox, it shows up a gray box in that cells. (can't edit or enter any value) it appear a gray box like a label.

    anyone have any idea?
    thanks.

    P.S: how I add textbox into table is like:

    Code:
    Dim txtBox As String = "<asp:TextBox style=""Z-INDEX: 0"" id=""TextBox3"" runat=""server""></asp:TextBox>"
    
    Dim dCol As String = "<TD class=""NormalTxt"" style="............"> txtBox </TD>"
    Last edited by scsfdev; May 14th, 2009 at 10:36 PM. Reason: Add Sample Coding
    I'm using VS 2005 & 2008 & 2010 with SQL Server 2005 Express.

    My hobby beside programming: http://dslrstranger.wordpress.com

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width