I have a webgrid that works fine
@{
var DB = Database.Open("CHAVI");
var grid = new WebGrid(DB.Query("SELECT [FileTrackingTag], FileID FROM (SELECT [FileTrackingTag], FileID, ROW_NUMBER() OVER (PARTITION BY [FileTrackingTag] ORDER BY FileID) rn FROM [dbo].[MasterSequence]) t WHERE rn=1 ORDER BY [FileTrackingTag]"));
@grid.GetHtml(
tableStyle: "webgrid",
columns: grid.Columns(
grid.Column(header: "Assign? ", style: "labelcolumn",
format:
@<text><input class="check-box" id="assignChkBx" name="assignChkBx" type="checkbox" value="@item.FileTrackingTag" /></text>),
grid.Column("FileTrackingTag", "FileTrackingTag")
)
)
}
However when I check off multiple boxes when I go between different tabs on the WebGrid, only the ones on the current tab get sent over (It is still the same webpage, it is just tabbing through the entries of the webgrid)
Is there a solution to keep them between webgrid tabs?