Problem with webforms


Author
Message
Keith Chisarik
Keith Chisarik
StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)
Group: StrataFrame Users
Posts: 939, Visits: 40K
*************************** Question 1 ****************************

I have a webform with bound textboxes that is exibiting some odd behavior. I am hoping it will ring a bell with you perhaps.



My form works, the problem I had a few days ago went away with 1.5. The problem is this, only two 'navigate' events work.



Scenario 1:



When the form loads my initial record from the fill method is displayed, great.

When I hit my next button, the record pointer moves and the bound textbox refreshes, great.

When I hit next again, the page refreshes but I am on the same record.

I can only navigate 'prior' and 'next' and toggle between these two records.



Scenario 2:



When the form loads my initial record from the fill method is displayed, great.

When I hit my last button, the record pointer moves correctly to the last record in the table and the bound textbox refreshes, great.

I can navigate 'prior' and toggle between these two records ( the first and last record, not the last and the one prior to it)



Also my edit button correctly sets the state of the bound controls to enabled, but the call to save() refreshes the form, sets the controls to disables, but does not save my changes.



************************** Question 2 ********************************

Every time I make a change to the business object class (contained in its own project as in the WebSample) in the web project I have had to manually move the .dll to the \bin directory of the webforms project, remap, and rebuild. Is that right?



Thanks.

Keith Chisarik
Replies
Keith Chisarik
Keith Chisarik
StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)
Group: StrataFrame Users
Posts: 939, Visits: 40K
this odd behavior continues, I need help.



Save issue:

I call save and the following line returns true as I step through it, yet my values do not get updated. I know the binding is correct because if I change the values in SQL Server itself, I see the updated values in my web page.

Transaction.Save() = MicroFour.StrataFrame.Data.SaveUndoResult.Success



Navigation:

I removed all but 5 records for testing purposes. The webform properly displays the first record and it will navigate to the second record, upon hitting the "next" button subsequent times nothing happens, the page flickers but no navigation occurs. If I hit "last" it will properly navigate to the last record, then if I hit "prior" it goes back to the first record. Very odd.



I am using....

Transaction.Navigate(MicroFour.StrataFrame.Business.BusinessNavigationDirection.Next)

Transaction.Navigate(MicroFour.StrataFrame.Business.BusinessNavigationDirection.Prior)

Transaction.Navigate(MicroFour.StrataFrame.Business.BusinessNavigationDirection.Last)

Transaction.Edit()



(please note 'transaction' is the name of my BO, no actual transactions are being used here)



This table navigates fine using winforms and the exact same fill methods.

Keith Chisarik
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Is SmartNavigation turned on, by chance? And is this a web project, or a web site?
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