Ajax DataGrid Support Product Page

Need ADG to open LightBox with dynamic URL

Asked 14 Mar 2011 21:37:37
has this question
14 Mar 2011 21:37:37 David volle posted:
I'm using ADG to open a dmxlightbox with a form, the problem is that the connector in ADG brings up the standard DMXLightBox dialog, so I don't have any pay to pass in the querystring to the URL being fed to the lightbox.
For example the grid shows record with ID 23, so when I open the lightbox I want to open edit.asp?ID=23.
The problem is that I can enter {ID} to pass a column from the grid within the grid dialog, but it does not work if I enter that in the DMXLightbox dialog.
Here is the URL I entered edit.asp?ID={ID} but when the lightbox code is inserted into the grid code the {ID} is never converted to the value from the ID column, it just passes the string "{ID}" which of course won't work.
Please let me know if there is a workaround!
It would be awesome if the grid could open a dynamic url in lightbox.


Replied 14 Mar 2011 23:52:21
14 Mar 2011 23:52:21 David volle replied:
Problem Solved!
My mistake [|)] sleeping on the job.
Column data must be accessed by the column name from dataset, and I was accidentally using the Label not the column name, so this works fine when you fix the operator error. []

Reply to this topic