473,670 Members | 2,636 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to call update pane refreshing by list view row click

3 New Member
Hi!
I have ListView with such markup:

Expand|Select|Wrap|Line Numbers
  1.  
  2. <asp:UpdatePanel ID="updateMyDocs" UpdateMode = "Always" runat="server">
  3.         <ContentTemplate>
  4. <asp:ListView ID="dataViewFiles" ItemPlaceholderID="itemPlaceholder" runat="server"
  5.                                                DataKeyNames="Id" OnItemDataBound="dataViewFiles_ItemDataBound" OnSelectedIndexChanging="dataViewFiles_SelectedIndexChanging">
  6.                                             <LayoutTemplate>
  7.                                                 <table style="" cellpadding="8" cellspacing="0">
  8.                                                     <tr>
  9.                                                         <%--<th class="FileTableHeader">
  10.                                                         </th>--%>
  11.                                                         <%--<th class="FileTableHeader">
  12.                                                             Id
  13.                                                         </th>--%>
  14.                                                         <th class="FileTableHeader">
  15.                                                             Name
  16.                                                         </th>
  17.                                                         <th class="FileTableHeader">
  18.                                                             Date
  19.                                                         </th>
  20.                                                         <th class="FileTableHeader">
  21.                                                             Type
  22.                                                         </th>
  23.                                                     </tr>
  24.                                                     <tr id="itemPlaceholder" runat="server">
  25.                                                     </tr>
  26.                                                 </table>
  27.                                             </LayoutTemplate>
  28.                                                 <ItemTemplate>
  29.                                                     <tr id="listViewRow"      class="FileTableRow" runat="server">
  30.  
  31.  
How can i call Update pane refreshing by click on table row with id = "listViewRo w"?
Apr 19 '12 #1
0 1225

Sign in to post your reply or Sign up for a free account.

Similar topics

5
2283
by: Praveen R | last post by:
Hi ! I am using a List view control to populate data onto. On the click event of the list view control, i need to find out whether the area clicked has any information of has no information. I basically need to either decide to add a new record or edit the existing record depending on whether data is available or not on the row where the mouse click was performed.
11
2157
by: Brian Henry | last post by:
Well here is the problem, I have a data set with about 9,000 to 20,000 people in it in the data table "people"... I am then reading it into a list view one at a time row by row... adding each person to the list view, well this works fine up to about 1,000 people then it start's to get really show putting the people in (a lot of process time used up)... does anyone know of any optimizations i could do to make this processess work a lot...
0
1379
by: Brian Henry | last post by:
I am trying to do a owner drawn list view in detail mode, when i inherited the list view into a new custom control then turned on double buffering all the sudden the selection rectangle is the alpha channel transparent one that windows xp's shell uses... is there any way to just keep the standard dotted rectangle one? because performance is slow when the transparent rectangle region is enabled with double buffering... but i cant find a way...
0
3232
by: Brian Henry | last post by:
Here is another virtual mode example for the .NET 2.0 framework while working with the list view. Since you can not access the items collection of the list view you need to do sorting another way... here is my code on how I did it to help anyone starting out get an idea of how to use virtual mode in ..NET 2.0 Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared
3
2497
by: ±è¿ë°Ç | last post by:
i used a list view component to a form and i would like to do some thing when i click right mouse on the list view's column header but the mouse down event was not occured while i click list view's header how can i catch this event ?
3
3527
by: Brian Henry | last post by:
So what is the easiest way to do this? I have one list view with a list of items (in detail view and with about 20 sub items) and a second list view that will take the items they drag from the first one to the second one. I tried this once a few years ago by trying to clone the list view item so i didnt have to recreate it, but ran into the problem of the item already had a parent... i dont want to remove the items from the first list when...
0
1137
by: Smokey Grindle | last post by:
Say I do the following in a virtual list box ctrl click one row then ctrl click another row... ok the VirtualItemsSelectionRangeChanged event fires with start index of 2 and end index of 10... now I control click 3 items of that list off... how in the world do I know whats selected and how do I tell? better yet... whats the best way to determin what is selected in a virtual mode list view?
2
1525
by: Miesha.James | last post by:
Hi, I have a list view that will be update dynamically when new information is received. I parse through the information and call the update function to clear the current items that are in the list and print out the new data. My problem is that I dont see a function that will only clear out the items and subitems and not the columns. Does anyone know of a function that does that? Thanks.
4
1238
by: AjGrace | last post by:
Guys.. I know that this is so easy but I can't figure it out why List View Display an False text instead of the Data in my Database my Code is this Private Sub Form_Load() ListView2.ListItems.Clear Call OpenConn Call OpenRs rs.Source = "Select * from Employee"
1
10209
by: Jeff | last post by:
I have a list view with items. An item is clicked and I have a form to change this data. How can I update the listview row in the list view control.
0
8468
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8386
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8591
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8660
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7415
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6213
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4209
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2799
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2041
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.