473,387 Members | 1,497 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

DataPager & ListView

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 6437
Frinavale
9,735 Expert Mod 8TB
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
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
by: Menu Chen | last post by:
我用LISTVIEW控件的时候,想限制用户对控件列大小的调节 但是找遍了LISTVIEW的属性,没有实现该功能的 另外,如果实在不能限制用户对列大小的调节的话,起码不要显示水平滚动 条,因为那会比较难看,可以吗?
1
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...
0
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...
0
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,...
5
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...
1
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...
1
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...
1
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...
4
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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...

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.