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
no effect.........

Keith Chisarik
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Keith,

One thing I would like to test to make sure it is not an environment issue is for you to test the sample web application because it has this exact functionality you are trying to acheive.  You can navigate and save and the fields and records are updated properly.  You can get to the web sample through the menu:

Start -> All Programs -> MicroFour StrataFrame -> Samples -> VB.NET -> Web Sample

Just FYI, it uses the StrataFrameSample database and you may need to change your connection string information in the global.asax file.

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