Solved

Details View Identity Field

Posted on 2013-01-10
3
304 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
Comment Utility
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
Comment Utility
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
Comment Utility
I was able to find a workable solution.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now