Partial class LookupInfo

Mar 14, 2011 at 10:08 PM

Is possible to get (in futures checkins) the LookupInfo Class as Partial Class?

I want to change the code in lookup.ascx  to can change the action called for get the descripcion after the user selects an item and call another js function to updates others editors.

 

Thanks.

Mar 15, 2011 at 9:00 AM

so basically you want a lookup that behaves as an AjaxDropdown bound to his parent ?

Mar 15, 2011 at 2:00 PM

More or less, yes.

I want to call another action instead of "Get". In my case, I want to call a Json, to populate anothers fields.

Mar 16, 2011 at 2:41 PM

you can look at the html using firebug, and see that there is a <div style="display:none;" that has all the values on the inside, you could bind a js function to the change event:

 

$('#thediv').change(function(){

// populate your fields

});