Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
670
InitializeDataSource when WebGrid in FormView
posted
Anyone know how to set the initializedatasource event when the gridview is embedded on a formview template? I cannot seem to set the handles portion and I get the following code error: 

UltraWebGrid_InitializeDataSource(ByVal sender As Object, ByVal e As Infragistics.WebUI.UltraWebGrid.UltraGridEventArgs) Handles UltraWebGrid.InitializeDataSource

Error 1 Handles clause requires a WithEvents variable defined in the containing type or one of its base types. 

 More details: Using XML features, binding to a sqldatasource( procedure works fine outside of formview, so I just need to know how to set up the WithEvents stuff when UltraWebGrid is embedded within a template like FormView).