Hi,
In my application, I am using Tabcontainer with dynamic tab panels. I put User Control inside the tab panel dynamically. My User Control contains One GridView and few Buttons with hover menu extender.
When I created User Control in code behind I Bind Data to GridView. When I bind Data to GridView functionality of ajax fail in all panel except first panel. HoverMenuExtender fail to display hover menu. When I comment Bind Method of GridView Everything is Working fine. What is relation between Ajax and GridView's Data Bind in User Control.
Any help appreciated....
Regards,
VIkram

Amit ChoudharyRank #145 · 15.8K reputationPosted Jul 19, 2010, 4:02 AM EDT
ya thats true.. the ajax and gridview are like cat and dog always create issues.. try using repeater control instead gridview...
hope this solves your problem
VikramRank #9,295 · 208 reputationPosted Jul 19, 2010, 4:21 AM EDT
Actualy I have to use GridView only. But when I use GridView and Static SqlDataSource its working fine but when I assign Data Source from code behind, Ajax fails.
Regards,
Vikram
VikramRank #9,295 · 208 reputationPosted Jul 21, 2010, 5:13 AM EDT
I resolved this issue by taking SqlDataSource and Attaching it to the Gridview's DataSource. Now Everything is working fine.
Regards,
Vikram