ASPxGridView POST Timeout?

Feb 17, 2010

I have a ASPxGridView with DetailRow in this row there are three additional ASPxGridViews. Each detail ASPxGridView contains EmptyDataRow templates with link to create a new row:

<a href="javascript:gridViewDetails1.AddNewRow();">AddNewRecord</a>

When master ASPxGridView rows is 1 or 2 then new rows in detail grids adding fine, but if in master ASPxGridView rows about 10 or more then when I clicking on detail grids link to add new row the loading panel appers for unlimited time and FireBug->Net shows that status of POST is timeout and time is about 1 sec.

How can I repair it?

To AGoodDisplayName:

are the detail row gridviews bound to anything?

yes of course, inside the details row of master gridView there are 3 another gridView and each of them have a separate ObjectDataSource.

Are you expanding more than row at a time?No, I have only one row at time:

AllowOnlyOneMasterRowExpanded="true"

Yep:<asp:ObjectDataSource ID="dsMaster" runat="server" TypeName="..." SelectMethod="...">
</asp:ObjectDataSource>
<dxwgv:ASPxGridView ID="gridViewMaster" ClientInstanceName="gridViewMaster" runat="server" DataSourceID="dsMaster">[code].....

View 1 Replies


Similar Messages:

State Management :: Form Timeout Vs. Session Timeout Vs. Connectionstrings Timeout?

Jan 27, 2011

We have the timeout value set to 120 in our <form> tag within the web.config. We do not have a session timeout set.. and we have various connection strings.

We are having a problem where a session variable will disappear (become NULL) .. but, the form evidently remains 'open'.. or no re-login is required..... so, my question(s):

1. what is the relationship between form timeout and session timeout

2. how do I set session timeout

View 1 Replies

DataSource Controls :: SQL Statement Timeout / System.Data.SqlClient.SqlException: Timeout Expired?

Jan 20, 2010

Hopefully I am posting this in the correct forum.

I am having a problem with my ASP.Net Web application. The application is developed using vb.net and is linked to a SQL Server database. Let me explain how the application works and the problem I am experiencing. The system is an online web app which allows registered users to create a CV online. One of the pages within the app gives users the chance to add a cover note to their CV. The page that allows them to do this consists of only a textarea control and a button control. The textarea allows users to input up to 4,000 characters.

Once the user clicks the 'Save' button to save their cover note info, the following code then executes.This code checks to see if the CV already has cover note info, if it does, then the application runs an update statement, otherwise, it runs an insert statement.The table within the database which records the cover note information is called tbl_covernote and has three columns, covernote_id (int and autoincrement), cv_id(int), covernote_text (nvarchar(max)).

The error which occurs sometimes is as follows:

Dim dr As SqlDataReader
Dim param(0) As SqlParameter
Finally [code]...

View 11 Replies

AJAX Timeout Although Request Is Completing Long Before Timeout Duration

Feb 15, 2010

I have an ASP.Net application that makes an AJAX request to retrieve at report. The report can run for a long time so I set the asyncpostbacktimeout in <asp:ScriptManager /> to 600. However, when I try to run the report, if it runs for longer than 90 seconds it fails to come back. I can see in the IIS logs that the POST request succeeded with a 200 status and I can see the time taken is much less than 600.

The web page dutifully waits for the entire 600 seconds before returning with a timeout error:

Error:

Sys.WebForms.PageRequestManagerTimeoutException:

The server request timed out.

Is there any setting I should be checking in IIS? Connection timeout is 900 seconds.

View 1 Replies

Differences In Forms Auth Timeout And Session Timeout?

Feb 1, 2010

The session state timeout is set using this web.config element

<sessionState mode="InProc" cookieless="false" timeout="120" />
The forms auth is configured using this web.config element
<system.web>
<authentication mode="Forms">
<forms loginUrl="Login.aspx"
protection="All"
timeout="30"
name=".ASPXAUTH"
path="/"
requireSSL="false"
slidingExpiration="true"
defaultUrl="default.aspx"
cookieless="UseDeviceProfile"
enableCrossAppRedirects="false" />
</authentication>
</system.web>

What is the difference between the timeouts specified in each of these elements? If both are different, how would it work?

View 2 Replies

Javascript - Sync JS Timeout And Session Timeout?

Jul 29, 2010

I have a page of each every click has ajax call to my server (hence, the ASP extends the session)

I have ASP.NET session set to Xmin. I want when X+1 min expires, I have expiration page. what I did was to set the JS timer to validate every x+1min to see if the session expired (the problem is that the JS and the ASP session timeouts are not synced)

View 2 Replies

Configuration :: Forms Timeout Vs Sessionstate Timeout?

Mar 10, 2011

[Code]....

I have an issue to where my users are logged into my system but thier session is null so when they try to do something in the system after 20 minutes, i get null reference expceptions because my session is gon
What is the best practice for handleing the session, should i kick the users out before thier session ends and when they log back in thier session will return or atleast a new one will be created right? How should I handle this?

View 2 Replies

How To Invoke AspxGridView Update

Jan 18, 2011

