Click here to Skip to main content
15,889,909 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in page load i add some html controls(put runat="server" attribute too) in a string builder and assign this string builder to a div from code behind..

now next time in a asp.net button click method i want to add more html controls in the above created one 'div' html control.so i try to find the div by id(which i assigned in page load as i said) by FindControl method so that i can add more controls in its innerhtml but cant find....plz help. how can i find dynamically created html div control(in page load) in button click method ?
Posted

1 solution

Start here[^].
 
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