WebBusinessBindingSource and method add


Author
Message
Olivier
Olivier
StrataFrame User (324 reputation)StrataFrame User (324 reputation)StrataFrame User (324 reputation)StrataFrame User (324 reputation)StrataFrame User (324 reputation)StrataFrame User (324 reputation)StrataFrame User (324 reputation)StrataFrame User (324 reputation)StrataFrame User (324 reputation)
Group: StrataFrame Users
Posts: 96, Visits: 805
Hello,

I use the Telerik RadGrid for a long times , only readonly view.

I have a question about a good way, my grid is link with WebBusinessBindingsource
and it's work very well.

I have a button in my WebForm to Add a record, when i start
This.MyBo.Add()
This.MyRadGrid.Databind();

The grid contain my old Fill Data on my Businessobject.

How can i get a empty grid when i want to add a record.

i hope to be explain.

Thanks
Olivier,

==============================================
Asp.net C# - Strataframe - telerik
==============================================
Edited 11 Years Ago by Olivier
Replies
Olivier
Olivier
StrataFrame User (324 reputation)StrataFrame User (324 reputation)StrataFrame User (324 reputation)StrataFrame User (324 reputation)StrataFrame User (324 reputation)StrataFrame User (324 reputation)StrataFrame User (324 reputation)StrataFrame User (324 reputation)StrataFrame User (324 reputation)
Group: StrataFrame Users
Posts: 96, Visits: 805
Hello Ben,

i try to find a solution and i come back to tell you.

I have a question about Bo store in session variable,

if my user let the browser during a call for 20 minutes in editing state,
strata lose information when the user want to validate this.

I know the user still too long, but it's happen like this.

Have you an idea to test if the Session use with strata are expired, to reload data in memory ?

thanks
OLivier

==============================================
Asp.net C# - Strataframe - telerik
==============================================
StrataFrame Team
S
StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Hrm, Olivier, I don't think there is a pretty way to handle the continuing of a session if the user lets the session time out.  

You could increase the session timeout in IIS to more than 20 minutes.  In the page load, if the user tries to validate some data and the business object is empty, you know that the session has timed out and you can show a message to the user that tells them their session has timed out and they need to not wait so long before trying to validate the data.

Or, you could create you're own session tracking for this data by logging it to SQL Server.  You would just need to log, by user, what business object they are editing and the primary key.  Then, at the top of the page load, if the user has an editing log record, and the requested business object is empty, you would repopulate the business object.
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