devexpres grid withedit functionality not invoking row updating event - devexpress

i am using devexpress grid with edit functioality to update the records in the gridview
the codeis being done in asp.net & c#.net
but while clikcing the update after editing the records . it just shoes the progressbar runnning and doesn't invokes the updating event ?

There could be an error on the serverside and the clientside is not updated since it's using a callback. Take a look at this screencast which can help you display the error:
http://community.devexpress.com/blogs/aspnet/archive/2008/07/23/video-how-to-handle-an-asp-net-ajax-callback-error.aspx

Related

How to implement custom paging in ASP.NET Gridview that has Command Buttons in VB.NET

I am currently trying to implement a gridview with custom paging. I've gotten this to work by following the tutorial on ASP Snippets, located here:
http://www.aspsnippets.com/Articles/ASPNet-GridView-Custom-Paging-with-PageSize-Change-Dropdown.aspx
This work well. However, I run into an issue. My gridview has template controls in it, which run code when used. For example, I have a button that, when clicked, replaces the cell contents with two different buttons. When I use the pagination technique given above, clicking on any template control (causing postback), erases my gridview. I realize that this is because I have to recreate the gridview on every postback because of the way the pagination is set up. However, when I recreate the gridview, the effects of my button are gone because it has been recreated. I'm not sure how to escape this..
Does anyone have any ideas?
For a specific pointed question,
I am looking to create a gridview with custom pagination that will allow for template controls and extended functionality.
Thank you
Generic information:
IDE: Visual Studio 2012
Language: VB.NET, ASP.NET
Database: SQL SERVER 2008 R2
I fixed this issue by programmatic ally resetting the states of my controls to match what they were before post-back.
I haven't had any issues since setting that up.

Devexpress batch update mvc grid data in client side

I am using devexpress mvc grid with batch edit mode. I want to check that if all rows dropdown from grid has been selected or not. So for that I want datascource of devexpress mvc grid in javasctipt/jquery. From that I can check and validate my grid. Can anyone help me?
Why you want to do it in javascript, I will recommend you do it in batch updating method and if there validations fails then show validation.

can't see the result after i update a row in a table in a gridview

Peace!
i created a gridview and ive bended the data using a ObjectDataSource,
for some reasons i created the CRUD methods to do the work instead of using the CRUD method generated by the LINQDataSource; everything is just working fine but the update method,
when i update a row in my gridview everything become as if there isnt any update!
but when i check the database i can see that the rows is been updated!
i can't find a solution (yet) to this issue.
i'am using the updatepanel to have the autopostback without refreshing the page.
thank you
Do you rebind the GridView after you perform the update?
Eureka!
well in my case all i had to do is to instantiate another instance of my DataContext :S
i've been using the a static DataContext.
cheers.

listview of ASP.NET(web application)

i have placed four textbox inside the listview of web application. if i enter data in first textbox, its corresponding record should be fetched from oracle database and fetched record should be placed in 2,3,4 textbox.
****TextBox.TextChanged Event
How to: Respond to Changes in a TextBox Web Server Control
Edit:
From your edit it would be better to use AJAX.
You can fetch data from oracle database from C# using the AJAX call and return the result to the response and display the data.
If you're using webforms you could use a WebMethod to invoke the query from javascript, you can see an example here.
You could also just add a control that invokes a function server side and use the FindControl method of the ListView to obtain the value of your textbox. Also if you want the function/method to be called when the user stops typing you could use a jQuery plugin called typewatch you can find it here. Also taking into account the WebMethod* attribute that I mentioned earlier in the answer.
Go through the article Complete ListView in ASP.NET 3.5. This article shows how to place textboxes inside listview and edit the data in listview.
For Oracle connection in ASP.NET this article Connecting to an Oracle Database Using ASP.NET—A Step-by-Step Tutorial will definitly helps you

Draggable Columns in ASP.NET GridView

Is there any open source that extends ASP.NET GridView, which allows Column order to be changed after it's rendered, raises a server side event when a Column is Dragged & Dopped ? I should be able to do this myself. I am wondering If there's any already.
Also, am just curious How long would it take for you to get this feature implemented.Just to know where I stand.
The GridView in .NET 3.0+ supports this feature, are you tied to an earlier release?
Component Art's grid has this functionality, but it s not open source
try jquery based flexigrid

Resources