NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: JPMacDonald on October 17, 2012, 06:47:09 AM

Title: Best approach for additional buttons on a browse to process tagged records.
Post by: JPMacDonald on October 17, 2012, 06:47:09 AM
HI,

I'm trying to build off the Tagging example and what I want to do is to add a series of buttons to the right of the browse table, that is hurdle one. After a user tags a number of records I then want to allow the user to click one of the buttons on the right which runs a server side procedure that updates those records, hurdle two. After that process completes I want to refresh the browse contents, hurdle three.

My approach has been, but I am not certain if it the best one, is to created a memory form with just the buttons on it (no save or cancel) and made it a child of the browse placed to the right. I am able to run server side code when the button is clicked but for the life of me I cannot figure out how to refresh the browse.

Any thoughts on a) the approach and b) refreshing the browse,  would be most appreciated.

Regards

Parker
Title: Re: Best approach for additional buttons on a browse to process tagged records.
Post by: kevin plummer on October 17, 2012, 02:11:35 PM
I don't know if its the best approach, but what I do is just stick the browse on the memory form with my buttons to process the tagged records. You can then easily refresh the browse after clicking a button etc.
Title: Re: Best approach for additional buttons on a browse to process tagged records.
Post by: JPMacDonald on October 18, 2012, 05:41:56 AM
Kevin,

It seems I have it backwards, my usual MO ;-)

I'll try your suggestion, thanks for that.

Regards

Parker