dfaruque / Serenity.Extra

Name of the repo says that this is an EXTRA of http://serenity.is platform
60 stars 34 forks source link

any function to close tab and show remaining fields on form #51

Closed reach2rv closed 3 years ago

reach2rv commented 4 years ago

Hi.

how we can close TAB Attribute of the form so remaining fields can be shown on the form or in a category instead of TAB. Example

[TAB("Test")]
public string test1 {get; set;}
public string test2 {get; set;}
public string test3 {get; set;}

[TAB("Test1")]
public string test4 {get; set;}
public string test5 {get; set;}
public string test6 {get; set;}

//Tab Close
// following fields will be out side of TAB
[Category("CAT")]
public string test7{get; set;}
public string test8 {get; set;}
public string test9 {get; set;}

Regards,

reach2rv commented 3 years ago

@dfaruque hey.. any possible solution on this??

dfaruque commented 3 years ago

it is possible if you put them out of tab category on the top like the following.


// following fields will be out side of TAB
[Category("CAT")]
public string test7{get; set;}
public string test8 {get; set;}
public string test9 {get; set;}

[TAB("Test")]
public string test1 {get; set;}
public string test2 {get; set;}
public string test3 {get; set;}

[TAB("Test1")]
public string test4 {get; set;}
public string test5 {get; set;}
public string test6 {get; set;}
reach2rv commented 3 years ago

Yes that can happen but then design of the form will be messed up as those fields in end required to at bottom of the form

dfaruque commented 3 years ago

In that case there is no built in feature like this.

reach2rv commented 3 years ago

Do you have any idea how it can be done. I have tried with appending

to the field and category next to tab but it won't help.