开发者

Web interface pattern for associating two entities from data-sets without javascript

开发者 https://www.devze.com 2022-12-16 20:50 出处:网络
I am writing an ASP.Net MVC application.I have two entities - patients and treatments - which belong to large datasets with more than a thousand of each.The user needs to be able to easily create an a

I am writing an ASP.Net MVC application. I have two entities - patients and treatments - which belong to large datasets with more than a thousand of each. The user needs to be able to easily create an association between the two - say add a treatment to a patient. I cannot use ajax or javascript. The list of treatments would be too large for a dropdown or listbox. Has a开发者_C百科nyone got any nice UI ideas that would work well in asp.net mvc? Is there any standard pattern for solving this?

Regards Luke


In this particular setup, I would assume the user is already looking at a "main" screen, say patient.

I would probably use a "search engine" interface for this. To realize it, I would probably have the main page (patient) generate an iframe with a src attribute that includes the id of the patient. The search results would be paginated and would come back with checkboxes or radiobuttons in front of the items. Inside the search results would be a submit button to save the association

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号