I want to know if I can invoke AspxGridView update. I catch a data on AspxGridView Focused Row in server side. And if this data equles 0, I want to invoke update for this row. Else if this data equles 1, i want to invoke new row. Is it possible?

View 2 Replies

C# - ASPxGridView Header And Subheader?

Aug 13, 2010

I currently use the ASPxGridView from DevExpress (2010 v1). Has anyone had any success creating double headers where the first set of headers span across multiple subheaders?

HeaderSpanColumn1
------- ------- -------
header1| header2| header3
------- ------- -------
3 4 bob

There doesn't seem to be much verbage about this on their support site since it isn't officially supported.

View 1 Replies

C# - ASPxGridView Rows Per Page?

Sep 8, 2010

How can I set maximum number of rows per page to 5? Default is 10.

<SettingsPager PageSize="5">

... doesnt work

View 3 Replies

C# - Fill AspxPopupControl With AspxGridView?

Feb 7, 2011

Im using aspxPopupControl with AspxGridView in it. Is it possible to set control to fill all popup cause now when I try to resize that popup there is a lot of free space at the top and bottom when I increase width od the popup.

View 2 Replies

Show Combo On AspxGridview?

Jul 21, 2010

*i work on northwind database .*In my AspxGridview i want to show comboBox.I fill grid on back end C#.i also want my combo will fill back end.

<dxwgv:ASPxGridView ID="ASPxGridView1" runat="server"
AutoGenerateColumns="False" KeyFieldName="CategoryID"
oncelleditorinitialize="ASPxGridView1_CellEditorInitialize">[code].....

When i run the code AspxGridview fill well but when i click on Edit or New Command on left side of my grid show me bellow error message ;

**Object reference not set to an instance of an object.**

What's the problem is?How to solve this problem.How to bind cell combo on aspx gridview

View 3 Replies

How To Make SingelSelection On ASPxGridView

Aug 27, 2010

Im trying to figure out how can I make singelSelection on ASPxGridView.

The onClick event handled like that:

