|
Requirements |
|
|
RadControls version |
2008.2.1001.35
|
|
.NET version |
3.5 |
|
Visual Studio version |
2008 SP1 |
|
programming language |
C# |
|
browser support |
all browsers supported by RadControls |
I have added a RadGrid and the
EnableAJAX="True"
EnableAJAXLoadingTemplate="True"
have been removed from the RadGrid AJAX version 2008.2.1001.35 and I would like to know how I would use the EnableAJAXLoadingTemplate?
I have put the RadScriptManager and the RadAjaxManager on my master page. I have also used the RadAjaxManagerProxy in the control where I have the RadGrid to enable AJAX on the RadGrid. I see the property for EnableAJAX is on the RadAjaxManager I have on my MasterPage.
What do I need to do to get the EnableAJAXLoadingTemplate to work so when a new page is loading in the RadGrid we can get the spinning icon on the RadGrid until the new page is loaded without a full post back?
Thank you,
Daniel
<
asp:Label ID="labelslider" runat="server"></asp:Label>% Complete:<span
class="required">*</span> </td><td class="dataOne" colspan="4">
<telerik:RadSlider ID="RadSlider1" runat="server" AutoPostBack="true" OnValueChanged="RadSlider1_ValueChanged" Skin="WebBlue" />
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadSlider1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadSlider1" />
<telerik:AjaxUpdatedControl ControlID="labelslider" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
protected
void RadSlider1_ValueChanged(object sender, EventArgs e)
{
labelslider.Text = RadSlider1.Value.ToString();
}

| <Telerik:RadComboBox ID="rcbSignals" DataValueField="SignalTypeID" DataTextField="Code" Width="230" DropDownWidth="400" ShowToggleImage="true" Filter="Contains" AllowCustomText="True" MarkFirstMatch="true" HighlightTemplatedItems="true" skin="Gray" OnClientFocus="showDropDown" runat="server"> |
| <ItemTemplate> |
| <%# DataBinder.Eval(Container.DataItem, "Code")%> - <%# DataBinder.Eval(Container.DataItem, "Description")%> |
| </ItemTemplate> |
| </Telerik:RadComboBox> |
internal
class NodeCheckboxTemplate : NodeBaseTemplate, ITemplate
{
public NodeCheckboxTemplate(NodeBuilderContext context, bool editing) : base(context, editing) { }
public void InstantiateIn(Control container)
{
var node = (RadTreeNode)container;
if (IsEditing)
{
var factTextBoxControl = new RadTextBox
{
ID = container.UniqueID +
"RadTextBox",
SkinID =
"treeTextBox",
Width =
Unit.Pixel(FactGridTemplateBuilder.Width),
Text = node.Value,
SelectionOnFocus =
SelectionOnFocus.SelectAll,
EnableViewState =
false
};
factTextBoxControl.Text = node.Value;
node.Controls.Add(factTextBoxControl);
}
else
{
CreateValueLabel(container, node.Value);
}
}
}