<
div id="div_ChartWidgetMain" runat="server" style="padding-top:10px;overflow:visible; background-color:White; width:100%;">
<telerik:RadAjaxManagerProxy ID="radAjaxManagerProxy_ChartWidget" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="ChartSelector">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="ChartBar"/>
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="btnShow" >
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="PanelGraphicContainer"
LoadingPanelID="radAjaxLoadingPanel"/>
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="ButtonApplySelectedCPU" >
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="ChartBar" />
<telerik:AjaxUpdatedControl ControlID="PanelGraphicContent"
LoadingPanelID="radAjaxLoadingPanel" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManagerProxy>
<telerik:RadWindowManager ID="RadWindowManager_ChartWidget" runat="server"
ShowContentDuringLoad="false"
EnableEmbeddedSkins="false" VisibleStatusbar="false"
Behavior="Default" Behaviors="None" Skin="AvalonSkin"
VisibleTitlebar="True" Modal="true" style="z-index:9000">
<Windows>
<telerik:RadWindow ID="AlertInstanceDetail" runat="server"
Width="850px" Height="500"
BorderColor="#BDE0B8" BorderStyle="Solid" BorderWidth="4px"
Title="Instances Detail"
ReloadOnShow="true" OnClientClose="CallBackFunction">
</telerik:RadWindow>
<telerik:RadWindow ID="CPUTableWindow" runat="server"
Width="800px" Height="650px"
BorderColor="#bde0b8" BorderStyle="Solid" BorderWidth="4px"
Title="CPU Table Selections"
VisibleStatusbar="false"
OnClientShow="OnCpuTableClientShow"
Behavior="Close" OnClientClose="OnCpuTableClientClose"
>
</telerik:RadWindow>
<telerik:RadWindow ID="PrintPreviewWindow" runat="server"
Width="900px" Height="650px"
BorderColor="#bde0b8" BorderStyle="Solid" BorderWidth="4px"
Title="Print Chart"
VisibleStatusbar="false"
OnClientShow="OnPrintPreviewClientShow"
Behavior="Close" OnClientClose="OnPrintPreviewClientClose"
>
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
<telerik:RadAjaxLoadingPanel ID="radAjaxLoadingPanel_ChartWidget" runat="server" ZIndex="5980">
<table style="width:100%;height:100%;background-color:#E1E1E1;">
<tr style="height:100%; width:100%;">
<td align="center" valign="middle" style="width:100%; height:100%">
<img alt="Loading..." src='~/Images/logoBig.gif' style="border:0;" ID="imgLoading" runat="server" />
</td>
</tr>
</table>
</telerik:RadAjaxLoadingPanel>
<asp:Panel id="ChartBar" class="Left" style="margin-left:10px;" runat="server">
<span style="font-size:16px;font-weight:bold">Chart:</span>
<telerik:RadComboBox ID="ChartSelector" CausesValidation ="false"
runat="server" Height="150px" Width="250" EnableEmbeddedSkins="false"
OnClientDropDownOpened="OnClientDropDownOpenedHandler" OnClientLoad="comboLoad"
Skin="Default" onselectedindexchanged="ChartSelector_SelectedIndexChanged" >
<ItemTemplate>
<div id="div1" onclick="StopPropagation(event);">
<telerik:RadTreeView ShowLineImages="true" EnableEmbeddedSkins="false" Skin="AvalonSkin"
style="white-space:nowrap" ID="Charts" runat="server"
OnClientNodeClicking="nodeClicking"
OnNodeClick ="OnTreeNodeClick"
CausesValidation="false" RegisterWithScriptManager="False" >
</telerik:RadTreeView>
</div>
</ItemTemplate>
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
</telerik:RadComboBox>
<telerik:RadComboBox ID="ShowSelector" runat="server" Skin="Default"
Width="160px">
<Items>
<telerik:RadComboBoxItem Text="Show Charts" Value="0" />
<telerik:RadComboBoxItem Text="Show Data" Value="1" />
</Items>
</telerik:RadComboBox>
<telerik:RadComboBox ID="intervalMode" runat="server" Skin="Default" Width="160px"
OnClientSelectedIndexChanged="needsToSelectIntervals"
EmptyMessage="Select Mode"
Enabled="false">
</telerik:RadComboBox>
<telerik:RadComboBox ID="intervals" runat="server" Skin="Default" Width="200px" Height="200"
HighlightTemplatedItems="true"
MarkFirstMatch="false"
AllowCustomText="false"
EmptyMessage="Select Intervals"
Enabled="false">
<HeaderTemplate>
<img ID="imgSelectAllintervals" style="float:left; overflow:visible; cursor:pointer; margin-right:5px"
src="~/Images/mini_select.jpg" runat="server" onclick="javascript:IntervalsSelectAll();" alt="X" />
<img ID="imgClearintervals" style="float:left; overflow:visible; cursor:pointer;"
src="~/Images/mini_clear.jpg" runat="server" onclick="javascript:IntervalsClearAll();" alt="X"/>
</HeaderTemplate>
<ItemTemplate>
<asp:CheckBox runat="server" ID="checkBox" onclick="clickOnIntervalCheck(event);" Text='<%# DataBinder.Eval(Container, "Text") %>' />
</ItemTemplate>
<CollapseAnimation Duration="200" Type="OutQuint" />
</telerik:RadComboBox>
</asp:Panel>
<span style="margin-left:10px">
<asp:Button ID="btnShow" runat="server" Text="Go" onclick="btnShow_Click" CssClass="GreenButton" />
<asp:Button ID="buttonPrint" runat="server" Text="Print" Enabled="false"
CssClass="GrayButton" OnClientClick="showPrintPreviewWindow()" />
</span>
<br clear="all" />
<asp:Label runat="server" ID="lblError" Text="" CssClass="ErrorMessage"></asp:Label>
<br clear="all" />
<asp:Panel id="PanelGraphicContainer" style="width:100%;" runat="server">
<asp:Panel ID="PanelGraphicContent" runat="server" style="min-height:300px;">
<div style="position: absolute;" id="divInstances" runat="server"><%-- height: 250px; width:120px --%>
<div id="divInstanceChart" runat="server" visible="false">
<img ID="tbimage" alt="Show/Hide Instances" src="~/Images/in_green.jpg" runat="server" style="overflow: visible; padding-left:-10px; text-align:right;float:left;" onmouseover="javascript:InitializeAnimation();" />
<div id="slidingDiv" style="visibility: hidden; float:left;display: block;margin-left:3px;">
<telerik:RadPanelBar runat="server" ID="RadPanelBar1" Skin="Default" Height="290px"
ExpandMode="FullExpandedItem" PersistStateInCookie="true" >
<Items>
<telerik:RadPanelItem runat="server" Value="PanelItem1" >
<ItemTemplate>
<table width="100%">
<tr style="width:100%;">
<td style="text-align:right;width:100%;">
<img ID="tbimageDetail" style="overflow: visible; cursor: pointer;" src="~/Images/Detail.jpg" runat="server" />
</td>
</tr>
</table>
<telerik:RadGrid ID="rgInstanceSelector" AllowMultiRowSelection="true"
AllowSorting="False"
AutoGenerateColumns="False"
Skin="Default"
runat="server" Width="98%" Height="225px">
<ClientSettings>
<Selecting AllowRowSelect="true"/>
<ClientEvents OnGridCreated="GetGridObject" OnRowSelected="GetRowSelected" OnRowDeselected="GetRowSelected"></ClientEvents>
<Scrolling UseStaticHeaders="true" AllowScroll="true" />
</ClientSettings>
<MasterTableView Width="98%" runat="server" ItemStyle-BackColor="#dfedd2">
<Columns>
<telerik:GridClientSelectColumn ItemStyle-Height="18px" UniqueName="CheckboxSelectColumn" HeaderStyle-Width="25px" HeaderButtonType="TextButton" HeaderText="" />
<telerik:GridBoundColumn ItemStyle-Height="18px" HeaderText="Process Instances" HeaderStyle-Width="200px" DataField="Item"></telerik:GridBoundColumn>
</Columns>
<ItemStyle BackColor="#dfedd2" CssClass="rmRadGridText"/>
<AlternatingItemStyle BackColor="#F7F7F7" CssClass="rmRadGridText"/>
</MasterTableView>
</telerik:RadGrid>
<table>
<tr>
<td style="text-align:left;">
<img ID="imgSelect" style="overflow: visible;cursor: pointer;" src="~/Images/select.jpg" runat="server" />
</td>
<td style="text-align:right;">
<img ID="imgClear" style="overflow: visible; cursor: pointer;" src="~/Images/clear.jpg" runat="server" onclick="javascript:Clear();" />
</td>
</tr>
</table>
</ItemTemplate>
</telerik:RadPanelItem>
</Items>
</telerik:RadPanelBar>
</div>
</div>
</div>
<telerik:RadMultiPage ID="RadMultiPage" runat="server" >
<telerik:RadPageView ID="RadPageViewGraphic" runat="server">
<div ID="divGraphic" runat="server" style="width:100%;"></div>
</telerik:RadPageView>
<telerik:RadPageView ID="RadPageViewTable" runat="server">
<Widget:ChartTable ID="ChartTableWidget" runat="server" />
</telerik:RadPageView>
<telerik:RadPageView Selected="true" ID="RadPageViewDefault" runat="server">
<div style="height:350px"></div>
</telerik:RadPageView>
</telerik:RadMultiPage>
</asp:Panel>
<div style="margin-top:20px;">
<UserControl:UserControlPIMode ID="UserControlPIModeChart" runat="Server" />
</div>
<%
-- Properties --%>
<asp:Button ID="ButtonApplySelectedCPU" runat="server" style="display:none" OnClick="ButtonApplySelectedCPU_Click" />
<asp:HiddenField ID="HiddenFieldSelectedCPU" runat="server" />
<asp:HiddenField ID="hiddenFieldTimeframeValue" runat="server" />
<asp:HiddenField ID="hiddenFieldPFlagType" runat="server" />
<asp:HiddenField ID="hiddenFieldTimeframeMode" runat="server" />
<%
-- Attention: they must be inside of the Update Panel or they will not be updated --%>
</asp:Panel>
<br style="clear:both;display:none"/>
</
div>
>)
The bold part of the code is the combobox that creating the problem.
Please anybody knows the solution, let me know as soon as possible.
Thanks in advance.
Regards,
Vipul
| <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> |
| <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head runat="server"> |
| <title></title> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <div> |
| <asp:ScriptManager ID="ScriptManager1" runat="server"> |
| </asp:ScriptManager> |
| <telerik:RadUpload ID="RadUpload1" InitialFileInputsCount="1" AllowedFileExtensions=".txt" |
| TargetFolder="~/uploads" runat="server" ControlObjectsVisibility="None"> |
| </telerik:RadUpload> |
| <asp:CustomValidator ID="CustomValidator1" runat="server" Display="None" ErrorMessage="Error" |
| ValidationGroup="MyFile" ClientValidationFunction="validateRadUpload" /> |
| <cc1:ValidatorCalloutExtender ID="VCE_CustomValidator1" runat="server" TargetControlID="CustomValidator1"> |
| </cc1:ValidatorCalloutExtender> |
| </div> |
| <asp:Button ID="Button1" runat="server" Text="Button" ValidationGroup="MyFile" /> |
| </form> |
| <script type="text/javascript"> |
| function validateRadUpload(source, e) { |
| e.IsValid = false; |
| var upload = $find("<%= RadUpload1.ClientID %>"); |
| var inputs = upload.getFileInputs(); |
| for (var i = 0; i < inputs.length; i++) { |
| //check for empty string or invalid extension |
| if (inputs[i].value != "" && upload.isExtensionValid(inputs[i].value)) { |
| e.IsValid = true; |
| break; |
| } |
| else { |
| e.IsValid = false; |
| } |
| } |
| } |
| </script> |
| </body> |
| </html> |
| <telerik:RadComboBox ID="rcbDeparture" runat="server" Skin="Vista" |
| DropDownWidth="350px" MaxHeight="300px" |
| EnableLoadOnDemand="True" |
| EmptyMessage="Choose City" |
| OnItemsRequested="rcbDeparture_ItemsRequested" > |
| <ExpandAnimation Type="None" /> |
| <CollapseAnimation Type="None" /> |
| </telerik:RadComboBox> |
| protected void rcbDeparture_ItemsRequested(object o, RadComboBoxItemsRequestedEventArgs e) |
| { |
| var combo = (RadComboBox)o; |
| var locations = MyService.AllDepartures(e.Text); |
| combo.Items.Clear(); |
| if (locations.Count > 0) |
| { |
| bool found = false; |
| foreach (var l in locations) |
| { |
| var item = new RadComboBoxItem(l.Name, l.ID.ToString()); |
| if (!found) |
| { |
| item.Selected = true; |
| found = true; |
| } |
| combo.Items.Add(item); |
| } |
| combo.Items[0].Selected = true; |
| } |
| } |
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML Strict//EN"><META http-equiv="Content-Type" content="text/html; charset=utf-8"> <HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><STYLE> /* Rule 183 of ../Styles/BaseStyles.css */ .pContent { COLOR: #003366; HEIGHT: 30px} /* Rule 7 of ../Styles/BaseStyles.css */ .pcC { VERTICAL-ALIGN: top; WIDTH: 100%} /* Rule 2 of ../Styles/BaseStyles.css */ .pcTable { } /* Rule 173 of ../Styles/BaseStyles.css */ .pbC { VERTICAL-ALIGN: top; BACKGROUND-COLOR: #ffffff} /* Rule 187 of ../Styles/BaseStyles.css */ .pbTable { } /* Rule 185 of ../Styles/BaseStyles.css */ .pAlign { VERTICAL-ALIGN: top} /* Rule 13 of ../Styles/Styles.css */ .pageView { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; MARGIN-BOTTOM: 3px; PADDING-BOTTOM: 3px; MARGIN-LEFT: 3px; MARGIN-RIGHT: 3px; PADDING-TOP: 3px; BACKGROUND-COLOR: white} /* Rule 6 of ../Styles/Styles.css */ TD.tabBelow { BORDER-RIGHT: #828282 1px solid; BORDER-TOP: #828282 1px; BORDER-LEFT: #828282 1px solid; BORDER-BOTTOM: #828282 1px solid} /* Rule 8 of ../Styles/Styles.css */ .tabContainer { WIDTH: 900px} /* Rule 163 of ../Styles/BaseStyles.css */ .pBack { MARGIN: 0px; BACKGROUND-COLOR: #ffffff} /* Rule 1 of ../Styles/BaseStyles.css */ HTML { DIRECTION: ltr} </STYLE></HEAD><BODY class="pBack" id="Body1"><FORM id="Form1" name="Form1" action="ShowPATIENTPage.aspx?MRN=36FF483E74D7CDCED3F8F2672CD559F2&SessionId=DING12778" method="post"><TABLE height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"><TBODY><TR><TD class="pAlign"><TABLE class="pbTable" cellSpacing="0" cellPadding="0" border="0"><TBODY><TR><TD class="pbC"><TABLE class="pcTable" cellSpacing="0" cellPadding="0" border="0"><TBODY><TR><TD class="pcC"><TABLE height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"><TBODY><TR><TD><TABLE cellSpacing="0" cellPadding="0" width="100%" border="0"><TBODY><TR><TD class="pContent"><DIV id="PATIENTRecordControlUpdatePanel"><TABLE class="tabContainer" cellSpacing="0" cellPadding="0" border="0"><TBODY><TR><TD class="tabBelow" colSpan="2"><DIV id="MyMultiPage"><DIV class="pageView" id="Laboratory"><TABLE height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"><TBODY><TR><TD class="pAlign"><TABLE class="pbTable" cellSpacing="0" cellPadding="0" border="0"><TBODY><TR><TD class="pbC"><TABLE class="pcTable" cellSpacing="0" cellPadding="0" border="0"><TBODY><TR><TD class="pcC"><TABLE height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"><TBODY><TR><TD><TABLE cellSpacing="0" cellPadding="0" width="100%" border="0"><TBODY><TR><TD class="pContent"><DIV id="Laboratory_userControl_LabMultiPage"><DIV id="Laboratory_userControl_ChartPageView"><TABLE><TBODY><TR><TD width="902" colSpan="2"> |
| <DIV class="RadChart" id="Laboratory_userControl_LabRadChart" style="BACKGROUND: url(ChartImage.axd?UseSession=true&ChartID=a71b4274-aeed-4f16-b9d7-4d8c3ec71d4f_chart_Laboratory_userControl$LabRadChart&imageFormat=Png&random=0.255709821943059) no-repeat; WIDTH: 900px; HEIGHT: 500px"> |
| <DIV class="rchAxisX" style="LEFT: 45px; WIDTH: 837px; TOP: 460px; HEIGHT: 40px"> |
| <DIV id="Laboratory_userControl_LabRadChart_xAxis" style="BACKGROUND: url(ChartImage.axd?UseSession=true&ChartID=bf7f4b22-b3c8-41e1-827a-127ad8d932a2_chart_Laboratory_userControl$LabRadChart&imageFormat=Png&random=0.558874095584673) no-repeat; LEFT: 0px; WIDTH: 838px; HEIGHT: 40px"> |
| </DIV> |
| </DIV> |
| <DIV class="rchAxisY" style="LEFT: 0px; WIDTH: 46px; TOP: 50px; HEIGHT: 420px"> |
| <DIV id="Laboratory_userControl_LabRadChart_yAxis" style="BACKGROUND: no-repeat; WIDTH: 46px; TOP: 0px; HEIGHT: 420px"> |
| </DIV> |
| </DIV> |
| <DIV class="rchPlotArea rchXOnly" id="Laboratory_userControl_LabRadChart_rcPlotArea" style="LEFT: 46px; WIDTH: 837px; TOP: 60px; HEIGHT: 400px"> |
| <DIV class="rchImgWrap" id="Laboratory_userControl_LabRadChart_rchImgWrap" style="WIDTH: 837px; HEIGHT: 400px"> |
| <DIV id="Laboratory_userControl_LabRadChart_c_0_0" style="LEFT: 0px; WIDTH: 837px; TOP: 0px; HEIGHT: 400px"> |
| <IMG src="http://localhost:2067/WebApp/PATIENT/ChartImage.axd?UseSession=true&ChartID=f7e1ef94-64ca-400a-adb0-0b57614b30b3_chart_Laboratory_userControl$LabRadChart&imageFormat=Png&random=0.531652389341803" /> |
| </DIV> |
| </DIV> |
| </DIV> |
| <INPUT id="Laboratory_userControl_LabRadChart_ClientState" type="hidden" name="Laboratory_userControl_LabRadChart_ClientState" autocomplete="off" value="" /> |
| </DIV> |
| </TD></TR></TBODY></TABLE></DIV></DIV></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV></DIV></TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></FORM></BODY></HTML> |
<tr align="center">
<td style="width:30%" align="right" class="Label">
Audit Role:
</td>
<td align="left" style="width:35%" colspan="2">
<asp:DropDownList ID="ddl" runat="server" DataSourceID="sqlRole" DataTextField="Role" DataValueField="ID" Width="250px" />
</td>
</tr>
Hi,
Environment: VS 2008 SP1, RadControls for ASP.NET AJAX Q1 2010 NET35.
I have 4 related Radcombo boxes. Below are items in each of them and also my expectations. Any help will be appreciated. Thanks
GC_0620
________
RadComboBoxMain Items:
Revision
Transfer
Leave of absence
Termination
______________
RadComboBoxReviewReason (if Selected value from RadComboBoxMain = Revision or Transfer) then Items must be below else Item text will be "".
Annual Increment
Change hours
Demotion
Language Differential
Leave of Absence
Obtain UPIN
Other
Promotion
Return from Leave
Salary Adjustment
Therapeutic Differential
Title Change
Transfer to another program
_________________
RadComboBoxLeaveofabsence (if Selected value from RadComboBoxMain = Leave of absence) then Items must be below else Item text will be "".
Disability
Educational
FMLA
Maternity
Military
Personal
Other
_________
RadComboTeminationReason (if Selected value from RadComboBoxMain = Termination) then Items must be below else Item text will be "".
Resignation
Discharge
Layoff