Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
252 views

Hi Telerik team;

Currently we have a web page in our site which is using radcombobox and after we upgraded to Q2 2010, the arrow cell image is getting cut off.  We upgraded to .net 4.0 and the telerik to Q2 2010.  Could you please take a look and let me know what the problem is?  I tried setting EnableEmbeddedBaseStyleSheet = "false" and that did not fix it.

Here is the way the radcombobox is declared on the page:

 

<

 

 

telerik:RadComboBox ID="cmbRegion" runat="server" AllowCustomText="false" MarkFirstMatch="false" DropDownWidth="222" Width="185" EnableVirtualScrolling="false" EnableEmbeddedBaseStylesheet="false">
</telerik:RadComboBox>

 

 

 

 


I have attached images of the radcombobox before upgrade and after upgrade which shows the arrow being cut off.

Please see the stylesheet we are using for the radcombobox below:

Thanks a lot in advance for your help,

Meera

 

.RadComboBox_Response

 

 

*

 

 

 

 

 

{

 

 

margin:0;

 

 

 

padding:0;

 

}

 

 

 

.RadComboBox_Response

 

 

,

 

 

 

 

.RadComboBox_Response

 

 

.rcbInput,

 

 

 

 

.RadComboBoxDropDown_Response

 

 

 

 

{

 

 

font:12px arial,verdana,sans-serif;

 

 

 

color:#000;

 

}

 

 

 

/* combobox */

 

 

 

 

.RadComboBox_Response

 

 

 

 

{

 

 

vertical-align:bottom;

 

 

 

text-align: left;

 

}

 

 

 

.RadComboBox_Response

 

 

table

 

 

 

 

 

{

 

 

border:0;

 

}

 

 

 

.RadComboBox_Response

 

 

td.rcbInputCell

 

 

 

 

 

{

 

 

background: url('ComboBox/rcbBg.gif') no-repeat 0 0;

 

 

 

height:19px;

 

 

 

line-height:20px;

 

 

 

vertical-align:top;

 

 

 

padding:0;

 

 

 

border:0;

 

}

 

 

 

.RadComboBox_Response

 

 

td.rcbInputCellRight

 

 

 

 

 

{

 

 

background-position: 100% 0;

 

}

 

 

 

.RadComboBox_Response

 

 

.rcbDisabled .rcbInputCell .rcbInput

 

 

 

 

 

{

 

 

color: #999;

 

}

 

 

 

.RadComboBox_Response

 

 

.rcbHovered .rcbInputCell { background-position: 0 -21px; }

 

 

 

 

.RadComboBox_Response

 

 

.rcbHovered .rcbInputCellRight { background-position: 100% -21px; }

 

 

 

 

.RadComboBox_Response

 

 

.rcbFocused .rcbInputCell { background-position: 0 -42px; }

 

 

 

 

.RadComboBox_Response

 

 

.rcbFocused .rcbInputCellRight { background-position: 100% -42px; }

 

 

 

 

.RadComboBox_Response

 

 

td.rcbInputCell,

 

 

 

 

.RadComboBox_Response

 

 

.rcbInputCell .rcbInput

 

 

 

 

 

{

 

 

padding: 0 0 0 2px;

 

}

 

 

 

.RadComboBox_Response_rtl

 

 

td.rcbInputCell,

 

 

 

 

.RadComboBox_Response_rtl

 

 

.rcbInputCell .rcbInput

 

 

 

 

 

{

 

 

padding: 0 2px 0 0;

 

}

 

 

 

.RadComboBox_Response

 

 

.rcbInputCell .rcbInput

 

 

 

 

 

{

 

 

width:100%;

 

 

 

background:transparent;

 

 

 

vertical-align:top;

 

 

 

height: 16px;

 

 

 

border: 0;

 

 

 

margin-top: 2px;

 

 

 

outline: 0;

 

}

 

 

 

.RadComboBox_Response

 

 

.rcbInputCell .rcbEmptyMessage

 

 

 

 

 

{

 

 

color: #ccc;

 

 

 

font-style: italic;

 

}

 

 

 

.RadComboBox_Response

 

 

td.rcbArrowCell

 

 

 

 

 

{

 

 

width:24px;

 

 

 

padding:0;

 

 

 

border:0;

 

 

 

background:transparent url('ComboBox/rcbArrowCell.gif') no-repeat 0 0;

 

}

 

 

 

