I've been using Telerik Controls for a couple months now, and have yet to apply AJAX to any of my UserControls. While I've been learning, I've been doing full Postback's every time I need to Update a RadGrid or insert data. After getting my Web App looking the way I want it, I've realized that doing full Postback's not only looks bad, but it is quite slow.
At the moment all I am looking to do is ReBind a RadGrid using a refresh button on a RadToolBar. I am sure that once I grasp this, I will be able to apply AJAX to other places on my page.
I am currently running a Master Page, which consists of my Main Page, and my Main Page holds a RadTabStrip linked to a few other UserControls.
Does anyone know of any good (basic) tutorials that will aid me in learning AJAX with Telerik, as I am unfamiliar with both AJAX and Java, but am open to learning...
I recently run up into series of blog posts about AJAX and telerik ajax on their blogs - you can read them here. Also I know about a demo that does what you are asking for - toolbar incorporated into grid's command item, check it out.
Related
Before I go down the rabbit hole which is over my head and I would like to avoid for now… Is there a simple way to see if an online .aspx webpage loaded in the web browser control? .html pages work fine using .DocumentCompleted for me but .aspx visually loads fine but never triggers the DocumentCompleted event. I saw some good articles that mention the need of creating separate 3 threads and etc… unlike in those articles I am not interacting with the web application (the user is) I just want to hide a few irrelevant DIV elements on the side off the page.
user9938 Thank you! Unfortunately, I cannot mark your comment as an answer so I will post it for others here.
webview2 worked amazingly. On aspx pages NavigationCompleted still did not work however I was able to achieve this with CoreWebView2_DOMContentLoaded
I apologize if this is not a proper question, but I am new to StackOverflow, so here goes...
I am programming in C# for the web in VS2005 (at the company I work for; I use VS2012 at home), and have written a somewhat lengthy program for work.
My problem is that I can add certain controls on the master/home page, such as a nested gridview or even a simple dropdownlist, and they work better than beautifully. When I add the exact same control, with the same SQL data source, to a lower-level webpage, they refuse to work. The SQL data loads just fine, but the SelectedIndexChanged or SelectedIndexChanging methods don't work. Yes, I have checked everything from AutoPostBack=true to the ViewState=true.
Oddly enough, almost every page (20+) in the program has at least one regular gridview, and they work like a charm on every page. I have not yet coded a regular gridview that has NOT worked.
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.
Im using ASPxPopUpControll in which I have ASPxCallBack panel. THis CallbackPanel was embeded there because I wanted to have solution based on callbacks despite of reloading page each time.
In this CallBackPanel I've embeded asp:Wizard control.
What I want to achive is get rid of postbacks after clicking next previous etc buttons in this wizzard.
Any hints?
Maybe there is other way to create nice wizard without any postbacks ?
thanks for help
The ASPxCallbackPanel cannot intercept postbacks and "convert" them to callbacks as the MS UpdatePanel does this. So, a possible solution is to replace the ASPxCallbackPanel with the MS UpdatePanel and use the Wizard inside it. One more solution is to use the ASPxPageControl, position all required controls in its Pages and manage them manually.
I would recommend looking into ajax and jquery for asynchronous postbacks, that way you don't get a page refresh and you would only need to update a smaller part of the ui.
I am working on some project which is in classic ASP.NET, but I need to migarate that into MVC
Right Now I am having a page with one button and gridview which get fill on clicking the button. Gridview has the functionality like EDIT, DELETE, Paging, OnRowCommand Event.
How should I perform this page through MVC. I know gridview can't be used in MVC, so what's the alternative of that.
Thanks
Consider using a jQuery Grid plugin, like this one. I assume you have already figured out how to populate your view with data, etc.
I would recommend the Telerik MVC Grid Control. They are free and open source, and I am using these at the moment and don't have a bad thing to say about them!
http://demos.telerik.com/aspnet-mvc/grid/editingajax
Here I found the perfect answer for me
http://blog.maartenballiauw.be/post/2008/06/Code-based-ASPNET-MVC-GridView.aspx
It works good for me clearlly understandable for me, I would say #amarsuperstar example also looks fine but not looks for beginners