<
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
Hi,
I have created the dash board page, using telerik charts
Telerik version : RadControls for ASPNET AJAX Q1 2008
and visual studio 2008 / sqlserver.
I have 10 user controls having charts.
In the dash board page I am creating the zones and dock controls runtime and inside dock
control, binding the user controls.
Now when i moved to the dash board page it calls all the 10 stored proc to bind the charts
which is in usercontrol one by one and display the dashboard page simultaneously.
What i want is to call all the 10 stored proc simultaneously and display that one by one as
loaded.
Like igogle they load the dashboard page and uses the loading image to the items which takes
time to load.
can any body help me.