My current asp.net(c#) project required add/edit functionality in the same page without flickering.
To fill the textbox,fileuploader & dropdown list etc while updating the contents.
I searched google,but fileuploader not working properly in the ajax update panel
Please give examples/reference for solving the problem.
The following links will help you.
http://www.ajaxlines.com/ajax/stuff/article/using_jquery_to_directly_call_aspnet_ajax_page_methods.php
http://encosia.com/2008/05/29/using-jquery-to-directly-call-aspnet-ajax-page-methods/
Related
We're having problems with editing a database with a gridView. I've been looking around and I've seen that there are some options in the properties to put an edit link next to the gridView. I've also seen the sqlDataSource Control, which seems to be a little too complicated for me. A user needs to be able to see the database content in the gridView, then be able to edit the content and clicking submit which updates the database with the changed content.
Is there any simple way to do this?
If not, any other suggestions?
Thanks in advance!
I used following code to simply add the insert link button.
TopToolbar.Buttons.Add(new AjaxControlToolkit.HTMLEditor.ToolbarButton.InsertLink());
But I am facing issues in IE and Firefox as the insert link box is not appearing at proper place or sometimes it is hiding behind other controls and hence not accessible.
Has any one else faced similar problems?
Is there any other way to add/identify url(s) to the html editor?
Any help will be appreciated!
Thanks!
I'm developing a web template using asp.net and c#, which contains 3 parts. I handle the partial refreshing of the page with using updatepanel.
As you can see in picture below, the first parts is the top menu which is refreshed; the left sub menu, then the left sub menu refresh the middle panel(Details) and shows all the detail which contains a table with insert, delete, edit and paging buttons. I used a listview to develop the tables.
I have more than 50 modules similar to this which contain a table with some buttons, and if I put all the tables in the same page the page, the code would be very huge. That's why I came up with the idea to put each table in separate page and just load each page in the 3rd panel.
I have gone through the Uframe but I couldn't use it at my page properly.
I would really appreciate that anybody help me to overcome this problem, to load separate aspx page in 3rd panel, but without using iframe, or guide me how to use the uframe step by step. Or if you have another idea to get rid of this problem.
This is exactly the type of situation that Master Pages were intended for. Master pages allow you to define a consistent look for pages, with as much content as you like on the Master, and the parts that change in a "child" page (in the ContentTemplate)
Master Pages are documented here and there is an introduction to Master Pages video here.
Master pages can absolutely work with an UpdatePanel as well. This is documented specifically here.
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.
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.