I
am trying to insert/edit items in the TreeList using a pop-up usercontrol.And when finish insert/update, user control can not close .Please tell me how to close Popup user control.Thank u .
Here is my code in User control :
Here is my code in User control :
<
telerik:RadButton
ID
=
"btnInsert"
runat
=
"server"
Text
=
"Insert"
Width
=
"75px"
CommandName
=
"PerformInsert"
Visible ="<%#DataItem is Telerik.Web.UI.TreeListInsertionObject %>"
onclick="btnInsert_Click">
<
Icon
PrimaryIconCssClass
=
"rbSave"
/>
</
telerik:RadButton
>
<
telerik:RadButton
ID
=
"btnSave"
runat
=
"server"
Text
=
"Save"
Width
=
"75px"
CommandName
=
"Update"
Visible ="<%#!(DataItem is Telerik.Web.UI.TreeListInsertionObject) %>"
onclick="btnSave_Click">
<
Icon
PrimaryIconCssClass
=
"rbSave"
/>
</
telerik:RadButton
>
<
telerik:RadButton
ID
=
"btnCancel"
runat
=
"server"
Text
=
"Cancel"
Width
=
"75px"
CommandName
=
"Cancel"
CausesValidation
=
"False"
>
<
Icon
PrimaryIconCssClass
=
"rbCancel"
/>
</
telerik:RadButton
>