Problem viewing controls to use or SEEK SeekToPrimaryKey


Author
Message
Eduardo
Eduardo
StrataFrame Beginner (16 reputation)StrataFrame Beginner (16 reputation)StrataFrame Beginner (16 reputation)StrataFrame Beginner (16 reputation)StrataFrame Beginner (16 reputation)StrataFrame Beginner (16 reputation)StrataFrame Beginner (16 reputation)StrataFrame Beginner (16 reputation)StrataFrame Beginner (16 reputation)
Group: Forum Members
Posts: 12, Visits: 80
Hello
I've got a problem here that I do not know if I can explain it.

The scenario is as follows, I am using a DevExpress grid on it and I need to do some validations when the visual grid is filled, so I used a method of the Grid that will "painting" as it is completed and to get information in my database data, used the Seek method of BO, and that validation works, but I have two strange problems (as I said, I do not know if I can explain it)

1 - When a call messageForm grid filled with the buttons it does not appear if you do something as basic as MessageForm.ShowMessage (Strataframe ") with the empty grid, the OK button appears, if the grid is full, the button disappears.

2 - When you call a MessageBox. NET, the application is without focus and the message only appears if I press the ALT button. It's the same case, if the grid is empty, no need to press ALT, if full, the message only appears if I press ALT.

I did an analysis on my validation routine and remove methods SEEK behavior MessageForm and MessageBox are normal.
I would use a Filldatatable, but is very slow.

TIA

Eduardo Oliveira

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hi Eduardo.

I find it a bit difficult to go through your issue this way, but here are some things we could try to start with.

Have you tried to do the same thing with a plain DataGridView, instead of the DevExpress? Also, if you can do it this way and face the same issues, could you post a small sample so we could have a look?

Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Eduardo,

That is very strange. The BO.Seek() should not affect the UI unless there is some sort of threading being used.



Could you post the code you use where you are using the BO.Seek() to see if something comes up?

Edhy Rijo

Eduardo
Eduardo
StrataFrame Beginner (16 reputation)StrataFrame Beginner (16 reputation)StrataFrame Beginner (16 reputation)StrataFrame Beginner (16 reputation)StrataFrame Beginner (16 reputation)StrataFrame Beginner (16 reputation)StrataFrame Beginner (16 reputation)StrataFrame Beginner (16 reputation)StrataFrame Beginner (16 reputation)
Group: Forum Members
Posts: 12, Visits: 80
I apologize for the unnecessary post, but the problem was a method of DevExpress (ClearColumnError).

I really was scared to imagine it would be a problem in relation to Strataframe, but fortunately I have nothing to complain of this fantastic tool.

Thank you for listening and once again apologize for the unnecessary post

Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Eduardo,



Glad you find the source of the problem and no need to apologize at all. Smile

Edhy Rijo

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hey Eduardo!

No need to appologize. We've all been through things like that. Thanks for the kind words. Wink

Peter Jones
Peter Jones
Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)
Group: Forum Members
Posts: 386, Visits: 2.1K
Hi Guys,



I know this specific problem has been reconcilled however there is bug in seek to primary key when the pk is a guid. Refer post:



http://forum.strataframe.net/Topic26948-10-1.aspx



Cheers, Peter
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Thanks Peter.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search