473,769 Members | 5,871 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DataPager & ListView

2 New Member
I am using DataPager in ListView. I put ListView In Infragistics Asynchronous Refresh Panel & Datapager in Update Panel.

I have a button in Listview control(Run by client Script). When i click the button data pager shows twice in listview.

Also data pager number when i click second time thatz run?

Please Help...
Apr 22 '09 #1
2 6465
Frinavale
9,735 Recognized Expert Moderator Expert
It would be easier to solve one problem at a time.

Have you tried removing the ListView from the Infragistics Asynchronous Refresh Panel?

Just leave it in the UpdatePanel.... does it work?

Please remember that the entire ASP life cycle is executed when an asynchronous call to the server is made by an UpdatePanel. If your code (say in the page load) is printing something that shouldn't be printed then you may end up 2 things showing up when you were expecting 1.

You're going to have to try to explain the problem a little more so that we can help you better.
May 1 '09 #2
sundaramails
2 New Member
Thanks for your response. I am solve the probs of data pager delay one post back. usning following code.
Expand|Select|Wrap|Line Numbers
  1.  Protected Sub lstPhotoView_PagePropertiesChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles lstPhotoView.PagePropertiesChanged
  2.         Dim Dv As DataView = CType(objdsListView.Select, DataView)
  3.         lstPhotoView.DataSource = Dv
  4.         lstPhotoView.DataBind()
  5.     End Sub
My another prob is list view have a image. (acting like a client button). It call a infragistics web dialog thru client code. in that mean time data pager shows twice in the list view. (i try ur instruction remove update panel & asyn refresh panel)

Thanks in advance
May 5 '09 #3

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

Similar topics

3
3198
by: Menu Chen | last post by:
我用LISTVIEW控件的时候,想限制用户对控件列大小的调节 但是找遍了LISTVIEW的属性,没有实现该功能的 另外,如果实在不能限制用户对列大小的调节的话,起码不要显示水平滚动 条,因为那会比较难看,可以吗?
1
2666
by: MikeY | last post by:
Hi Everyone, I am trying to ensure displayed items at the top most portion of my ListView when being added to my ListView, no matter where the items are being added with in the listview. So that the users can easily find where their added items are located. Can this be accompished with "TopItem"??? My code is as follows: foreach(ListViewItem ListView_Item in this.lvBody.Items) {
0
1065
by: shapper | last post by:
Hello, I am using the new ASP.NET 3.5 ListView and DataPager. Everything is working fine but I am getting a strange behavior in the DataPager. When I click a pager button for the first time nothing happens. When I click the second time it starts to work.
0
1833
by: shapper | last post by:
Hello, I have been using the new ASP.NET 3.5 DataPager control. It is great. However I found a bug. Check how the PreviousPage / FirstPage and NextPage / LastPage are rendered, and disabled, when it is the first page or last page: <a disabled="disabled" class="PageNavigation">&lt;&l ... <span disabled="disabled"><input id=" ...
5
9537
by: Mark Olbert | last post by:
How do I get the DataPager and ListView to play nice together when I use a custom datasource? In my webpage, I use linq to pull data from a SqlServer database and assign the resulting IEnumerable<to the ListView's Datasource property. This all works fine to display the first 3 items (the DataPager is set to display three items at a time), but when I click on the next page in the DataPager...nothing happens. There's a roundtrip to the...
1
1889
by: =?Utf-8?B?TmVkaW0=?= | last post by:
Is it possible to use DataPager with custom loading classes (I use my own queries because of filtering and paging) and ListView control? ListView control is bound to a DataReader and DataReader method accepts page number and page size? Is there a way to make DataPager use my values and methods?
1
4975
by: shapper | last post by:
Hello, I am using a DataPager with a ListView. I am creating everything at runtime. I need to create a custom DataPager so that the numbers and the next previous symbols will be inside a list (ul li). How can I do this?
1
4920
by: bharathreddy | last post by:
Hi, I am using listview control for display. And I am using LINQ for binding the datasource to the listview control at the codebehind. I have implemented the paging in the listview control using the DataPager. But its not working properly. Whn I am clicking twice then i am able to navigate to the next page. I tried to bind the data in the prerender event but that too doesnt working. Why can this be happening. Can any one...
4
7468
by: Brandon | last post by:
HI all, I am working on a WPF listview that get items through the XMLDataProvider and making a listview with two actual columns and in both CellTemplete XAML in a grid bind more than one snippet of the XML data to the cell. Now this works fine no problem... When I try to setup a IsSelected trigger I lose the default listview selection UI and only the new look of the ListViewItem after the trigger takes effect shows what Item is...
0
9423
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,...
0
10211
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9994
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
9863
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
8872
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
7409
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
5299
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
3959
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
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.