devexpress

How to set the appearance of a cell in a DevExpress grid?

I am using a DevExpress XtraGrid in my project. I need to set the appearance of a specific cell (specifically, the background color). And I cannot find any property or method in the grid that does this! The only way I can see of doing this is by catching the RowCellStyle event of the GridView, and determining whether the given cell ne...

ASPxPageControl switching tabs from javascript

Hello, I'm trying to use ASPxPageControl ase a template for my wizard. I put buttons on each page and connected it to javascript which simply changes active page, for example: Pc1Client.SetActiveTab(Pc1Client.GetTab(1)); It works correct when tabs are visible but when I set ASPxPageControl1.ShowTabs = "false" then when trying to c...

Dynamic load data ASPxPageControl

Hello, I'm using ASPxPageControl and in each page I have a couple of grids. When Im using Sql Server Profiler each time I change Tab there is a query for each grid in each tab sent to the database. Is it possible not to load data for each grid while changing tabs ? What can I do to make this all work faster? ...

access object from javascript DevExpress

Hi, 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...

Dynamic columns with asp:LinqDataSource

Hi, Im using LinqDataSource like that: <asp:LinqDataSource ID="LinqDataSource3" runat="server" OnSelecting="LinqDataSource3_OnSelecting"> </asp:LinqDataSource> And I have ASPxGridView <dxwgv:ASPxGridView ID="ASPxGridView2" ClientInstanceName="ASPxGridView2Client" runat="server" AutoGenerateC...

ASP.NET : Avoid multipile clicks on a button

Hi, I'm using devexpress aspxbutton, and I was wondering how can I prevent the user from clicking the button more then once..? basically it does an update/insert statement. Thanks, Tom ...

Exception during program shut down "MouseTrackingTimerList.Count <> 0"

I have a Delphi exe that is built with packages. The exe processes successfully but in the shutdown, I get errors. I rebuilt the exe and then one of the DLLs that is called by the exe with the MadExcept error logging software. It traces the exception "MouseTrackingTimerList.Count <> 0" into the finalization of the devexpress cxcontro...

Serializing a DevExpress Panel Control

Hi there, I have a program with a devexpress PanelControl which contains other data controls (Text box, lists etc'). I need to save this panel (All the data that the user entered) to my DB to display it later. I tried to serialize the PanelControl using BinaryFormatter but the class is not serializable.. Any idea how I can serialize the ...

Get element by ClientInstanceName

Hi, I have a problem with ASPxPageControl with EnableCallbacks property set to true. In this case when I have a couple of grids on each tab javascript doesnt see ClientInstanceNames of grids which are on different then active pages. I want to have possibility that on the change active page if current page hax index (for example 3) the...

Visual Studio 2008 Designer crashes randomly for my Devexpress Reports.

I have a program written in VB that has DataDynamics ActiveReports as well as DevExpress reports in it. Yesterday when I started working it wouldn't let me use my DevExpress reports with the designer. I restarted Visual Studio and it worked fine. Today I am working on the same reports and Visual Studio won't let me use Designer for any o...

Devexpress intelisense in markup

Hello, 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> Thanks for hel...

LinqServerModeDataSource devexpress

Hello, I have LinqServerModeDataSource as a datasource for my grid. It works great when I use it with tables from my database but when I want to make any custom changes it doesnt work correctly for example in onSelecting event: var Qry = from s in myContext select new { s.UserId, S.UserFirstName, s.UserLastName, Name = s.UserLastName...

DevExpress MVC .net 4

Hi All, Im just wondering if anyone has used DevExpress's MVC Extension controls successfully on .net framework 4.0 MVC 2? All reference I see to the product seem to only support 3.5. Thanks ...

Custom column in LinqServerModeDataSource

Hello, I have table in my database names User with fields: Id FirstName LasteName LoginName Now I would like to present this table in ASPxGridView using LinqServerModeDataSource. What I did is : <dxdtlnq:LinqServerModeDataSource ID="LinqServerModeDataSource1" runat="server" OnSelecting="LinqServerModeDataSource1_OnSelecting...

ASPxGridView single selection

Hi, 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)) { GvUserClient.SelectRow(selectedRow.visibleIndex, false)...

vb.net - problem making a call from one usercontrol to another form

Hello, I have a tabcontrol that creates tab pages from a "User Control" I created (a separate form in vb.net) using this code: (MainTab is the separate user control I created which has text boxes etc in it) Dim tmpTab As New MainTab myTabControl.TabPages.Add() Dim tmpTabCount As Integer = myTabControl.TabPages.Count myTabControl.TabPag...

ASP Update Panel, catching exceptions

Hi, Thisis the code I use to display an aspxloadingpanel with an ms update panel: var prm = Sys.WebForms.PageRequestManager.getInstance(); prm.add_initializeRequest(initializeRequest); prm.add_pageLoaded(pageLoaded); function initializeRequest(sender, args) { pbar.Show(); } function pageLoaded(sender, args) { var panels = ar...

XtraLabel DataBinding

I using XtraRepo rt to creating report. I add two labels in designer with names: lblCategoryName and lblCategoryDescription. Data binding and show preview: public class Category { public string CategoryName { get; set; } public string CategoryDesciption { get; set; } public Category(string name, string ...

How to remove an item from DevExpress LookupEdit?

I'm using the DevExpress LookupEdit control in my C# application. How do I remove the selected item from the LookupEdit? ...

How to get selected value from DevExpress LookupEdit?

Hai all, Am using DevExpress LookupEdit in C#.NET project,also set both Display Member and Value member property of LookupEdit.How do I get selected value from DevExpress LookupEdit. Thank you ...