Hi Zdenek,
Thanks for the link to the article.
I am having a ascx file with the below code. "User Control" webpart has got ajax ticked.
My ASCX page
<asp:Button id="TestButton" runat="server" OnClick="Button_Clicked" Text="Test button" />
My ASCX.cs page
protected void click(object sender, EventArgs e)
{
TestButton.Text = "test success";
}
It is displaying the button fine and works but when clicked it refreshes the whole page but we just want to refresh that label not the whole page.
Where do I need to keep the below line:
CMS.ExtendedControls.ControlsHelper.GetPostBackEventReference(this, "");
Thanks
Gitesh Shah