Solved

Details View Identity Field

Posted on 2013-01-10
3
308 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
  • 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP.net Javascript use multiple sliders 2 30
Why does my excel data start at B1 instead of A1. 9 85
VIDEO DATASOURCE Control Resize issue 2 20
asp enable view state 1 24
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

809 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