For the first issue, you should try calling the Reposition method in OnClientActiveTabChanged attribute of the Ajax:TabContainer. With the sample app you sent us, we tried a simple call such as alert(0) in that attribute and it threw an error, which shouldn't normally happen. Please make sure that the OnClientActiveTabChanged attribute works properly first before clling the Reposition method in that attribute.For the second issue, we tried defining the OnClientClick on your "Add a Comment" link as follows and it didn't even show the alert:<asp:LinkButton ID="lbtnAddComments" runat="server" Text="Add a Comment" OnClientClick=alert(0)"></asp:LinkButton>Please make sure that the OnClientClick works properly and all the Reposition method then. For the link button, you might need to call the Reposition mehod with winow.setTimeout method as follows because you might need a time delay before the popup is shown after the add link is clicked:window.setTimeout('Reposition()', 100)
© 2002-2019 Karamasoft LLC. All rights reserved.