Hello,
I have a Button(s) in the Editor, when User clicks on that Button then a Telerik Window will be opened with a Terlerik Grid (in that Window) (SEE attached Files)
So .. if i click on it, and choose a Row from the Grid .. and then save the selected option (SEE attached Files) and then try to save the Event (Without changing another Value) ..
So normally if i change the selected option from any DropDownList or any Item that directly Programmed in that way :
<div class=
"k-edit-label"
>
<label
for
=
"Prioritaet"
>Priorität</label>
</div>
<div data-container-
for
=
"Prioritaet"
class=
"k-edit-field"
>
@(Html.Kendo().DropDownListFor(model => model.Prioritaet)
.DataTextField(
"Prioritaet"
)
.DataValueField(
"Prioritaet"
)
.OptionLabel(
"auswählen"
)
.Events(events => events.DataBound(
"onDataBound_DropDownListFor_Prioritaet_KOMM"
))
.ValuePrimitive(
true
)
//.Value(ViewData["Prioritaet"].ToString())
.BindTo(
new
[]
{
new
{Prioritaet =
"1 = Niedrig"
, PrioritaetColor =
"blue"
},
new
{Prioritaet =
"2 = Normal"
, PrioritaetColor =
"green"
},
new
{Prioritaet =
"3 = Hoch"
, PrioritaetColor =
"red"
}
})
)
</div>
So this "data-container-for" will take care of it usually .... but not in my situation ! Because I'm selecting the Value from the Grid and Not From the Button, Exp. :
<div class=
"k-edit-label"
>
<label
for
=
"Recid_person"
>Person</label>
</div>
<div data-container-
for
=
"Recid_person"
class=
"k-edit-field"
>
@(Html.Kendo().Button()
.Name(
"PersonenSuche_BTN"
)
.HtmlAttributes(
new
{type =
"button"
} )
.Content(
"Personen Suchen"
))
</div>
So i need that the Event Editor the Update() calls, so that i can Update only that Field (if Only one Field (Value) changed) ..
Steps To Follow :
1 - Editor_Buttons_Grid
2 - Editor_Buttons_Grid_Button
3 - Update_Speichern_X
Thank you in advance
regards Karam