Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Details View Identity Field

Posted on 2013-01-10
3
Medium Priority
?
320 Views
Last Modified: 2013-03-05
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
Comment
Question by:Annette Wilson, MSIS
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 8

Expert Comment

by:deepu chandran
ID: 38766253
Hi,

You can use AJAX ModalPopup to populate the Details

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

-- Deepu
0
 

Accepted Solution

by:
Annette Wilson, MSIS earned 0 total points
ID: 38940381
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
 

Author Closing Comment

by:Annette Wilson, MSIS
ID: 38953039
I was able to find a workable solution.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question