Last post Oct 13, 2014 08:21 PM by youngsc
Oct 12, 2014 01:57 PM|youngsc|LINK
Here is my code below. I'm stumped. I've tried everything I can find on the internet, I've tried everything I know to do. I can see the button is firing however it's not performing a postback on the page or in the update panel from what I can tell. The whole
purpose of this is to fade the status label out which is not occurring. Any help would be greatly appreciated. I'm pulling out what little hair I have left.
Things I've tried:
<asp:UpdatePanel ID="CategoryUpdatePanel" runat="server">
<table style="margin-top: 10px; margin-bottom: 10px; width: 750px;">
<td style="text-align: right; width: 150px;">Category Name:</td>
<asp:TextBox ID="txtCategoryName" runat="server" Width="200px" CssClass="textboxappearance" MaxLength="45"></asp:TextBox></td>
<td style="text-align: center;">Status:
<asp:CheckBox ID="chkCategoryStatus" runat="server" Checked="True" />
<asp:Button ID="btnSaveCategory" runat="server" Text="Save Category" /></td>
<asp:Label ID="lblCategoryStatus" runat="server" Width="400px" Font-Size="Large" Text="Category Added Successfully"></asp:Label>
<asp:AsyncPostBackTrigger ControlID="btnSaveCategory" EventName="Click" />
<ajaxToolkit:AnimationExtender ID="CategoryUpdatePanel_AnimationExtender" runat="server" TargetControlID="CategoryUpdatePanel" Enabled="True">
<FadeOut Duration=".5" Fps="20" />
Oct 13, 2014 04:34 AM|sw-ing|LINK
According to your description, you could refer to the following tutorial to use UpdatePanelAnimation Extender.
Hope it will be helpful to you.
Oct 13, 2014 06:04 PM|youngsc|LINK
Thanks, I did try that. That's actually what got me wanting to use it. I copied the code verbatim and it wouldn't work. That's what led me to try all the other things.
Essentially I'm looking for a way to fade a label. I'm not tied to an update panel but for cleanliness was what I was using.
Oct 13, 2014 08:21 PM|youngsc|LINK
UPDATE: Haven't had a chance to throughly test it but I determined many other AJAX controls were not working with my asp 4.5 application. I determined that I did not install the AJAX toolkit utilizing the NuGet package. I uninstalled/removed all ajax references
installed via NuGet. All other AJAX functions (modal popup and calendar) began working immediately.
Thanks for the suggestion and views