Browse by Tags

Related Posts

  • DataPager startRowIndex won't update correctly.

    I am paging my ListView with DataPager. If I call SetPageProperties() in my Page_Load(), that will take me to certain page. But after that, even if I change my page by clicking previous/next page. The startRowIndex in get inside my ItemCommand() will stay as the one I pass into SetPageProperties(). I...
    Posted to Data Presentation Controls (Forum) by maxi_ng on 06-16-2009, 12:00 AM
    Filed under: ListView, DataPager, startrowindex
  • Re: Bug with ListView?

    Have got the same problem. ObjectDataSource with paging enabled + ListView and DataPager set to use QueryString. When I click to page 2,3,4,etc. I get the datasource is called twice. Example: ......./myPage.aspx?page=2 And the query parameters are different: 1st call: startRowIndex = 0; maximumRows ...
    Posted to ASP.NET Dynamic Data (Forum) by Dimonina on 06-13-2009, 12:00 AM
    Filed under: ListViewPager, ListView, Bug, DataPager
  • Web.sitemap with DataList, Repeater or ListView controls?

    Hello, Has anyone successfully bound the Web.sitemap file as a datasource with the DataList, Repeater or ListView controls in order to display their sitemap? If so, would you mind pointing me to an example of how you did it, and/or provide example code here? I'm currently using a TreeView, but I...
    Posted to Data Presentation Controls (Forum) by IronWill on 06-10-2009, 12:00 AM
    Filed under: Repeater, css, Datalist, ListView, web.sitemap
  • user control in listview template + repeater

    Hello, I wonder if someone here can help me. I'm using a listview along with a datapager control. The listview is databound to an ods that contains a set of questions to be answered. In the onitemdatabound event of the listview I load a user control into a placeholder (in the itemtemplate) , based...
    Posted to Data Presentation Controls (Forum) by sgr3 on 06-05-2009, 12:00 AM
    Filed under: persist values, user control, DataPager, ListView
  • listview for each update

    I know how to do a for each update to update all the rows in a gridview How can I do this with a listview? I want to put a button outside of the listview then do a button click that will insert/update all of the records in the listview and not just the row that is edited or selected. For a gridview I...
    Posted to Data Presentation Controls (Forum) by gtjr921 on 06-02-2009, 12:00 AM
    Filed under: multiple, update, ASP.NET, insert, listview
  • I have an aproblem with datapager

    when i click next on the pager in the run time it not work.I must click it twice to work !!! --- <asp:ListView ID="ListView1" runat="server" GroupItemCount="4" OnPagePropertiesChanging="ListView1_PagePropertiesChanging"> <LayoutTemplate> <table id...
    Posted to Data Presentation Controls (Forum) by aiam on 05-27-2009, 12:00 AM
    Filed under: ListView
  • Can't find Container.DataItem in asp:ListView

    Visual Studio 2008/ASP.NET/C#/SQL Server 2005 I'm having some problems access the data in a asp:ListView in the <ItemTeplate> block. Here is what I am doing in the asp:FormView that works great: <%string myString = DataBinder.Eval(FormView1.DataItem, "test_num").ToString();%>...
    Posted to Data Presentation Controls (Forum) by duckpower on 05-26-2009, 12:00 AM
    Filed under: "Asp.net 3.5", <C#>, ListView
  • ListView Dropdown problem

    Hi, ASP.Net 3.5 had some problem with Listview control's Dropdown binding. This was only for the insert dataitem. For editing data this works perfectly because of the Selectvalue='<%# Bind("Value")%>' In ASP.Net 4.0 There is a DataMember attribute for DropDown. I thinkkk this...
    Posted to ASP.NET 4 Beta 1 (Forum) by MisterFantastic on 05-25-2009, 12:00 AM
    Filed under: Dropdownlist problem inserting, Listview
  • Display files from a folder AND its subfolders with a Listview

    Hi, I have a web page that display excel files from a folder called "/files", using a search textbox; protected void btnSearch_Click( object sender, EventArgs e) { if (txtSearch.Text != "" ) { DirectoryInfo dirInfo = new DirectoryInfo(Server.MapPath( "files" )); lvwFiles...
    Posted to Data Presentation Controls (Forum) by wreck_of_u on 05-15-2009, 12:00 AM
    Filed under: GetFiles, ListView
  • Checkbox usage in Listview to delete selected item

    I'm thinking about switching back to using the Gridview control to accomplish the ability to select a checkbox and then being able to delete the selection in a for each loop, since I am unable to solve it using a listview. First of all I keep getting cb.checked = false when It should be true, since...
    Posted to Data Presentation Controls (Forum) by SuperRom on 05-12-2009, 12:00 AM
    Filed under: checkbox control, delete, listview
Page 1 of 17 (163 items) 1 2 3 4 5 Next > ... Last »