WebContentForms Creation

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Sep 2009
Posts: 9
Reputation: cavpollo is an unknown quantity at this point 
Solved Threads: 0
cavpollo cavpollo is offline Offline
Newbie Poster

WebContentForms Creation

 
0
  #1
Sep 29th, 2009
Hi there,
I got an empty Web content form that contains the content of a master page. When oen fo the buttons on the form is pressed im required to create a new window to show the result. How can I create that new window without actually having to add a new WebContentForm on the solution Explorer (and by that I mean what code should I type in order for me to create a form and make it visible to the user. Dynamically)?

(is there any solution like when you dynamically create a new button? like for example:
  1. button name = new button (); Controls.add(name):
)
Last edited by cavpollo; Sep 29th, 2009 at 6:39 pm.
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 432
Reputation: Ramesh S will become famous soon enough Ramesh S will become famous soon enough 
Solved Threads: 82
Ramesh S Ramesh S is offline Offline
Posting Pro in Training

Re: WebContentForms Creation

 
0
  #2
Sep 30th, 2009
Basically an aspx page will have controls like buttons and textboxes associated with them. Also the page will have a class file associated with it to handle the events related to the page.

If you want to create an aspx page dynamically, you cannot maintain the page alignment, controls and events related to the page. And also you cannot create an instance of a web page and dispaly it just like button control.

Although somewhat you can manage to create an aspx page dymaically using StreamWriter classes but it is not adviceable.
Reply With Quote Quick reply to this message  
Reply

Tags
content, dynamically, forms, web

Message:



Similar Threads
Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC