Hello Sir/Madam,
I have a problem while using the RadPanelBar.
I have an aspx page with a radPanel bar. The RadPanelItems have user control has an item template
<telRAD:RadPanelBar ID="radOptionExercisePanelBar" runat="server" Width="100%" Height="98%"
ExpandMode="SingleExpandedItem" AllowCollapseAllItems="false">
<Items>
<telRAD:RadPanelItem runat="server" Text="Step 1 : Employee search" Expanded="true"
Selected="true" CssClass="radPanelCssClass" ExpandedCssClass="ExpandedCssClass">
<Items>
<telRAD:RadPanelItem runat="server" Value="EmployeeSearch">
<ItemTemplate>
<div id="divEmployeeSearch" class="fullWidthDiv">
<uc1:EmpSearch ID="uclEmpSearch" runat="server" />
</div>
</ItemTemplate>
</telRAD:RadPanelItem>
</Items>
</telRAD:RadPanelItem>
<telRAD:RadPanelItem runat="server" Value="EmployeeDetails" Text="Step 2 : Employee details"
Enabled="false" Expanded="false" CssClass="radPanelCssClass" ExpandedCssClass="ExpandedCssClass">
<Items>
<telRAD:RadPanelItem runat="server">
<ItemTemplate>
<div id="divEmployeeDetails" class="fullWidthDiv">
<uc2:EmpDetails runat="server" ID="uclEmployeeDetails" />
</div>
</ItemTemplate>
</telRAD:RadPanelItem>
</Items>
</telRAD:RadPanelItem>
<Items>
</telRAD:RadPanelBar>
I have placed the rad ajax manager on the aspx page as given below
<radA:RadAjaxManager ID="radAjxMgr" runat="server">
<AjaxSettings>
<radA:AjaxSetting AjaxControlID="radOptionExercisePanelBar">
<UpdatedControls>
<radA:AjaxUpdatedControl ControlID="radOptionExercisePanelBar" LoadingPanelID="radAjxLoadPanel"/>
</UpdatedControls>
</radA:AjaxSetting>
</AjaxSettings>
</radA:RadAjaxManager>
Also I have placed rad ajax managers in the individual user controls to ajaxify certain controls like button, grid etc.
I move from one panel to another panel using a button 'Next' placed on each user control.
If I remove the ajax on RadPanelBar from the parent page the ajaxLoading panel gets loaded for each control that is ajaxified on the user control. While moving from one panel to another it goes for a postback.
If I ajaxify the RadPanelBar in the parent page. Now moving from one panel to another is using ajax ; all the child controls in the user controls also behave in ajaxified manner. But the problem is the individual ajaxLoading panels don't get loaded for each child control actions which used to happen in the previous case. There is only one loading panel seen on the top of the RadPanelBar on each action of the child controls.
Is there any way I can get the individual ajax loading panels.
Or Am I going wrong somewhere in placing the ajax managers.
Grateful if you could guide me in this issue.
Thanks,
Regards,
Mausami
| Telerik.Web.UI.RadWindowUtils.Localization = |
| { |
| "Close" : "Close", |
| "Minimize" : "Minimize", |
| "Maximize" : "Maximize", |
| "Reload" : "Reload", |
| "PinOn" : "Pin on", |
| "PinOff" : "Pin off", |
| "Restore" : "Restore", |
| "OK" : "Custom text for OK", |
| "Cancel" : "Custom text for Cancel", |
| "Yes" : "Custom Text for Yes", |
| "No" : "Custom text for No" |
| }; Implementing the code above changes all the RadPopUp.. I want to have all the RadAlert have OK/Cancel Buttons and RadPrompt to have YES/NO Button..But the above code changes all the window... Thanks, DIP |
| void tP_NodeExpand(object sender, RadTreeNodeEventArgs e) |
| { |
| MethodInfo rMethod = ServiceType.GetMethod("Retrieve", BindingFlags.Public | BindingFlags.Static | BindingFlags.FlattenHierarchy, null, new Type[] { typeof(string) }, null); |
| object[] p = new object[1]; |
| p[0] = "parentID = " + e.Node.Value; |
| e.Node.ExpandMode = TreeNodeExpandMode.ClientSide; |
| ICollection DataCollection = rMethod.Invoke(null, parameters) as ICollection; |
| Populate(DataCollection, e.Node); |
| } |
| <DetailTables> |
| <telerik:GridTableView width="100%" DataKeyNames="ItemId,CampaignId,StockOptionId" Name="Stock" GridLines="None" skinid="Default"> |
| <Columns> |
| <telerik:gridtemplatecolumn headertext="Select" UniqueName="Select"> |
| <ItemTemplate> |
| <asp:CheckBox id="CheckBox1" runat="server" OnCheckedChanged="Add_CheckBox1_CheckChanged" autopostback="true" /> |
| </ItemTemplate> |
| </telerik:gridtemplatecolumn> |
| <telerik:gridtemplatecolumn headertext="Campaign"> |
| <ItemTemplate> |
| <asp:Label ID="Add_lblCampaign" runat="server" Text='<%# Eval("Campaign") %>' /> |
| </ItemTemplate> |
| </telerik:gridtemplatecolumn> |
| <telerik:GridTemplateColumn HeaderText="Avail"> |
| <ItemTemplate> |
| <asp:Label ID="Add_lblAvail" runat="server" Text='<%# String.Format("{0:n}", Eval("Avail")).Replace(".00", "") %>' /> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
| <telerik:GridTemplateColumn HeaderText="Units Text"> |
| <ItemTemplate> |
| <asp:Label ID="lblUnitsTextLabel" runat="server" Text='<%# Eval("UnitsText") %>' /> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
| <telerik:GridTemplateColumn HeaderText="Units Qty"> |
| <ItemStyle Width="90px" /> |
| <ItemTemplate> |
| <telerik:RadNumericTextBox ID="Add_tbUnitsQty" Enabled="false" AutoPostBack="true" OnTextChanged="Add_tbUnitsQty_TextChanged" |
| ShowSpinButtons="True" Width="80px" Type="Number" runat="server" Culture="en-AU" InvalidStyleDuration="100" MinValue="1"> |
| <NumberFormat DecimalDigits="0" /> |
| </telerik:RadNumericTextBox> |
| <asp:RequiredFieldValidator ID="Add_rfvUnitsQty" runat="server" Enabled="false" ControlToValidate="Add_tbUnitsQty" ErrorMessage="Required" Display="Dynamic" /> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
| <telerik:GridTemplateColumn HeaderText="Total"> |
| <ItemTemplate> |
| <asp:label id="Add_lblTotal" runat="server" /> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
| </Columns> |
| </telerik:GridTableView> |
| </DetailTables> |
| protected void Add_CheckBox1_CheckChanged(object sender, EventArgs e) |
| { |
| // How can I get the DataKeyNames, and the RadNumericTextBox, so I can calculate the Total |
| } |
ChartMarkedZone zone = chtCommunityStatus.PlotArea.MarkedZones[0];
... (format code)...
zone.BringToFront();
