how to pass value from fancybox popup model to parent window asp.net - fancybox

I have 3 buttons in my fancybox, I want to check which button is clicked in fancy box and then I have to update parent content accordingly.

You could define some hidden input type in your parent and do something like:
//onclick of some button on fancybox
window.parent.document.getElementById("yourHiddenFieldId").value = "someValue";
Did you mean something like this.
Hope it helps

Related

jQuery Parent checkboxes with child radio buttons

Hello I am trying to figure out if we can have a checkboxlist with child radio buttons?
Something like this
Is it possible in jstree? Does anyone have an example? When the checkbox is checked then we should show the children radiolist and if it is unchecked it should be hidden.
And also the data can be an AJAX call to get the data from the db.

Any links or HTML form items like button inside the Bootstrap 4 modal is unusable

I have cart icon, which when clicked loads the cart of the user in a Modal. However, any link or HTML form items like input or buttons that are within this modal are unusable. It can never be brought to focus nor clicked. I tried playing with CSS property z-index with no success.
Check site here.
Add any product to cart and then click bag/cart icon on the top right to see the issue.
Changing the pointer-events value in CSS solved the issue. wrapping the content part in an element with class modal-content is also fixing the issue as suggested in comments.

can't make child form stay on top in MS access

I have a full-screen form (using popup) which contains a button that launches a child form. I read that I have to set the child form as popup to make it stay on top. I've done that, but it is still not working. After more googling around, I found out that it's not working because the parent form is also set to popup. How to solve this problem with maintaining the parent form in full screen mode?
As I understood, you need to open child form and it should stay above main form. Both forms should be popup, but if the size of child form will be less than main form, user can click on main form and child form disappears under main one even if child form has Modal property. If you don't want this, just open child form with acDialog WindowMode parameter.

jqgrid editGridRow selection list for each cell

In my case, I want the user to pickup the values by clicking on a ">" type image at the end of the cell and a modal window is opened. Within the modal window a dynamic way to pass the value selected back to the cell.
You should look into this answer..instead of having custom button you can have an image button with each cell, in this answer he's adding a custom button in pager, but you can have a custom button with each cell like this.
Now after adding a image button, on click function you can get the value of the column using getCol and open a dialog using jQuery like this and then you can use setCol property of jqGrid to set the value of column.
Now try to write code using this approach. If you get any difficulty let us know.

Parent-Child Window Interaction GWT

There is parent window, which has a Panel. When user clicks on a button from parent window then a popup opens up. On popup user populates some fields and clicks on OK button then a new row should be created on parent window's panel and set values from popup window and close it.
Any Idea how to do this in GWT? Please post some example if you have. Thanks in advance for your help.
You must create a class representing the Popup and add a field to it referencing the Parent Window. In the constructor of the Popup, you pass the Parent Window as a parameter. When the user clicks ok in the popup, you call the PArent window and ask it to add a row via a method present in the ParentWindow