During recent weeks I have posted a number of questions regarding Telrik Reporting which of course come back with no response.. But fortunately, I managed all the matters. Now I ma going to raise another question and hope this one had some response.
The Question: There is a report which displays about 455 records. I am using MVC 3, WebApi and Telrik Reporting of course. I want to implement some kind of lazy loading. I explicitly mean, display records 30 by 30 on each page of telerik report viewer. That is to say, at first step only 30 records be loaded and if the user navigates to the next page, then another 30 records show up.
Can anyone give me a tip or solution how to handle this? Does telerik support something for that?
Thanks you
Actually, Telerik Report handle On demand Loading on every page for the client side of course. But at first it fetches all the data form the related data store. This is what I have got after days of researches and lots of efforts on this issue. Thus, decided to share it with others as no one comes to this questions with an answer! Hope it be helpful
Related
I am looking for some help to get started on creating an editable GridView in ASP, I already have everything working in a Form Application. Now my plan is to convert it to a Web application using ASP.NET. Not too hard I'd say, but I just have some trouble with my GridViews. So here is what my current application does and what I want it to do in ASP:
I created multiple GridViews, with only a single column. Then on this column, rows will be added when the application is started, how many should be added is found in the database. Some of these rows will be filled with data from the database, some will be left empty. I already have the code for this, just need to convert it to work with ASP. I want the user to be able to edit all these rows, including the ones that are empty. These columns do nothing fancy, the user is only able to put numbers in them.
Since I'm completely new to ASP, I have no idea how to create a GridView that has empty editable rows with it. Maybe it's very simple, but a nod in the right direction would be very much appreciated! If anymore info is needed, please let me know
What i want to do in ASP.NET
GridView is one of the the most powerful control in the long line of controls since .NET released under WebForms, it is so vastly used that there are thousands of examples and tutorials to do almost everything.
Since my times learning the good things about the GridView, I always rely on 2 websites, and today I will make them my answer.
One, I can no longer found, was something like The GridView Guy, a lovely website with the best tutorials to raise the .NET control to do almost everything.
The Seconds is the famous Matt Berseth and all his tutorials surrounding not only the GridView but other controls as well.
http://mattberseth.com/blog/gridview/
There are plenty more tutorials out there for this, like:
http://www.codeproject.com/Articles/16769/Full-featured-Editable-GridView-Control
http://www.dotnetspark.com/kb/643-how-to-editupdatedelete-gridview.aspx
http://aspnet-with-c-sharp.blogspot.dk/2011/02/fully-editable-gridview-in-aspnet-2.html
You just have to follow up and if you find a wall that you can't climb, assure that someone around here can help you out, just show us what you need to do, and what have you tried.
I know such questions are in tonns on SO, but my question is little bit different. Generally , i found in SO, Custom Paging using Linq2Sql/ Sql. No I am not asking the same, i am done with that, my issue is with the pages(data pager) displayed on my asp.net page.
In my table i have around 640 rows which will grow in future to thousands and even 10 thousands and more.
what i did:
For implementing the custom paging, i followed Mikes this article and successfully implemented the custom paging on my records. I have a repeater on page and i am bind the data using Take and Skip as directed by Mike.
After implementing the paging, i found that its creating 10 records per page so in that case I got 64 pages displayed in my pager, which seems awkward. Its something like this
1 2 3 4 5 6 7 8 9 10 upto 64, killing my page css and ui. Also it is not good , as user point of view. So
What I want is that:
I need SO User section like Pager... see here
Finally I got solutions
Thanks all of you, I got what i needed exactly. I am posting it as an answer below, so that it will help to others requiring the same.
I answered my own question, as this will help others who are looking for the same,,,,
http://www.codeproject.com/Articles/11418/Pager-Control-for-ASP-NET : This is a custom control that I got on CodeProject. Very useful for those who needs Custom paging in ASP.Net, lightweight and easy to implement.
I am trying to design a multiple page web form to collect information from the users. Users can quit at any time and then come back later on the page where they left, I send an email to users containing a link back to their application when they start application process. I am wondering if I can do this with asp:wizard? Does anyone know whether I can use asp:wizard to start from a page where user has left along lets assume 3rd page with their filled data and also when they click back, they should be taken to the prev. page i.e. 2nd page.
I think this is not a good approach. There must be some alternative, that you must try. Nut If this is your requirement, then you might face issues like this
You need to maintain a database of the anonymous users or the users that are using the wizard. Result waste of database sapce.
How would you define that the returning user is the same genuine user , not some bot or hacker. As this might leads make data public. For example you are Akshay , you filled up to wiz#2 and quit. Now next day you want to complete the form. How the system will know u r Akshay Kumar not Sunil Shetty. Also if some Jhonny Lever come and might take a hit and trial on Akshay , then he will get you.
So take a deep thought on the issue and discuss with the seniors regarding the alternatives, also there are lots of SO Guru, which will definitely suggest you some good way out.
I am not using Wizard anymore, but it is possible to go back to any step of the form wizard by using Wizard.MoveTo method. see here
I have 3 user controls that pull data from the database and display a gridview. I need all of these 3 gridviews to run at the same time.
How can I use threading to accomplish this?
I forgot to mention it is being developed in C#
Also, trying to create a thread in the page that is calling the 3 user controls is shutting down my localhost webserver whenever the thread is hit.
What is causing this?
Sorry for the late reply, hopefully I can still be helpful:
You probably want to look into ASP.NET async pages. There's a great writeup on MSDN Magazine: http://msdn.microsoft.com/en-us/magazine/cc163725.aspx
Almost half way down the page there's a header "Asynchronous Data Binding" that I believe addresses your issue.
I am not sure what you call it in other technologies, on the IBM i (or iSeries) we call it overlays. The overlay is an image of a form that is stored on the server then a program generates the form with fields from the database so you can eliminate preprinted forms.
I had a problem last year with the method I was trying at the time. It was a rush job at the time to be revisited at a later point. The work-around at the time was to export to PDF. So now it is "later" and once again is a rush (imagine that). This is all done through a web-based interface.
So how do you generate forms from something that was once a preprinted form? What method do you recommend? This is a legal form and must be filled out a certain way and can have many in a batch (up to 50 or so). I would prefer to not have them print one page at a time.
Any ideas would be appreciated!
UPDATE: I found this article which may help some. It seems to confirm I am doing this right.
The article I mention above got me in the right direction.