silverlight - Lightswitch modal window -


I have the standard CreateNewEntity screen; There may be a list of other types of entities in the unit by default, there is an added button by default Which opens the modal window when the user wants to add another entity to the archive However, the default modal window lacked some required functionality so I did some research that the default model screen can not be modified. Therefore, I found a good custom modal window problem is that I can not be able to use the modal window field to apply the required logic. There are two dropdown lists that are linked in one change in the other dropdown list options. I'm stuck in this special part:

  var proxy = this.FindControl ("DodavanjeParcele"); Proxy Controller available = = (S, E) = & gt; {var ctrl = E. Control as the system. Windows Control. Control; // How to access the ctrl field? };   

"Dodavanese Perceleau" is a custom modal window. Prior to this, the modal window is immediately and started. This button pops up as expected in the form of clicks and functions. The only thing missing is the above rules. To define rules I need to change the event event for the modal window field. As I have seen above I tried to put IRPC in the standard Windows control. This is where I got stuck. I do not think there is any way to reach the control area and set the event handler. Any thoughts?

If I understand you correctly, I am not sure that you are searching through control Or why anything should be inserted.

Control 1 is a unit that creates an autocomplete box (dropdown list). That selection has been copied into the local property in the Control1_Changed method. The property is used as a parameter in a filter query to create

Control2

C #:

  Private Zero Control1_Changed () {this.MyLocalProperty = this.Control1.SelectedItem; }   

VB.NET:

  Private sub-control 1_Changed () Me.MyLocalProperty = Me.Control1.SelectedItem End Sub   

Just make sure that you have the Auto Execute query checked in the properties of Control2 and the second control should be updated and filtered when Control1 changes the query parameter.

Auto Execute

Code in all screens Yann Modal The helper takes place inside, so you do not have to do anything special.

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -