Browse by Tags

Related Posts

  • Solution: Get total rows from Paged ObjectDataSource

    Like many, I have been trying to get the total records returned from a GridView, with paging, with an ObjectDataSource. After reading forum post after forum post, in many forums, and getting nowhere, I ended up building a Reflection-based solution. It's a far more convoluted approach than I like...
    Posted to Data Access and ObjectDataSource Control (Forum) by JMitchem on 06-10-2009, 12:00 AM
    Filed under: object database, objectdatasource, ObjectDataSource "rows returned", ObjectDatasource GridView Business object, gridview pagination filter, gridview paging, Gridview
  • GridView, ODS - Remove SelectedIndex before Bind?

    Hi, I have a GridView populated from an ObjectDataSource with 2 ControlParameters (TextBox & ListBox). The GV has a ButtonField with a CommandName of Select. If the GV has 2 results and I select row 2, followed by clicking a button outside GV to re-populate GV, if only 1 result it shown and because...
    Posted to Data Presentation Controls (Forum) by Jodda on 11-20-2008, 12:00 AM
    Filed under: ObjectDataSource, SelECTedIndex, index was out of range, GridView
  • GridView Paging, problems.

    Hello folks, I have a grid view where I've allowed Paging, and I need to implement a server paging. 1. I wrote the mark-up code 1 < Step:GridView ID= "GridView_Products" runat= "server" AutoGenerateColumns= "False" EnableViewState= "false" 2 ShowFooter=...
    Posted to Data Presentation Controls (Forum) by MasterMoez on 10-22-2008, 12:00 AM
    Filed under: ObjectDataSource, paging, ASP.Net 3.5, GridView, Server Paging
  • Editing Data in a GridView bound to an objectdatasource

    Hi all I am trying to edit data inside a GridView bound to an objectdatasource. When I click update, nothing happens and no data is changed. The objectdatasource is linked to an update method in DAL classwhich requires two parameters. In the updating event of the objectdatasource , I am passing the correct...
    Posted to Data Presentation Controls (Forum) by yoswel on 09-04-2008, 12:00 AM
    Filed under: ObjectDataSource, UPDATE, Delete, GridView
  • GridView Paging issue

    Hi, I am using a GridView for populating my data from the SQL server. WHEN I enalble the gridview property ==> AllowPaging = true Its gives me a run time error on the DataBind(); The error is ==> The data source does not support server-side data paging. How to resolve this issue ?? Could you please...
    Posted to Data Presentation Controls (Forum) by 27_Rick on 06-17-2008, 12:00 AM
    Filed under: ObjectbjectDataSource, ObjectbjectDataSource Update, ObjectDataSource, Grdiview paging template, grid view paging, Grididview Paging issues, Gridview custom paging, GridView page index changing, gridview pagecount, gridview paging OnPageIndexChanging, GridView paging pageindex, gridview paging select selecting allow persist, Gridview paging SelectedRow SelectedIndexChanged page reference, gridview paging virtualitemcount, Gridview dataBinding, GridView DataBinding DataTable ObjectDataSource, GridView DataBinding Template Field, gridView datalist repeater, GridView DataRelations, Gridview DataTable, grid view form view pager, gridvew paging, GridView, objectdataSource Binding dataset gridview, GridView Paging, GridView Paging DataTable, GridView Paging Different Records
  • ObjectDatasource selected is called twice when I set column visibility

    I have an issue with the ObjectDatasource being called twice. I have narrowed it down to the rowDatabound where I call the SetPrivOnGridView. Basically I need to show and hide columns based on the user priviliges when I comment the code out the objectDatasource is only called one time as soon as I put...
    Posted to Data Presentation Controls (Forum) by spafa9 on 04-17-2008, 12:00 AM
    Filed under: ObjectDataSource, gridview
  • Gridview to datatable class issue

    I've the following class linked to an objectdatasource bound to a gridview: <DataObject()> _ Public Class AppAccessData Private Shared data As DataTable Shared Sub New() data = New DataTable data.Columns.Add("ID", GetType(System.Int32)) data.Columns.Add("HostName", GetType...
    Posted to Data Presentation Controls (Forum) by watxu on 03-15-2008, 12:00 AM
    Filed under: ObjectDataSource, GridView
  • Using 2 objects for 1 ObjectDataSource (Factory & Repository)

    Perhaps somebody can help me with a problem I am currently having. I will try and give some background to describe my problem. Currently I have the following situation: - Using Nhibernate behind the screens and DDD. - Factory classes exist to create new Enities - Repository classes to select, update...
    Posted to Data Access and ObjectDataSource Control (Forum) by Asgorath on 03-06-2008, 12:00 AM
    Filed under: NHibernate, objectdatasource, DataSource, ddd, factory, Gridview, repository
  • GridViews, ObjectDatasource and interfaces

    Hi, I'm using object datasources to create a number of standard views of data . I connect these to gridviews for viewing, updating deleting etc. (this works well) However I would like to derive my object datasource using a factory pattern EG IDataObjectInterface dataobjectinterface = DataobjectFactory...
    Posted to Data Access and ObjectDataSource Control (Forum) by simon1127 on 02-18-2008, 12:00 AM
    Filed under: ObjectDataSource, Factory Pattern, gridview
  • Relations: parent row of DataRow is always Nothing

    hello, it seems that a parent row of a DataRow never gets fetched (=>is always Nothing). i've created two DataTables: - Employees(Id, Firstname, Lastname, DepartmentId) - Departments(Id, Name) and the following Relation: - EmpDeptRel which indicates that 1 department can have N employees and 1...
    Posted to Data Access and ObjectDataSource Control (Forum) by matthias.gloessl@joyn-it.at on 02-12-2008, 12:00 AM
    Filed under: nothing, objectdatasource, parent row, relation, ADO.NET, binding, Data Access, DataRow, DataTable, getparentrow, Gridview
Page 1 of 4 (37 items) 1 2 3 4 Next >