Click here to Skip to main content
15,904,497 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hello friends,
I was asked in interview
If gridview has child control say textbox, which control is loaded first and why?

I felt textbox, just because each row of gridview has textbox and they are loaded during rowdatabound operation. After each rowdatabound operation then entire grid is ready.

I don't know about the fact, I looked out for some solution but did not find appropiate solution for it so thought to ask over here.

May I know was this correct solution or there is something different logic??

Thanks
Posted

1 solution

Gridview is first load then it's child control will load.

if Gridview is not load then how we will get it's event and even we are not able to get the child control.
 
Share this answer
 
Comments
dhage.prashant01 26-Dec-11 4:02am    
is it gridview completly loaded before its child control?
Nigam Patel 29-Dec-11 4:28am    
yes

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