.RadComboBox_Response

 

 

.rcbArrowCellRight

 

 

 

 

 

{

 

 

background-position: 0 0;

 

}

 

 

 

.RadComboBox_Response

 

 

.rcbArrowCellLeft

 

 

 

 

 

{

 

 

background-position: 0 -21px;

 

}

 

 

 

.RadComboBox_Response

 

 

.rcbArrowCell a

 

 

 

 

 

{

 

 

line-height:21px;

 

 

 

width:24px;

 

 

 

height:21px;

 

 

 

text-decoration:none;

 

 

 

text-indent: -9999px;

 

 

 

font-size: 0;

 

}

 

 

 

.RadComboBox_Response

 

 

td.rcbArrowCellHidden,

 

 

 

 

.RadComboBox_Response

 

 

.rcbArrowCellHidden a

 

 

 

 

 

{

 

 

background: url('ComboBox/rcbBg.gif') no-repeat top right;

 

 

 

width: 1px;

 

}

 

 

 

.RadComboBox_Response_rtl

 

 

.rcbArrowCell a

 

 

 

 

 

{

 

 

text-indent: 9999px;

 

}

 

 

 

.RadComboBox_Response

 

 

.rcbDisabled .rcbArrowCell a

 

 

 

 

 

{

 

 

cursor:no-drop;

 

}

 

 

 

/* dropdown */

 

 

 

 

.rcbSlide

 

 

 

 

{

 

 

position:absolute;

 

 

 

overflow:hidden;

 

 

 

display:none;

 

 

 

_height:1px;

 

 

 

float:left;

 

}

 

 

 

.RadComboBoxDropDown_Response

 

 

 

 

{

 

 

position:absolute;

 

 

 

background:#fff;

 

 

 

border: 1px solid #8b9cac;

 

 

 

cursor:default;

 

 

 

font-size:11px;

 

 

 

text-align: left;

 

}

 

 

 

.RadComboBoxDropDown_Response_rtl

 

 

 

 

{

 

 

text-align: right;

 

 

 

direction: rtl;

 

}

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbScroll

 

 

 

 

 

{

 

 

overflow:auto;

 

 

 

position:relative;

 

}

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbList

 

 

 

 

 

{

 

 

list-style:none;

 

 

 

margin:0;

 

 

 

padding:0;

 

 

 

zoom:1;

 

}

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbHeader,

 

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbFooter

 

 

 

 

 

{

 

 

background:#dfeeff;

 

 

 

color:#000;

 

 

 

padding:4px;

 

}

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbHeader

 

 

 

 

 

{

 

 

border-bottom: 1px solid #a7c0df;

 

}

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbFooter

 

 

 

 

 

{

 

 

border-top: 1px solid #a7c0df;

 

}

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbNoWrap .rcbItem,

 

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbNoWrap .rcbHovered,

 

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbNoWrap .rcbDisabled,

 

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbNoWrap .rcbLoading

 

 

 

 

 

{

 

 

white-space:nowrap;

 

}

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbItem,

 

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbHovered,

 

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbDisabled,

 

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbLoading

 

 

 

 

 

{

 

 

padding:4px 20px 4px 4px;

 

 

 

border-top: 1px solid #f0f2f3;

 

 

 

min-height: 14px;

 

}

 

 

 

*

 

 

html .RadComboBoxDropDown_Response .rcbItem,

 

 

 

 

*

 

 

html .RadComboBoxDropDown_Response .rcbHovered,

 

 

 

 

*

 

 

html .RadComboBoxDropDown_Response .rcbDisabled,

 

 

 

 

*

 

 

html .RadComboBoxDropDown_Response .rcbLoading

 

 

 

 

 

{

 

 

height: 14px;

 

}

 

 

 

.RadComboBoxDropDown_Response_rtl

 

 

.rcbItem,

 

 

 

 

.RadComboBoxDropDown_Response_rtl

 

 

.rcbHovered,

 

 

 

 

.RadComboBoxDropDown_Response_rtl

 

 

.rcbDisabled,

 

 

 

 

.RadComboBoxDropDown_Response_rtl

 

 

.rcbLoading

 

 

 

 

 

{

 

 

padding:4px 4px 4px 20px;

 

}

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbImage

 

 

 

 

 

{

 

 

vertical-align: middle;

 

 

 

margin: 0 6px 2px 0;

 

}

 

 

 

.RadComboBoxDropDown_Response_rtl

 

 

