Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. RenderContents - Adding items after rendering...

RenderContents - Adding items after rendering...

Scheduled Pinned Locked Moved ASP.NET
questioncsharpjavacssasp-net
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kasic Slobodan
    wrote on last edited by
    #1

    First of all, I want to apologize for stupid title. Don't have any idea how to form it well. Second, I have to work on custom data grid for project. Stored procedure sometimes return one table, and sometime more then one. I've started the project, but I faced the problem on the beginning. I want to be able to add items to that grid like you can add items to ListView in windows forms which will give me more control. (Without Java Script, only ASP.NET) On RenderContents I have a code that render table header and footer so that table can be displayed in DesignMode (WebControl). I've also created a void that takes one argument. String (which is the actual data to be added) and then generate tr's and td's and save them in some variable. That variable is appended in RenderContents void (between header and footer part), but when I run it, table gets rendered, but the generated data is rendered outside the table. The question is, can I achieve this kind of functionality and how?

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups