• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 327
  • Last Modified:

Details View Identity Field

Hi!

I have created a form that has a gridview (readonly) for customers and a details view that for customer contacts.

When the user selects a gridview row, the contacts for that customer are in the details view which has paging.

When our user add a new customer, I want to autopopulate the Details view ID field with the selected Customer ID.  

How do I do this?
0
Annette Wilson, MSIS
Asked:
Annette Wilson, MSIS
  • 2
1 Solution
 
deepu chandranCommented:
Hi,

You can use AJAX ModalPopup to populate the Details

http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/ModalPopup/ModalPopup.aspx

-- Deepu
0
 
Annette Wilson, MSISSr. Programmer AnalystAuthor Commented:
I had to change the property of the field in the Entity Model to read only persistent.  In the details view, to add a new contact, the users must enter the correct customer/vendor ID.
0
 
Annette Wilson, MSISSr. Programmer AnalystAuthor Commented:
I was able to find a workable solution.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now