| | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 3:42:31 PM Posts: 646, Visits: 22,710 |
| I need to add a column to a SF listview that contains a link/button (like the .NET gridview) for the purpose of selecting an order from the list and clicking the link/button to navigate to another page to view/modify that order.
Also, since BO's are 'global' (for lack of a better term") in websites, does that mean if my record pointer is set on a specific record on page 1 it will still be on that record on page 2? or will I have to store the primekey as a session variable and pass it, then call an appropriate fill() ?
Thanks.
|
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 09/26/2008 8:30:36 AM Posts: 2,685, Visits: 1,886 |
| | For a link in the list view, you can use either the FormattedString and put something like <a href="mylink{0}.aspx">{1}</a> or you can use the PopulatedThroughEvent and just do it there. As for the record persisting between pages, yes, the entire business object is persisted between pages, so it will stay on the same record.
www.bungie.net |
| | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 3:42:31 PM Posts: 646, Visits: 22,710 |
| | | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 3:42:31 PM Posts: 646, Visits: 22,710 |
| I am unable to reference the BO being used. I copied the code from the help files (winforms exampleas no webforms example exists) and this is what I get......
Intellisense properly fills in the BO types, p[roperties, and fields and the form will display BO data just fine so I am 99.99% sure I have things right.

|
| | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 3:42:31 PM Posts: 646, Visits: 22,710 |
| | also, your link above would work if my pages were named individually, but of course I have one page to handle that, how do I access a value from the selected listview row to store it to a session variable for another page to load. I guess I just dont know what event to capture, I know how to read column/row values. |
| | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 3:42:31 PM Posts: 646, Visits: 22,710 |
| also if you have any documentation in the works for webforms can I get it? 
You can tell Steve I'll sign the waiver not to jump up and down if it isn't 100% since I assume it hasn't been through QC or we would all have it. |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 09/26/2008 8:30:36 AM Posts: 2,685, Visits: 1,886 |
| I don't know that I have ever seen that error. The only thing I can think that might be causing that casting exception is a version mismatch on your DLLs. By default, .NET puts a * in the revision field for the DLL version number, which gets incremented each time you build. So, if the version being debugged is different than the version in the AppDomain within VS, then the types will not match up. That is really strange, though, since it seems that the types are exactly the same.
www.bungie.net |
| | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 3:42:31 PM Posts: 646, Visits: 22,710 |
| I have tried everything I know..... Please help.
I have rebuilt, cleaned, rebooted, re everything........ |
| | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 3:42:31 PM Posts: 646, Visits: 22,710 |
| | |
|