update progress breaks after executing one time in asp.net - updatepanel

I have update panel with a repeater. And update progress control. On click of link button inside repeater update progress get displayed but if 2nd time click on link button , it does not work.

Related

How to show icon buttons only on selection

I have created a page with a table widget which contains icon buttons that are connected to an edit page and a review page.
I would prevent App Maker from displaying the buttons permanently. The buttons should only be shown for a selected record. Is there a way to do this in CSS or do I have to add a hide/unhide script to the onclick-event of the record? I would also like to know how I can format the date in the record as dd/mm/yyyy.
You need to add the following built-in App Maker CSS class to the button:
visibleOnAncestorHover. You can reverse-engineer how the delete button is implemented:

Not running the lost focus event in a text box if another button is clicked

I have a data entry form and have code in the 'Lost Focus" event in each one of them. But I also have other buttons that are not tab stop. Example-Clear button, Check Input Button,and Exit Data Entry button as well as an Update Button ( I save all the entry in an access table then do a mass update to SQL Server, why I do that is a function of the requirement). But, if I click one of the buttons the lost focus event takes place, and I have to click the button again for it's code to run. Is there a way around this, where I click the button and it negates the Lost Focus event from the field where the cursor is located?
Thanks
jpl

Access Navigation Control BrowseTo "The command or action 'BrowseTo' isn't available now. Error 2046

Using MSAccess 2016 64 bit with SQL SERVER Express 2014 backend.
I have a form "frm_Navigation" with a subform control "NavigationSubform" and a Navigation control.
There are several forms for different tasks within the database that are loaded into the NavigationSubform by clicking the buttons on the Navigation control.
Some of the navigation is managed from the Navigation Control, but some is initiated from a subform. When the user clicks a button on the control, it appears "pressed", but when I navigate using the following, I am not able to make the button appear pressed without changing the colour on the button.
This is how I am currently navigation from a subform:
Form_frm_Navigation.NavigationSubform.SourceObject = "frm_SearchResults"
Form_frm_Navigation.lbl_Header.Caption = "Search Results"
I have read the following posts, but sadly I'm not able to accomplish what I am trying to do
https://blogs.office.com/2010/02/23/access-2010-browseto-docmd-and-macro-action/
http://www.utteraccess.com/forum/index.php?showtopic=1986422
navigating to a different tab in navigation subform
Opening subform within navigations (ELI5)
Main form: frm_Navigation
subform Control on Main from: NavigationSubform
Subform containing code: frm_Search
Form I am trying to open: frm_SearchResults
DoCmd.BrowseTo acBrowseToForm, "frm_SearchResults", "frm_Navigation.NavigationSubform"
Error '2046': The command or action "BrowseTo" isn't available now.
Expected outcome: frm_Search is loaded in the subform control of frm_Navigation by default. After the user enters criteria in the search fields on the frm_Search and clicks btn_search the results are populated into a table, then the frm_SearchResults is opened to display the found records.
I have tried setting the focus to the Main form first, clearing the source of the NavigationSubform, setting the source of the NavigationSubform to the form I am trying to open (I read somewhere that the form must be open) and several permutations of the BrowseTo arguments.
EDIT 2016-07-04 16:04 GMT
It works now as long as the Navigation form is first closed, then reopened. It is not elegant, but the Navigation button now lights up to indicate which is "selected".
Excerpt of code in "frm_Search", a subform of "frm_Navigation" occupying the "frm_Navigation.NavigationSubform"
Is there a way to achieve this without closing the navigation form?
DoCmd.Close
DoCmd.OpenForm "frm_Navigation"
DoCmd.BrowseTo acBrowseToForm, "frm_SearchResults", "frm_Navigation.NavigationSubform"

Refresh a DBGrid VB6

I'm trying to refresh my DBGrid after I've clicked a button to delete all the data. I've tried refresh with no results. I've tried Refresh on the DBGrid1 and on the Data object and even on the Form.
What I did was just gave them a pop-up indicating the action was complete and then closed the form. If they want to look at the blank list, they can click on the button to view it again.

ASP .NET Using a Repeater inside of UpdatePanel with UpdateProgress

I am using ASP .NET 4.0 using C#. I have a web form where all of my layout exists within an UpdatePanel. Inside it I have the following:
Panel for entering search criteria with textboxes and search button
UpdateProgress with animated .gif
Panel with a Repeater that gets populated according to my first sproc (using the search criteria) - inside each row is a LinkButton that when clicked calls my second sproc and populates a Panel within the Repeater row. I am populating the Panel in the code-behind in the ItemCommand event of the Repeater. I use the CommandArgument on the LinkButton for my second sproc. I have a CollapsiblePanelExtender to animate the Panel that contains data from my second sproc.
I have it working but not the way I want. When the search button is clicked the UpdateProgress does show my animated .gif. However, when the LinkButton is clicked within the Repeater datarow my second sproc takes about 6 seconds to process. I want to have an UpdateProgress that shows an animated .gif when this occurs. I tried to fix this by implementing a second UpdatePanel but I could not get the UpdateProgress to fire at all. Any help would be greatly appreciated. Thanks in advance.
I have this all working now.
After much digging I found this: How to do AsyncPostBackTrigger for the LinkButton in the Repeater
I was able to use this in my Page directive: ClientIDMode="AutoID"
I also ended up adding an ImageButton to my Repeater datarow, and whether I click on the LinkButton, ImageButton, or Search button I get the desired result now - the UpdateProgress fires and displays the animated .gif file.
My UpdateProgress resides inside of my UpdatePanel and has an AssociatedUpdatePanelID set to the ID of my UpdatePanel.
I hope this helps someone.