3 Replies - 2285 Views - Last Post: 17 July 2013 - 09:21 PM Rate Topic: -----

#1 kyle_denney  Icon User is offline

  • D.I.C Head

Reputation: -1
  • View blog
  • Posts: 136
  • Joined: 10-August 12

Dynamically Creating ASP.Net Pages

Posted 05 June 2013 - 08:47 AM

Hello!

I am trying to figure out if it is possible to create ASP.Net web pages dynamically. Here is my scenario: I am dynamically creating a huge amount of controls to track data entry that are split up into sections. These sections will play off one another in the sense that if I say I have 5 sections it will create subsections each with the same number of controls and options but divided into groups. This is for tracking the law so it needs to be diverse, dynamic and it obviously has alot of options as the law does. How might one handle something where you have a ton of controls on a page but you want to easily walk the user through the data entry process without confusing them? Our thoughts at this point are as you create the subsections it creates a dynamic webpage that has the subsection controls within it. Or do we need to look to alternative methods - We also thought about hiding the section information doing a display: none with the CSS for each section as you go through the data entry process hiding the controls you are no longer using. how is this possible using ASP.Net with VB? Thanks!

Is This A Good Question/Topic? 0
  • +

Replies To: Dynamically Creating ASP.Net Pages

#2 Nakor  Icon User is offline

  • Professional Lurker
  • member icon

Reputation: 444
  • View blog
  • Posts: 1,492
  • Joined: 28-April 09

Re: Dynamically Creating ASP.Net Pages

Posted 08 June 2013 - 04:07 PM

If you are adding the same set of controls to the page multiple times I would put those controls into a user control and then you could just add as many user controls to the page as you need.
Was This Post Helpful? 0
  • +
  • -

#3 trevster344  Icon User is offline

  • The Peasant
  • member icon

Reputation: 224
  • View blog
  • Posts: 1,505
  • Joined: 16-March 11

Re: Dynamically Creating ASP.Net Pages

Posted 09 June 2013 - 07:28 AM

Yes it is possible, but there are many ways to do it, and you will really just have to tinker with it. I have a tendency to make smaller projects a single page that simulates multiple pages with url rewriting, postbacks, and javascript. Usually I design the whole layout and place panels in sections that I consider to be place holders so to speak. For example the links on the left side will be updated every postback from the database so that all categories are available. So for every postback that particular sub routine is called and it adds the categories to the panel with their styling, etc. If it's data entry I don't usually want the postback to happen every single time a step is completed so I use javascript to validate the data, and simply change the visibility of container elements accordingly until all data is acquired and postback is necessary. Ajax calls are a big help in situations like this so if you haven't ever tinkered with it do look into Jquery for simplicity or the Ajax Toolkit.

This post has been edited by trevster344: 09 June 2013 - 07:32 AM

Was This Post Helpful? 0
  • +
  • -

#4 Annebrarf  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 17-July 13

Re: Dynamically Creating ASP.Net Pages

Posted 17 July 2013 - 09:21 PM

0117
<a href=http://liliatravel.com><b>authentic louis vuitton bags</b></a> It's from her future September release on the tentativelytitled CD, A Calendar year Devoid of Rain...
<a href=http://www.vnpeoples.org><b>louis vuitton handbags sale</b></a> Comprehending the market's requirements we have now now been examining and setting up merchandise im .
<a href=http://www.kbctheride.com><b>discount louis vuitton bags</b></a> After the break, Nicki Minaj states she believed Cortez did a weak task and she assumed it was disgusting.
<a href=http://everybarindc.com><b>louis vuitton outlet stores</b></a> By this time media may have modified significantly in addition to the influence in the MSM will likely to be weakened noticeably.
<a href=http://www.allafricaexpeditions.com/terms.html><b>louis vuitton outlet store</b></a> If it is your birthday and you can establish it by using a picture ID you will get 50% off.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1