paging in Sharepoint document library
-
Hi I have a client requirement that we need to implement paging in sharepoint document library. For instance in some cases document library contain 100 or more files in such cases we need to implement paging. Can any one suggest any solution that can be implemented easily using jquery or server side code. Any help in this case will be appreciated.
Sudhir Mangla http://tips.DevelopersVoice.com (Technical Tips and Tricks) http://Programmerworld.net (Free books and source code) http://Faq.Programmerworld.net (FAQ and Tips for programmers)
http://health.Programmerworld.net (Health tips) -
Hi I have a client requirement that we need to implement paging in sharepoint document library. For instance in some cases document library contain 100 or more files in such cases we need to implement paging. Can any one suggest any solution that can be implemented easily using jquery or server side code. Any help in this case will be appreciated.
Sudhir Mangla http://tips.DevelopersVoice.com (Technical Tips and Tricks) http://Programmerworld.net (Free books and source code) http://Faq.Programmerworld.net (FAQ and Tips for programmers)
http://health.Programmerworld.net (Health tips)The solution is easy, but since you spammed the forums looking for an answer, you'll get no help.:mad:
only two letters away from being an asset
-
The solution is easy, but since you spammed the forums looking for an answer, you'll get no help.:mad:
only two letters away from being an asset
I posted the question on two forum by mistake but you attitude is really disappointed. Keep your solution to yourself i find the solution. There are better people in the world with much better attitude from where I can get help. If you know the solution or not Thanks for your reply.
Sudhir Mangla http://tips.DevelopersVoice.com (Technical Tips and Tricks) http://Programmerworld.net (Free books and source code) http://Faq.Programmerworld.net (FAQ and Tips for programmers)
http://health.Programmerworld.net (Health tips) -
I posted the question on two forum by mistake but you attitude is really disappointed. Keep your solution to yourself i find the solution. There are better people in the world with much better attitude from where I can get help. If you know the solution or not Thanks for your reply.
Sudhir Mangla http://tips.DevelopersVoice.com (Technical Tips and Tricks) http://Programmerworld.net (Free books and source code) http://Faq.Programmerworld.net (FAQ and Tips for programmers)
http://health.Programmerworld.net (Health tips)Sudhir Mangla wrote:
Keep your solution to yourself i find the solution.
What you should have done in the first place
Sudhir Mangla wrote:
There are better people in the world with much better attitude from where I can get help.
Since no one else answered you either I guess you won't them here.
only two letters away from being an asset
-
Hi I have a client requirement that we need to implement paging in sharepoint document library. For instance in some cases document library contain 100 or more files in such cases we need to implement paging. Can any one suggest any solution that can be implemented easily using jquery or server side code. Any help in this case will be appreciated.
Sudhir Mangla http://tips.DevelopersVoice.com (Technical Tips and Tricks) http://Programmerworld.net (Free books and source code) http://Faq.Programmerworld.net (FAQ and Tips for programmers)
http://health.Programmerworld.net (Health tips)Hi Hope the follwing may help you. query.Query = "<OrderBy><FieldRef Name=\"Modified\" Ascending=\"FALSE\" /></OrderBy><Where><Gt><FieldRef Name=\"Modified\" /><Value Type=\"DateTime\"><Today OffsetDays=\"-14\" /></Value></Gt></Where>"; This is the SPQuery which gets the modified documents which are 14 days from today. SPView SPCustomView = docList.Views.Add("New/Updated Documents", viewFields, query.Query, 20, true, false); By adding this query to the required view we can get the documents which are mdified between today to 15days. And the answer for your question is in the above SPview 20 represents page limit.So you can use your number to display the no of Documents per page. Thanks, Chandu.