<
div id="dvButton" runat="server" class="HideControl">
<asp:Button ID="btn" runat="server" Text="Button Text" />
</
div>
This button is hidden by default, but on postback, I change the class property of the div to show the control:
dvButton.Attributes[
"class"] = "ShowControl";
The css code looks like this:
.HideControl
{
display
:none;
}
.ShowControl
{
display:inline;
}
I'm using this in a user control, and am using the AjaxManager to ajaxify all postbacks. The problem I'm having is that the css class isn't getting updated (i.e. the control doesn't show up after postback). I would think this would be a pretty common issue. Any suggestions?
| <telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" Width="300px" Height="180px" Title="Products" Animation="None" ShowEvent="OnClick" AutoTooltipify="false" |
| AutoCloseDelay="100000" ShowCallout="false" Text="Loading..."> |
| Private Sub rgConfirmationReport_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles rgConfirmationReport.ItemDataBound |
| If TypeOf e.Item Is GridDataItem Then |
| Dim lbHistory As HyperLink = CType(e.Item.FindControl("hlHistory"), HyperLink) |
| If Not [Object].Equals(lbHistory, Nothing) Then |
| If Not [Object].Equals(Me.RadToolTipManager1, Nothing) Then |
| RadToolTipManager1.TargetControls.Add(lbHistory.ClientID, True) |
| End If |
| End If |
| End If |
| End Sub |
| Private Sub RadToolTipManager1_AjaxUpdate(ByVal sender As Object, ByVal e As Telerik.Web.UI.ToolTipUpdateEventArgs) Handles RadToolTipManager1.AjaxUpdate |
| Dim lblTest As New Label() |
| lblTest.Text = "Test" |
| e.UpdatePanel.ContentTemplateContainer.Controls.Add(lblTest) |
| End Sub |
<
ItemStyle Font-Size="XX-Small" />
but that has no effect, no matter what size font I use.I have a RadGrid with EditMode as PopUp and I put in a GridDateTimeColumnEditor.
When I click edit on the grid, it pops up for edit mode, and when I click the calendar, the calendar pops up, but it pops up behind the popup window, is there a way, when you're in EditMode as PopUp with a GridDateTimeColumnEditor to have the Calendar popup in front of the edit mode popup instead of behind it?
Thanks,
Brett