Click here to Skip to main content
15,899,679 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hey,

i want to create aspx pages dynamically, in my aplication if a user clicks a product then the subproducts must be displayed on that page according to that product and the page in which the subproducts will be displayed, must be created dynamically....

can any1 help???

Thanks.
Posted
Comments
Sandeep Mewara 15-Jul-10 5:50am    
I believe you want to create controls in a page dynamically and not the 'aspx' page itself!
Simon Dufour 15-Jul-10 12:15pm    
Do you mean without reloading? That'd mean you'd need AJAX in your page. You should make your question clearer.

1 solution

As Sandeep pointed out, what you probably want is to generate records (possibly from a database) based on a user option. You can use a DataGrid or any other databinding option in ASP.NET that allows you to display multiple records at a time, or you can just print out your own raw HTML. Just handle the OnClick event of the product's 'Details' link (or whatever it's called) to databind the subproducts subproducts control to the subprobucts of that particular product.
Also you have to realize that what you're asking is extremely vague, try being more helpful in your questions (and titles, btw) so that we can help.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900