This is a migrated thread and some comments may be shown as answers.

Popup lookup Grid within a Grid

2 Answers 82 Views
Grid
This is a migrated thread and some comments may be shown as answers.
R
Top achievements
Rank 1
R asked on 07 Jun 2012, 06:38 PM
I am new to RadControls and am trying the trial version.

What I am trying to find is an example of the following (I've searched the forum for hours (over 2 days)):

Within a Grid there will be textboxes. When a textbox is clicked, I want a different grid to popup so that the user can click on an item in that second grid. The second grid will then close and the textbox (in the first grid) will populate with data that was selected from the second grid.

I think this is a fairly common behavior, in short, a Lookup of potential data that can be filled in the textbox.

Very similar to a calendar lookup, when a date is selected, the textbox fills with that date. I just want to show a grid and fill the textbox with the selected data (string, or whatever).

If there is a RadControl that does this out of the box, then I would like to know the name. I thought I had looked at all those nice tools and didn't seem to find a proper match for this functionality.

I look forward to your help :-)

Thank you in advance,

R

2 Answers, 1 is accepted

Sort by
0
Elliott
Top achievements
Rank 2
answered on 07 Jun 2012, 07:20 PM
try building either an edit template or a user control of the second grid
set EditMode to popup
then issue an Update or Cancel command to close it

how will you fill a textbox with the contents of an entire row?
0
R
Top achievements
Rank 1
answered on 07 Jun 2012, 07:27 PM
Marianne,

Thank you for your response.

I will fill the text box with a single value chosen from the row. I only need the ID of the record (row), the other data is to help the user identify the proper record.

The user will see something like: PartNumber, Description, location. When they click on a row, I will store the ID of that record in the textbox (in this case, PartNumber).

Again, thanks for your suggestion, I will give it a try.

R


08Jun2012, Fri
Marianne,

Again, thank you for your reply.

Unfortunately, I do not think this solution quite fits into what I need. I attempted several ways to make this work, and have not been successful.


I do appreciate your feedback and thank you for participating :-)



Any other suggestions people?

Thanks,

R
Tags
Grid
Asked by
R
Top achievements
Rank 1
Answers by
Elliott
Top achievements
Rank 2
R
Top achievements
Rank 1
Share this question
or