Click here to Skip to main content
15,918,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
there r many story name name image button for story after click on that it will go to the appropriate page of that story page story page having html page and is selected from some folder and want to set on aspx page dynamically.... how can i do that....give me suggestion and code for that
Posted
Updated 26-Feb-14 18:17pm
v2

 
Share this answer
 
Comments
thatraja 27-Feb-14 8:01am    
5!
JoCodes 27-Feb-14 9:18am    
Thanks
Take a 5 from me for referring my Tip in your answer.

Thanks a lot JoCodes. :)
JoCodes 28-Feb-14 7:05am    
very thankful for your 5 :)
Welcome. :)
What do you mean by add html page?

If you wish to redirect to an html page on button click, then just use Response.Redirect() to redirect to the html page.


If you wish to dynamically add html elements to an aspx page, use a PlaceHolder control and set the dynamically generated html markup to the PlaceHolder.InnerHtml property.
 
Share this answer
 
v2
Comments
thatraja 27-Feb-14 8:01am    
5!

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