Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
2.7K+ views
Hi,

I am using telerik controls version 2010.1.415.35.

I am struggling with an issue and need help on that issue.

Scenario of the problem is that

I have 4 radcomboboxes on a usercontrol and on the basis of first combobox, the rest comboboxes become enabled and disabled and loads data.
First combobox contains a radtreeview control inside it. so the treeview items works as the items of combobox.

The first combobox loads the data based on the tabselection that is a tabstrip on the aspx page from where this usercontrol is called.
When the user click on tab, it loads the usercontrol.

Now the problem is that, in only one case after selecting the tab control, the first combo box loads. But when user selects any item from first combobox, it dont display the selected item rather it displays the initial text i.e. "Select Chart". On code behind part it dont fires the selectedindexchanged event of this combobox.

In all the other cases it fires the selected index changed event and displays the selected item in combobox.

here it the code :

(<

<

 

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>

 

 

&nbsp;

 

 

<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>

 

 

&nbsp;

 

 

<telerik:RadComboBox ID="intervalMode" runat="server" Skin="Default" Width="160px"

 

 

OnClientSelectedIndexChanged="needsToSelectIntervals"

 

 

EmptyMessage="Select Mode"

 

 

Enabled="false">

 

 

</telerik:RadComboBox>

 

 

&nbsp;<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

 

vipul saini
Top achievements
Rank 1
 answered on 02 Jul 2010
2 answers
213 views
Hi,
I want to request at least one file for upload .
but when i use a call out extender, its not working.

<%@ 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> 
Jeremy
Top achievements
Rank 1
 answered on 02 Jul 2010
3 answers
177 views
I'm running into something very wierd with Internet Explorer. For some reason my context menu opens and then closes right away. When I attach code to the Showing, Hiding, Hidden, and Shown events, it goes in the following order: Showing, Shown, Hiding, Hidden. It never stops after it fires the shown event. (in Firefox it stops after the shown event and actually displays the context menu until I click somewhere else). When the Hidden event fires, I can actually see the context menu until I hit ok on that alert box and then it goes trhough the collapse animation. Here is the code that I am using...

<telerik:RadContextMenu ID="cmnuDesktop" runat="server"
                    OnClientShowing="cmnuDesktop_OnClientShowing"
                    OnClientHiding="cmnuDesktop_OnClientHiding"
                    OnClientShown="cmnuDesktop_OnClientShown"
                    OnClientHidden="cmnuDesktop_OnClientHidden"
                    >
                <Targets>
                    <telerik:ContextMenuElementTarget ElementID="windowContainer" />
               </Targets>
                <Items>
                    <telerik:RadMenuItem Text="Create New Folder" Value="newFolder" NavigateUrl="javascript: createNewFolder();"/>
                </Items>
            </telerik:RadContextMenu>

and the Javascript:

function cmnuDesktop_OnClientShowing(sender, args)
{
    alert("showing");
}

function cmnuDesktop_OnClientHiding(menu, args) {
    alert("hiding");
}

function cmnuDesktop_OnClientShown(menu, args) {
    alert("shown");
}

function cmnuDesktop_OnClientHidden(menu, args) {
    alert("hidden");
}

Has anyone else run into this issue before? The code works fine on Firefox, Opera, Chrome and Safari.

Robert Bross
Top achievements
Rank 1
 answered on 02 Jul 2010
4 answers
1.8K+ views
Hi.

I have a combobox which load items on demand. Everything works great but I want the for loaded items to automatically select the first item so the user always have something selected. I have tried several different approaches but nothing seems to work. I need it to not only work in code but also visually look like it has the first item selected.

The code is:

<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> 

The OnItemsRequested event handler is

    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
        } 
    } 

Thanks.
Jose


Jose
Top achievements
Rank 2
 answered on 02 Jul 2010
1 answer
54 views
hi guys
i wanna change order of my data source when i export Excel.
fo example wanna chand order or direction or change order of 2-3 of column
Daniel
Telerik team
 answered on 01 Jul 2010
3 answers
256 views
hi guys
how ican change order of column in grid for expord.
for example i have a grid with 3 column c1 c2 c3
now i wanna show in excel c3 c1 c2
how can i implement that?
Daniel
Telerik team
 answered on 01 Jul 2010
1 answer
92 views
Hi,

I am using Telerik RadGrid Controls. i am using a record set 30k. when i am trying to export to PDF, i am getting Memory out of exception error. The same thing is working for Excel, CSV and word.

I am writing my own query and in the code-behind i am binding the datasource to the radgrid control. 

And, i am also facing Collection error for my web application with Master pages. 

Please give immediate response.

Regards
Vamshikrishna Reddy.M.
Daniel
Telerik team
 answered on 01 Jul 2010
2 answers
95 views
Hi,

I encountered a weired issue when enabling client-side scroll. When scroll was disabled, the generated image came as a whole piece without any issue. When scroll was enabled, the image was broken into 3 pieces: AxisX, AxisY, and PlotArea. That's when something weired happened. AxisX went to the top, and PlotArea moved to the bottom. Below is the HTML source. The 3 pieces' size and position look ok, but they are not in the position they are supposed to be. Also attached are screenshots for scroll enabled and disabled. Does anyone else see this before? What is the cause, and what is the work-around?

<!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
 

dingjing
Top achievements
Rank 2
 answered on 01 Jul 2010
9 answers
215 views
Hi,
I have a print page functionality on my page. When I print everything comes properly except "Select " text next to each rad combo box. When I view source the code I found some extra code gets appended by defualt to the rad combo box .The anchor tag with id "ctl00_cntContent_cmbAccess_Arrow" and text "Select" is that extra code as shown below.

<tr class="rcbReadOnly">
<td class="rcbInputCell rcbInputCellLeft" style="margin-top:-1px;margin-bottom:-1px;width:100%;"><input name="ctl00$cntContent$cmbAccess" type="text" class="rcbInput" id="ctl00_cntContent_cmbAccess_Input" value="Unit Helper" style="display: block;" readonly="readonly" /></td><td class="rcbArrowCell rcbArrowCellRight" style="margin-top:-1px;margin-bottom:-1px;"><a id="ctl00_cntContent_cmbAccess_Arrow" style="overflow: hidden;display: block;position: relative;outline: none;">select</a></td>
</tr>

The code I have written on page is :

 

<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>

 


The "Select" text doesn't come on screen but only when I click Print page btn on my page which opens a new window with the controls of the page at that time next to each rad combo box it shows "Select" text. How can I remove this??

Regards,
Lubna.


Kalina
Telerik team
 answered on 01 Jul 2010
3 answers
328 views

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 "".

(if Selected value from = or ) 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 "".

(if Selected value from = ) 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 "".

(if Selected value from = ) then Items must be below else Item text will be "".

Resignation
Discharge
Layoff

Kalina
Telerik team
 answered on 01 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?