.rcbImage

 

 

 

 

 

{

 

 

margin: 0 0 2px 6px;

 

}

 

 

 

.RadComboBoxDropDown_Response

 

 

em

 

 

 

 

 

{

 

 

font-style: normal;

 

 

 

font-weight: bold;

 

}

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbItem em

 

 

 

 

 

{

 

 

background: #e5e5e5;

 

}

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbHovered

 

 

 

 

 

{

 

 

background:#f0f2f4;

 

 

 

color:#000;

 

 

 

border-top: 1px solid #d8dde0;

 

}

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbSeparator

 

 

 

 

 

{

 

 

color: #222;

 

 

 

background: #F4F4F4;

 

}

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbDisabled

 

 

 

 

 

{

 

 

color:#808080;

 

 

 

cursor:no-drop;

 

}

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbLoading

 

 

 

 

 

{

 

 

background:#f0f0f0;

 

 

 

text-align:center;

 

}

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbMoreResults

 

 

 

 

 

{

 

 

clear:both;

 

 

 

background:#E0E3E6;

 

 

 

border-top: 1px solid #c7c7c7;

 

 

 

padding:4px;

 

 

 

text-align:center;

 

}

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbMoreResults a

 

 

 

 

 

{

 

 

display:block;

 

 

 

width:9px;

 

 

 

height:6px;

 

 

 

background:url('ComboBox/rcbMoreResults.gif') no-repeat transparent;

 

 

 

margin:0 auto 4px;

 

 

 

text-indent:-3333px;

 

 

 

overflow:hidden;

 

 

 

text-decoration:none;

 

 

 

cursor:pointer;

 

}

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbMoreResults a:hover

 

 

 

 

 

{

 

 

background-position:0 -6px;

 

}

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbMoreResults span

 

 

 

 

 

{

 

 

display:block;

 

 

 

text-align:center;

 

}

 

 

 

.RadComboBoxDropDown_Response

 

 

.rcbScroll

 

 

 

 

 

{

 

 

scrollbar-face-color: #e9e9e9;

 

 

 

scrollbar-highlight-color: #ffffff;

 

 

 

scrollbar-shadow-color: #e9e9e9;

 

 

 

scrollbar-3dlight-color: #dbdbdb;

 

 

 

scrollbar-arrow-color: #787878;

 

 

 

scrollbar-track-color: #f5f5f5;

 

 

 

scrollbar-darkshadow-color: #aeaeae;

 

}

 

 

 

/*hacks*/

 

 

 

 

/*Opera start*/

 

 

 

 

@media

 

 

screen and (min-width:550px)

 

{

 

 

.RadComboBoxDropDown_Response_rtl .rcbItem,

 

 

 

.RadComboBoxDropDown_Response_rtl .rcbHovered,

 

 

 

.RadComboBoxDropDown_Response_rtl .rcbDisabled,

 

 

 

.RadComboBoxDropDown_Response_rtl .rcbLoading

 

 

 

 

 

{

 

 

padding:4px 20px 4px 4px;

 

 

 

zoom:1;

 

}

}

 

 

 

/*Opera end*/

 

 

 




m chotu
Top achievements
Rank 1
 answered on 05 Jan 2011
6 answers
160 views
Hello,
I'd like to save with GridSettingsPersister http://demos.telerik.com/aspnet-ajax/grid/examples/programming/savinggridsettingsonperuserbasis/defaultcs.aspx the settings of a radgrid.

Is it possible to save also the filter width? How?

It is possible to save the column width without the automatic resize of grid's width shown in the example. I want the grid to be scrolled beyond the viewed part.
David
Top achievements
Rank 1
 answered on 05 Jan 2011
6 answers
354 views
I just received a new machine at work. It has Windows XP, and I believe had the 2.0 .NET Framework installed out of the box. I installed Visual Studio 2008, and when I attempt to install ASP.NET AJAX I get the following error when it attempts to install the ASP.NET AJAX Extensions 1.0:

Setup has failed to deploy Microsoft ASP.NET AJAX Extensions 1.0. Microsoft ASP.NET AJAX 1.0 is a required component for the components targetting .NET 2.0. Please, install Microsoft ASP.NET AJAX Extensions 1.0 from the following URL: http://www.asp.net/ajax/downloads/archive/

That link no longer goes to where it thinks it does, but I do believe I was able to find the ASP.NET AJAX Extensions 1.0 installation file, and when I try to install it I receive the message:

Microsoft ASP.NET 2.0 AJAX Extensions 1.0 Setup Wizard ended prematurely because of an error. Your system has not been modified. To install this program at a later time, run the Setup Wizard again.

Edit: Added error message from ASP.NET 2.0 AJAX Extensions 1.0 Setup Wizard
Hrisi
Telerik team
 answered on 05 Jan 2011
3 answers
70 views
Hi,

I have been looking at the Window's and the Tooltip's functionality and to be honest I am slightly struggling to see what the real differences are.

Can someone give me an overview of example scenario's of when you would use one over the other, and what the limitations are of one over the other.

Many Thanks

Svetlina Anati
Telerik team
 answered on 05 Jan 2011
2 answers
111 views
Hello,

I have a ASP repeater control inside the editformsettings and I am using EditMode="EditForms" in the MasterTableView.

I have a 'delete' button inside the Repeater for each row. When I click it I can delete the row and the table data by using the Item command of the repeater with a partialpostback and leaving the Editmode on so that the user can see the item is already removed. But now I also want to update the Grid column which has one of the column as the counts of the files in repeater without closing the Edit form and doing only partial postback to change the value of the column which has the count inside the RadGrid to a value to decrease by one.

1) How do I access the column from the Repeater?

2) Also can I access the Datakeys of the Radgrid from the Reapeter itemcommand. If so how?


Thanks,
Sanjay
Sanjay
Top achievements
Rank 1
 answered on 05 Jan 2011
3 answers
192 views
hello!
i want to open a radwindow in right bottom of the page. then it retains the same position when i scrolling down or up the page. anybody please help me.
thanks.
priya.
Fiko
Telerik team
 answered on 05 Jan 2011
3 answers
92 views
We use the RAD editor to create a string that will ultimately be used to send emails. In older versions, there were line breaks (CRLF) inserted throughout the HTML between tags. The new version (2010.2) does not do this. It produces one long line of HTML. Outlook doesn't like that and inserts its own line breaks, sometimes in the middle of HTML tags. Is there any way to bring back the old functionality, or or otherwise get physical line breaks in the produced HTML?

Thanks in advance,
Boris Zakharin
Rumen
Telerik team
 answered on 05 Jan 2011
2 answers
123 views
Hello,

Is there a way to disable/bypass the dialog that allows you to select between editing/deleting a single occurrence or the entire series in a recurring appointment? Right now we don't want to allow single-occurrence editing (don't want to allow recurrence exceptions), so I'd like to bypass that dialog altogether and go straight into editing/deleting the entire recurrence. Is this possible?

Thanks,
Landon
Landon
Top achievements
Rank 1
 answered on 05 Jan 2011
3 answers
55 views
HI,
Thanks for this load on demand fixes from the following link. 
http://www.telerik.com/community/forums/aspnet-ajax/combobox/fix-load-on-demand-does-not-work-correctly-in-q2-2009-sp1.aspx

I added following code of block below scrpt manager.

<script type="text/javascript">    
    Telerik.Web.UI.RadComboBox.prototype.get_endOfItems = function() { return false; };    
</script>    
 

I was able to get results after pressing more than one character. But this solution raised me another issue.

I Used Property ShowMoreResultsBox="true" in combo box because I have about 16000 reocords in Combo Box, and I display 500 records on a page. The Button to get next 500 records works fine till i dont type any character and when I press two or more characters the my webservice return 2000 records, and I display 500 but I am not able to get Next 500 records, becuase the button does not clickable ot just return false; (I guess becuase of this fix).
The issue is on production and We dont want to update with new Telerik dlls.
Please help me to fix this issue.

Thanks
Aviii
Simon
Telerik team
 answered on 05 Jan 2011
9 answers
169 views
Hi. I wondered if anyone can offer some quick help. I have downloaded the new release of the ajax controls and I tried to add a Grid control and got an error message. When that failed I tried to add a ListView control instead (to see if it was specific to the grid control). I get an error message:

"There was an error rendering the control. Could not load file or assembly 'Telerik.Web.UI, Version=2010.3.1215.35, Culture=neutral, PublicKeyToken=......" or one of its dependencies. The system cannot find the file specified"

However, the existing Telerik controls that I already have on the site that I'm developing are working fine.

Thanks (and Happy New Year)
Paul
Top achievements
Rank 1
 answered on 05 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?