Hello,
I have following labels (updtlbl1,updtlbl2,updtlbl3) inside a form view, They are updated by a button(btnSave) outside the formview.
I am updating the database with entity model and I am using RadAjaxmanager
I have the code as below. Data is saved successfully at the first click of the button in the db but the updated values are not displayed in form view at the first click, On the second click the values in the formview are updated correctly
I need the updated data to be displayed in formview at the first click. Please help
I have following labels (updtlbl1,updtlbl2,updtlbl3) inside a form view, They are updated by a button(btnSave) outside the formview.
I am updating the database with entity model and I am using RadAjaxmanager
I have the code as below. Data is saved successfully at the first click of the button in the db but the updated values are not displayed in form view at the first click, On the second click the values in the formview are updated correctly
I need the updated data to be displayed in formview at the first click. Please help
<
P
><
asp:FormView
runat
=
"Server"
ID
=
Formview1
"
><
BR
> <
ItemTemplate
></
P
>
<
P
><
table
cellpadding
=
"10"
cellspacing
=
"0"
border
=
"0"
class
=
"controlLabel"
><
BR
>
<
tr
><
BR
>
<
BR
>
<
td
>
<
asp:Label
ID
=
"lbl1"
runat
=
"server"
Text
=
"Dis1"
/>:
<
asp:Label
ID
=
"updtlbl1"
EnableViewState
=
"true"
runat
=
"server"
/></
td
>
<
td
>
<
asp:Label
ID
=
"lbl2"
runat
=
"server"
Text
=
"Dis By"
/>: <
asp:Label
ID
=
"updtlbl2"
runat
=
"server"
/>
</
td
>
<
td
>
<
asp:Label
ID
=
"lbl3"
runat
=
"server"
Text
=
"Dis Dt"
/>: <
asp:Label
ID
=
"updtlbl3"
runat
=
"server"
/></
td
>
</
tr
>
</
table
></
P
>
<
P
></
ItemTemplate
>
</
asp:FormView
>
<
asp:Button
runat
=
"server"
Text
=
"Save"
ID
=
"btnSave"
<
P
><
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"btnSave
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"Formview1"
/>
<
BR
>
</
UpdatedControls
>
<
BR
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>