Default checkboxes on a Multi-Update page

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
lwulfers
User
Posts: 6

Default checkboxes on a Multi-Update page

Post by lwulfers »

Is there a way to default some or all of the checkboxes to selected/checked on a Multi-update page? Or a way to make sure that fields that are marked as AutoUpdate are always updated even when the checkboxes are not checked? The real issue is that I have two AutoUpdate fields that need to be updated any time a record is updated in a multi-update page, even if the fields are not shown on teh multi update page.


vincenthung
User
Posts: 88

Post by vincenthung »

If you need to checked/selected all records in Multi-Update page, you can fire the click event of the check box.

For example in Startup Script of Multi-Update Page:
$("#key").click();

To update the records, you may consider to update the "AutoUpdate fields" in Row_Updating server event.

if (CurrentPageID() == "update") {
	// Code to update the specific field.
}

Post Reply