will the code below work? but if it does, then every time i add new content page and want to
have a post back on a control, i have to add that into master page? can't i just have the
manager in content page?
below code is in master.master
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
>
</
telerik:RadScriptManager
>
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"btnDecrease"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"TextBox1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
below code is in default.aspx
<
asp:Content
ID
=
"Content1"
ContentPlaceHolderID
=
"ContentPlaceHolder1"
runat
=
"Server"
>
<
asp:Button
ID
="btnDecrease
"
runat
=
"server"
Text
=
"Increase"
OnClick
=
"btnDecrease_Click"
/>
<
asp:textbox
ID
=
"TextBox1"
runat
=
"server"
Text
=
"0"
></
asp:Label
>
</
asp:Content
>