* InputCircle.cs: An input control specialized for circle selection

* UserCard.cs: Displays user informations on a little div

* Estim.cs:
* WebControls.csproj:
* CircleInfo.cs:
* CircleProvider.cs:
* CircleApiController.cs:
* BasketApiController.cs:
* ITContentProvider.csproj:
* CalendarApiController.cs:
* WorkFlowApiController.cs:
* NpgsqlCircleProvider.cs:
* FrontOfficeApiController.cs:

* InputUserName.cs: Fixes the ToolBoxData attribute

* Web.csproj:
* Circle.cs: refactoring

* instdbws.sql: Foreign keys are cascading updates and deletions

* Estim.tt:
* Profile.cs: User's profile does not contain anymore the main e-mail
  address, it conflicts with registration informations, it is not part
  of the profile data
This commit is contained in:
Paul Schneider 2015-06-10 23:38:18 +02:00
commit 6680addcc8
24 changed files with 796 additions and 227 deletions

View file

@ -39,7 +39,7 @@ namespace Yavsc.WebControls
Level = AspNetHostingPermissionLevel.Minimal),
ParseChildren (true),
DefaultProperty ("Name"),
ToolboxData ("<{0}:ResultPages runat=\"server\"> </{0}:ResultPages>")
ToolboxData ("<{0}:InputUserName runat=\"server\"> </{0}:InputUserName>")
]
public class InputUserName: WebControl
{
@ -70,9 +70,7 @@ namespace Yavsc.WebControls
/// Gets or sets the value.
/// </summary>
/// <value>The value.</value>
[Bindable (true)]
[DefaultValue("")]
[Localizable(true)]
[Bindable (true),DefaultValue(""),Localizable(true)]
public string Value {
get {
return (string) ViewState["Value"];
@ -82,9 +80,11 @@ namespace Yavsc.WebControls
}
}
[Bindable (true)]
[DefaultValue("")]
[Localizable(false)]
/// <summary>
/// Gets or sets the client side action on change.
/// </summary>
/// <value>The on change.</value>
[Bindable (true),DefaultValue(""),Localizable(false)]
public string OnChange {
get {
return (string) ViewState["OnChange"];
@ -99,9 +99,7 @@ namespace Yavsc.WebControls
/// Gets or sets the in role.
/// </summary>
/// <value>The in role.</value>
[Bindable (true)]
[DefaultValue("")]
[Localizable(true)]
[Bindable (true),DefaultValue(""),Localizable(true)]
public string InRole {
get {
return (string) ViewState["InRole"];
@ -115,8 +113,7 @@ namespace Yavsc.WebControls
/// Gets or sets a value indicating whether this <see cref="Yavsc.WebControls.InputUserName"/> is multiple.
/// </summary>
/// <value><c>true</c> if multiple; otherwise, <c>false</c>.</value>
[Bindable (true)]
[DefaultValue(false)]
[Bindable (true), DefaultValue(false)]
public bool Multiple {
get {
@ -128,9 +125,11 @@ namespace Yavsc.WebControls
}
}
[Bindable (true)]
[DefaultValue(null)]
/// <summary>
/// Gets or sets the empty value.
/// </summary>
/// <value>The empty value.</value>
[Bindable (true), DefaultValue(null)]
public string EmptyValue {
get {
return (string) ViewState["EmptyValue"];