function GvUsersSelectionChanged(selectedRow) {
//Clear the text selection
if (GvUserClient.IsRowSelectedOnPage(selectedRow.visibleIndex)) {[code]....

all rows are unselected :/

View 1 Replies

AspxGridView Specified Method Is Not Supported?

Jul 12, 2010

Bellow is my .aspx aspxGridview syntax

<dx:ASPxGridView ID="ASPxGridView1" runat="server" AutoGenerateColumns="False"
KeyFieldName="intProductCode" onrowinserted="ASPxGridView1_RowInserted">
<Columns> [code]....

When i want to insert ,show me error message Specified method is not supported.

View 3 Replies

DevExpress AspxGridView Filter In ObjectDataSource

Mar 16, 2010

One Page In the Page, a custom control In the custom Control, a AspxDropDown The AspxDropDown, has a DropDownWindowTemplate In the DropDownItemTemplate, I add a GridView and a paging/sorting/filtering enabled ObjectDataSource When handling the Selecting event of the ObjectDataSource, I should set filter parameters for the datasource. There filter parameters should come from the FilterRow of the AspxGridView (preferably using the AspxGriedView.FilterExpression property). The problem: the AspxGriedView.FilterExpression property is not set to the proper values (set by the user). Did anyone find a good implementation of what I'm trying to do here?

View 1 Replies

ASPxGridView -Custom Controls In DetailRow?

Feb 12, 2010

try to have custom controls in a DevExpress grids detail row. When ever a row is expanded I would like to load data into those custom controls based on the Masters Key.I am using the detailrow expended method.

protected void grid_DetailRowExpandedChanged(object sender, ASPxGridViewDetailRowEventArgs e)
if (e.Expanded)
{
int id = Convert.ToInt32(grd.GetRowValues(e.VisibleIndex, "ID"));
...
}

The problem is I don't know how to access the custom controls in the expended detail row. I don't see any Row or Items properties on the grid, which would have been with a FindControl().

View 1 Replies

Change AspxGridView Mode On Server Side

Mar 21, 2011

I want to change AspxGridView mode on server side. For example :

if( some clauses)
{
// Mode is : New row
}
else if (some clauses)
{
// Mode is : Edit row
}

View 1 Replies

How To Use ASPxGridView Without Client Scripts And Postback Data

Feb 7, 2011

I added DevExpress GridVIew into my ASP .NET WebForms app. GridView works fine but it generates a huge hidden input with base64-encoded postback data and loads several large javascript files. I don't need any client-side functionality. So, how to disable client-side functionality of this control?

View 1 Replies

Forms Data Controls :: ASPxGridView RowClick

May 26, 2010

I am new DEVEXPRESS controls . In my project i need to work with ASPxGridView , where i need to make all the row value clickable (for a particular record). When clicked it takes the user to the next page where it displays all the information regarding that record.

give me some insights regading how to approach this problem and how to use rowClick event

View 5 Replies

ASPxGridview / Trying To Find A Control In Edit Form ?

Jul 15, 2010

I'm trying to Find a control in my edit form just before I hit the submit button on it(custom), however it isnt returning any value entered in the memo, even though I have inputted some value. It seems like its resetting. Its not binding to anything.

Code:

Dim Memo As ASPxMemo = CType(ASPxGridView_BranchQueue.FindEditFormTemplateControl("ASPxMemo_ResubmissionRationale"), ASPxMemo)

MsgBox(Memo.Text.ToString())

View 1 Replies

Custom Sort In ASPXGridView Not Working With Paging?

Nov 2, 2010

I've implemented a custom sort for a aspxgridview, following the steps mentioned here: [URL]

However, I've noticed that it only sorts the current active page, so whenever I go to another page I have to click again on the column to sort it.

Is this behavior correct, or am I missing something? How can I solve it?

PS: I thought about capturing the PageIndexChanged event and manually sort the active page, but that seems too hackish...

View 3 Replies

C# - ASPxGridView - Simply Add Example Values With Only A DataSource Property?

May 19, 2010

I have a ASPxGridView. In it(for the uninformed) is only a DataSource property for telling it what data to load. My problem is that I'm simply trying to mock up an example and don't need to tie it to an actual database. How would I do this? I basically just want a few rows and some columns but since it only takes a datasource I'm not sure how to do it. Would ObjectDataSource be what I'm looking for?

View 1 Replies

How To Access In Server Side AspxGridView Combobox Selected Value

Jan 7, 2011

I want to access selected value of GridViewDataComboBoxColumn in server side at GridViewUpdated event. Do you have any idea about how can it be?Here is columns of AspxGridView

<dx:GridViewDataComboBoxColumn Name="Sprint_id" Caption="Sprint" FieldName="refSprint_id" VisibleIndex="8">
<PropertiesComboBox ValueType="System.Int32" DataSourceID="sdsSprintler" TextField="adi" ValueField="sprint_id">
</PropertiesComboBox>
</dx:GridViewDataComboBoxColumn>

Combo can fill but i couldnt access the selected item in GridView updated event

View 1 Replies

JavaScript Error In IE6 When Opening ASPxGridView Edit Form

Jul 24, 2010

I'm using DevExpress ASPxGridView edit form, using default edit form. However when I open the edit form in IE6 and click "update" to insert the record, it causes a JavaScript error that says "type" is null or not an object". However it works fine in IE7. I am puzzled and unsure of how to resolve this. Code is below.

<dx:ASPxGridView ID="ASPxGridView_JobTitles" runat="server"
AutoGenerateColumns="False" Caption="Titles"
ClientInstanceName="ASPxClientGridView_Titles"
DataSourceID="SqlDataSource_JobTitle" KeyFieldName="Title" Width="500px">
<Settings UseFixedTableLayout="True" />
<Columns>
<dx:GridViewCommandColumn ButtonType="Image" Caption=" " VisibleIndex="0"
Width="65px">
<UpdateButton Visible="True">
<Image Url="~/images/update.png">
</Image>
</UpdateButton>
<CancelButton Visible="True">
<Image Url="~/images/cancel.png">
</Image>
</CancelButton>
<EditButton>
<Image Url="~/images/file_edit.png">
</Image>
</EditButton>
<HeaderTemplate>
<dx:ASPxButton ID="ASPxButton_New0" runat="server" AutoPostBack="false"
Image-Url="~/images/file_add.png" Text="New">
<ClientSideEvents Click="function(s,e){ASPxClientGridView_Titles.AddNewRow();}" />
</dx:ASPxButton>
</HeaderTemplate>
</dx:GridViewCommandColumn>
<dx:GridViewDataTextColumn FieldName="Title" VisibleIndex="1">
<PropertiesTextEdit>
<ValidationSettings CausesValidation="True">
<RequiredField ErrorText="Is Required" IsRequired="True" />
</ValidationSettings>
</PropertiesTextEdit>
</dx:GridViewDataTextColumn>
<dx:GridViewCommandColumn ButtonType="Image" Caption=" " VisibleIndex="2"
Width="65px">
<DeleteButton Visible="True">
<Image Url="~/images/file_delete.png">
</Image>
</DeleteButton>
</dx:GridViewCommandColumn>
</Columns>
<SettingsBehavior ConfirmDelete="True" />
</dx:ASPxGridView>
<asp:SqlDataSource ID="SqlDataSource_Title" runat="server"
ConnectionString="<%$ ConnectionStrings:TEST %>"
SelectCommand="SELECT [Title] FROM [Titles]"
UpdateCommand="UPDATE Titles SET Title = @Title WHERE (Title = Title)"
DeleteCommand="DELETE FROM Titles WHERE (Title = @Title)"
InsertCommand="INSERT INTO Titles(Title) VALUES (@Title)">
<InsertParameters>
<asp:Parameter Name="Title" Type="String" />
</InsertParameters>
<UpdateParameters>
<asp:Parameter Name="Title" Type="String" />
</UpdateParameters>
</asp:SqlDataSource>

View 2 Replies

To Change The Values Of Some Of The Controls In The ASPxGridview Edit Form?

Jul 11, 2010

I'm trying to change the values of some of the controls in the ASPxGridview Edit Form, however they are not changing. It seems to be resetting?

How can I do this and in which event would I do this in?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved