Browse by Tags

Related Posts

  • Data Bound User Control Losing Properties After PostBack

    I have created a user control with a public integer property which is required for the control to work correctly. I have tested the control and demonstrated that everything works fine when I add it to a page and set the public property as an attribute. However, when I placed the control in a GridView...
    Posted to Web Forms (Forum) by Lakario on 05-13-2009, 12:00 AM
    Filed under: properties, Repeater, user control, DataBinding, Eval Function, gridview
  • GridView RowDataBound event not firing

    Hi, I have a peculiar problem, which I am unable to trace down. Any suggestions would be great. I have: 1. A master page that contains a drop down list in it. 2. A aspx page that uses the masterpage and has a gridview on it. 3. The gridview is within an updatepanel on the aspx page. 4. A object of a...
    Posted to Data Presentation Controls (Forum) by sirpingalot on 01-30-2009, 12:00 AM
    Filed under: updatepanel, databinding, GridView
  • DataKeys lost with Linq DataSource

    Hello, I've been struggling with this, and it's time to ask for help. I have a DataGrid with a couple of BoundFields and a couple of ButtonFields. In order to process a ButtonField, I need that DataKey (PartnerListingID) for that particular row. It worked fine until I switched to LinQ and bound...
    Posted to Data Access and ObjectDataSource Control (Forum) by urtlking2jo on 01-28-2009, 12:00 AM
    Filed under: databinding, datakey, Linq, Gridview
  • fastest methods of databinding (repeater, datalist, datagrid, listview, gridview )

    Hi, Im currently using a repeater in most of my web application because I started building it in asp 1.1 and because I don't need postback functionality, and primarily because I need to do things that render the fastest possible. Is it possible the newest version of the ASP:LISTVIEW is faster than...
    Posted to Data Presentation Controls (Forum) by mike123 on 08-26-2008, 12:00 AM
    Filed under: Repeater, speed, databinding, datagrid, datalist, listview, gridview
  • Paging MembershipUserCollection data in GridView Control

    This is somewhat related to my previous post at http://forums.asp.net/p/1290486/2491872.aspx#2491872 . If you use the MembershipProvider class' GetAllUsers method, it takes the pageIndex and pageSize as arguments, and returns the totalRecords as an output parameter. The method itself returns a MembershipUserCollection...
    Posted to Security (Forum) by desertfoxaz on 07-15-2008, 12:00 AM
    Filed under: paging, DataBinding, MembershipUserCollection, gridview, GetAllUsers method
  • Re: selecting checkbox within the gridview row...

    It doesn't appear from your code snippit that you are setting the Checked property of CK1. Assuming that it is a BIT type in your Database, you can use: < asp : GridView ID ="GridView1" runat ="server" AutoGenerateColumns ="False" DataKeyNames ="empno">...
    Posted to Data Presentation Controls (Forum) by jimdvorak on 05-31-2008, 12:00 AM
    Filed under: databinding, GridView
  • Implement ListChangedEventHandler IBindingList.ListChanged

    Hi.. I have class that implement IBindingList Interface, and i am getting the following error: 'RMWebDataView' does not implement interface member 'System.ComponentModel.IBindingList.ListChanged'. 'RMWebDataView.ListChanged' cannot implement 'System.ComponentModel.IBindingList...
    Posted to Custom Server Controls (Forum) by may215 on 03-31-2008, 12:00 AM
    Filed under: c#, custom server control, databinding, databoundcontrol, DataView, GridView, web custom control, asp.net 2.0, custom controls, data binding, Data Bound Control
  • Re: Deleting from multiple tables

    Hi Diane, Have you set the ' DataKeyNames ' property of your FormView? It should be set to 'MemberID' (or whatever the database field name is that stores this value for each record). Check these for more info on DataKeys: http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.datakey.aspx...
    Posted to Data Presentation Controls (Forum) by djh on 04-23-2007, 12:00 AM
    Filed under: databinding, FormView, GridView, datakeynames . updatecommand does not work (must declare variable @...)
  • How can I remove columns from a GridView whose datasource is a webservice

    I have a webservice that takes some inputs and returns all the columns in a particular table. I would like to be able to choose which fields to be displayed and modify their corresponding headings. How can I accomplisht this in ASP.net 2.0 using c#. Thanks.
    Posted to Getting Started (Forum) by dchauhan on 03-19-2007, 12:00 AM
    Filed under: web service, databinding, gridview
  • setting label to visible with button click

    Hi, I'm having some problems with using a label to display a message "No Records Found" when the user clicks a Search button. What I want it to do is to check if there are any results from a database that get displayed on a GridView. I have the following method so far: ------------------------------...
    Posted to Data Presentation Controls (Forum) by tomosap on 02-27-2007, 12:00 AM
    Filed under: paging, postback, records, rows, table adapter, textbox, VB, Visible, access database, ADO.NET, asp.net 2.0, asp.net 2.0 GridView databound ItemTemplate, Client, codebehind, data, data access layer, database, databind, databinding, DropDownList, If Statement, GridView, label
Page 1 of 2 (19 items) 1 2 Next >