This is a migrated thread and some comments may be shown as answers.

Combobox in radwindow

2 Answers 125 Views
Window
This is a migrated thread and some comments may be shown as answers.
newbie
Top achievements
Rank 1
newbie asked on 06 Aug 2008, 06:32 PM
I have a button inside the grid. From that button I want to open a window that has a combo box in it.
After the user selects a value from the combo i want the control to return to the button and do further processing based on the value returned from the window.

So far I have been able to open a window containing a combo box. However my combo box looks like a textbox with a select keyword next to it.
After I click on my combo box I get the list of items from the database but it is displayed as a list with bullets and I am not able select any value.

It doesn't look like a combo box.

please help.

Below is my code on the modal dialog page that contains the combo box:

<

form id="form1" runat="server">

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">

</telerik:RadScriptManager>

<div>
<telerik:RadComboBox ID="ddlReportingPeriodEndDate" runat="server" EnableEmbeddedSkins="false" EnableLoadOnDemand="false" AppendDataBoundItems="false" LoadingMessage="Loading dates..." MarkFirstMatch="True" ToolTip="Select report period end date" AllowCustomText="false" CssClass="editfield" Width="110px">
</telerik:RadComboBox>

</div>

</form>

My Code to cal the window is:

function

ShowDialogPopup()

{

var oWnd = radopen("NewDialog.aspx");

}

which is called from the onclientclick event in the button.

2 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 07 Aug 2008, 11:51 AM
Hello newbie,

This problem is not related to the RadWindow control - your combobox will look the same no matter if it is displayed in a RadWindow or not. I see that you have set EnableEmbeddedSkins="false" in your RadComboBox declaration - in such case you need to provide a custom skin for the RadComboBox or to set this property to true.



Best wishes,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
newbie
Top achievements
Rank 1
answered on 07 Aug 2008, 03:16 PM
thanks for pointing that out.
I tried setting the EnableEmbeddedSkins to true and i also tried giving a custom skin with the property set to false.
But in both cases the combobox still displays the same.

However removing it completely shows it right.
Tags
Window
Asked by
newbie
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
newbie
Top achievements
Rank 1
Share this question
or