Add new lookup value through webgrid column using webcombo

4 replies. Last post: March 26, 2012 9:35 PM by Yudi
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
berk kurtMember

I'm trying to achieve a simple task:


For example, I have a customer data source that has the fields "Name", "Lastname" and "SchoolNameId" that schoolName is a foreign key relation to the "SchoolNames" table and I'm able to show the SchoolName.Name value from the webCombo control in the grid successfully like:


Name | Lastname | SchoolName

------------------------

Jon     | Calagham | Oxford

Carl    | Jaxs          | Stanford


All I need to achieve is to add a new SchoolName through the Customer webgrid if there's any with the one to be added.


So I've tried to set EntryMode to "InstantLookup" but since the SchoolName table needs extra columns to be set like the primary key "Id" column that are not nullable; I couldn't find a method to access the save of the lookup item.


I'd love to say thanks in advance.


All times are GMT -5. The time now is 3:28 AM.
Previous Next