objectdatasource

How do I reference the databound control from an ObjectDataSource event?

How do I reference the databound control from an ObjectDataSource event?
Take for example aDetailsViewcontrol with anObjectDataSourceas its datasource.Normally in theDetailsView.ItemUpdatedevent I would grab a reference to the details view by casting thesender:DetailsView dv = (DetailsView)sender;In certain situations it

How do I connect an ObjectDataSource, a ListView and a DataPager?

How do I connect an ObjectDataSource, a ListView and a DataPager?
When I try to connect together an ObjectDataSource, a ListView and a DataPager, the correct values are not passed to the select method of the ObjectDataSource. -1 is always passed formaximumRowsand 0 is passed forstartRowIndex.<asp:DataPager runat=&quo

Using a list in my ObjectDataSource on my report for the DataSource of a Telerik Chart in report

Using a list in my ObjectDataSource on my report for the DataSource of a Telerik Chart in report
Hey there I'm trying to use a list (Loans) within my ObjectDataSource (objectDataSource1) object on a report, as the DataSource for my Telerik chart on the same report. The majority of the tutorials I have looked at all show the report querying their

Error: The ObjectContext instance has been disposed and can no longer be used for operations that require a connection

Error: The ObjectContext instance has been disposed and can no longer be used for operations that require a connection
I use asp.net and EF 4 in C#.I have a DetailsView with associated aObjectDataSource.<asp:ObjectDataSource ID="uxEntityDataSourceAuthors" runat="server" SelectMethod="GetAuthors" TypeName="WebProject.Web.Cms.AdminCms.S
What Others Are Reading