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
Similar Messages:
May 14, 2010
I have an ASPXGRIDVIEW which is binded to an SQL query.I added to the grid an additional COLUMNCUSTOMBUTTON.But what happens is, that for all the rows it put a link there.I am trying to find a way to add to this column a link (button) ONLY to specific rows!I am unable to understand how to do it
View 1 Replies
Feb 25, 2011
I can filter on one of them (asp:DropDownList) like:
[Code]....
and I have this Calendar control:
[Code]....
How should I configure the Calendar control to filter the GridView1 on both DropDowList (ddlIP) and Calendar1?
View 1 Replies
Nov 20, 2010
I'm trying to include jQuery in an ASP.NET web site that also uses DexExpress controls, but no matter how I include my script, the $ function is always anonymous and the jQuery function is undefined. I suspect the DevExpress 'plumbing' script is overriding jQuery.
View 2 Replies
Oct 31, 2010
I need good css for Gridview just like the mac css
can we provide the filter functionality to gridview like the excel filter.
View 3 Replies
Jan 1, 2010
In securing actions/controllers, do I have to create a custom filter or use MVC built-in filter?
To use the built-in attribute Authorize() on an action/controller or create a separate class that inherits the ActionFilterAttribute which has a method (OnActionExecuting) to override and do the authentication there?
View 2 Replies
May 12, 2010
How to use Grid with check box in devExpress . i have grid with data i want to get the valuse if the check box is checked
View 2 Replies
Oct 7, 2010
Will there be any problems if I use DevExpress controls and Telerik controls on the same web page. Imagine I am nesting them insider one another.
I am wondering if they would conflict each other during AJAX calls.
View 1 Replies
Aug 26, 2010
Ive got problem with intellisense in markup for example:
When I type
<dxwgv:ASPxGridView ID="grid" runat="server">
<Columns>
< -- here I hit ctrl + space and only normla html tags are shown: a, abbr ... --
But I would like to have available columns instead :/
</Columns>
</ dxwgv:ASPxGridView>
View 1 Replies
Mar 9, 2010
In my organization we use nested groups. For a particular usage, we have a group (let's assume that the group name "kuku"), and the names of all the nested groups under it contains "kuku" as well.
We may assume that no other group in the LDAP has "kuku" in the name.
I need to create a filter which will return all the users which belong to one of the "kuku"s group.
Obviously, using this filter will bring only the head kukus
(&(&(objectclass=user)(objectclass=person))(memberOf=CN=kuku,cn=...rest of the group DN...))
How can I use wild card to fetch all users which belong to any kuku?
For example: (&(&(objectclass=user)(objectclass=person))(memberOf=CN=.*kuku.*))
View 1 Replies
Mar 17, 2010
I have decorated my base controller with a couple of action filters. They work fine.
One of those filters sets up the request - does things like set the culture based on the domain, etc.
I also have a handful of actions that require authorization using the Authorize attribute.
My problem is that when an user attempts to request a page they are not authorized to access, the authorization filter kicks in and redirects them to a page telling them that they cannot vie the page.
The issue is that the action filters never run so the culture and other request data is never set. This effectively causes language to be wrong in the view and other data to be missing.
I know that authorization filters run first but my question is this: How can I design this such that I can ensure that certain methods are always run before the view is returned, regardless of the authorization.
View 1 Replies
Mar 20, 2011
I have a simple Devexpress Gridview.
Here code;
[code]...
Is there any way calculate sub total of Unit Price column in Devexpress?
For this example; I just want total of Unit Price column (18 + 19 + 4.5 + 14 + 18 + 263.5 + 18 + 46 + 14 + 14 + 15 = 430) in the bottom..
How can i do that?
View 2 Replies
Aug 24, 2010
I wonder why I cant access Object by ClientInstanceName from javascript.
example:
function NextStep(pageControl) {
currentStep = pageControl.GetActiveTabIndex();
switch (currentStep) {
case 0:
selectedRowsCount = GridViewClient.GetSelectedRowCount();
break;
}
The error is:
There is no definition for GridViewClient;
but ClientInstanceName is set to GridViewClient
Case is that I have thos grid on other tabs in ASPxPageControl so that these aren't visible but What I want to do is to refresh one of it before displaying it and I wanted to use client side ASPxGridViewClient.Refresh().
View 3 Replies
Oct 8, 2010
I am using a dev express control: ASPxHtmlEditor version 10.1. I am trying to create a simple that only has this control. Unfortunately the control does not render with any of its styles or images loaded. This happens over 20 times. The control does not have any of its styles and all of its images do not load on the control.
I am getting 404 exceptions similar to: "Failed to load source http://localhost:11238/DXR.axd?r=5_0"
View 2 Replies
Jan 26, 2011
I've just been looking around a little at the Devexpress PivotGrid/PivotTable and wow, I'm impressed (see here for an example, skip towards end to see some of the functionality).
I'm working on a java webapp in which the tabular data presented is the key part of the application, and if I could implement something such as the Devexpress control that would be amazing. Is there anything out there?? The java webapp uses the myfaces framework.
View 2 Replies
Jan 12, 2011
I'm working with the 10.2 version of the DevExpress MVC controls. I have a page hosting a MVCxGridView and I need to preserve the current page when navigating away and back to this particular page.
I can see from the old ASPxGridView documentation that there's a PageIndex property, but this seems to only be accessible from a WebForms/Code Behind/Server Control type context. I'm using MVC and can't figure out how to preserve this page setting.
I've tried the cookie settings with the control but those don't seem to persist for me.
View 1 Replies
Aug 13, 2010
I have a devexpress gridview one of the column contains url. I need on url clik highlight this row and if user click another url in another row highlight and unselect previous.
View 1 Replies
Dec 9, 2010
I've just replaced Telerik controls in a small web project with DevExpress controls, but now, despite my adding an inline display div as container, these controls are no longer rendered inline. What could have caused this, and what can I do to get these errant controls back inline?
<div style="display: inline;">
<label>
Department:</label>
<dx:ASPxComboBox ID="deptCombo" runat="server" AutoPostBack="false" ValueField="DeptId" TextField="DeptName" Width="250px" OnSelectedIndexChanged="deptCombo_SelectedIndexChanged">
</dx:ASPxComboBox>
<label>
Production Date:</label>
<dx:ASPxDateEdit ID="productionDatePicker" runat="server" DisplayFormatString="{0:dd/MM/yyyy}" EditFormat="Custom" EditFormatString="dd/MM/yyyy"
ondatechanged="productionDatePicker_DateChanged">
</dx:ASPxDateEdit>
</div>
View 2 Replies
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
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
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
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
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
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
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