Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am creating a table inside it i create three textbox which have different id through looping but when i accessing value of any textbox it generate exception that is object null reference. when i check through break point the textbox's object is null. Once thing that table is add in side placeholder.
Posted
Updated 10-Jan-13 21:06pm
v2
Comments
Nandakishore G N 11-Jan-13 5:10am    
post the code....what you have done till now..?
Dharmendra-18 11-Jan-13 23:38pm    
i have solved through google search engine help. thanks
Nandakishore G N 12-Jan-13 0:06am    
then change status as solved...and post the answer such that others will be benefited.

 
Share this answer
 
Comments
Dharmendra-18 11-Jan-13 3:05am    
I am not using gridview simply attach runtime textbox.
Suvabrata Roy 11-Jan-13 3:31am    
Please provide some sample code
Dharmendra-18 11-Jan-13 23:38pm    
i have solved through google search engine help. thanks
Suvabrata Roy 14-Jan-13 0:04am    
Good... :)
if you want to access runtime declare click event or any property it should be created on page init event because it fire before page load event so it is accessible anywhere on the page and find this control through object sender(variable)..
 
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