Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
113 views
I have this issue where once i click on toggle full screen icon while in edit mode of the Rad Editor, the full screen appears , but after this cannot reopen the tool bar again to revert back to normal screen. And hence there is no way to come out of full screen mode.
Rumen
Telerik team
 answered on 24 May 2012
4 answers
244 views
Hello Everyone !

How can I set the non allowable file list in RadUpload. I will like to set up the blacklist file type and  except of these blacklist I will allow to upload file .

How can I do these in radupload control ? I need your help Urgently .

Thanks ,
Tin
Tin
Top achievements
Rank 1
 answered on 24 May 2012
5 answers
134 views
I get Error in JS:

https://localhost/Telerik.Web.UI.WebResource.axd?
_TSM_HiddenField_=ctl00_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2012.1.215.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen%3a3d78a983-ceee-4e0e-a7ef-b0fa8a4023a3%3ab7778d6c%3a8e6f0d33%3a6a6d718d%3ae085fe68%3a58366029

 Page is render Somethinng like image added.
Double number 1.After mouse move on one number one is hidden.


Line Of this Code:

this._displayElement.style.borderRightWidth=parseInt($telerik.getComputedStyle(this._displayElement,"borderRightWidth",""))+parseInt($telerik.getComputedStyle(this._textBoxElement,"borderRightWidth",""))+"px";
>>$telerik.getComputedStyle(this._displayElement,"borderRightWidth","")
"medium"
$telerik.getComputedStyle(this._textBoxElement,"borderRightWidth","")
"2px"
IE8
<SPAN style="TEXT-ALIGN: left; LINE-HEIGHT: normal; DISPLAY: inline; FONT-FAMILY: Verdana; COLOR: #000000; FONT-SIZE: 12px; BORDER-LEFT-WIDTH: medium" id=ctl00_CPH_Body_rgMain_ctl00_ctl03_ctl01_ChangePageSizeTextBox_display class=riDisplay>1</SPAN>
Chrome
<span class="riDisplay" id="ctl00_CPH_Body_rgMain_ctl00_ctl03_ctl01_ChangePageSizeTextBox_display" style="color: rgb(0, 0, 0); display: inline; font-family: 'segoe ui', arial, sans-serif; font-size: 12px; line-height: normal; text-align: center; padding-left: 5px; padding-right: 5px; border-left-width: 0px; border-right-width: 3px; ">1</span>



Second Image Is under IE8 with IE7 compatybility.




Antonio Stoilkov
Telerik team
 answered on 24 May 2012
0 answers
108 views
Hi all
I have an issue while using automatic operations and filter template

I have a DropDownColumn on my grid and it has a custom filter
in order to use the filter expression, i have to bind the coloumn's DataField to the item.name
but when I perform auto insert/update - the datasource expects item.id to insert/update in the database

I've tried to change the filter's combo box to filter by value (which bound to the item.id) but it ignores it
I've tried to change all filter's combobox bindings to item.id but with no success either
i've tried using TemplateColumn but the result is the same


here is the code snippet: 

I'm using LinqDataSource to bind the grid and the ComboBoxes

The table Providers has:
name - Provider's name
id - Provider's id

The Table Contracts has
id - Contract's Id
name - Contract's name
ProviderID - foriegn key to Provider's id
ASPX
<telerik:GridDropDownColumn HeaderText="Provider" DataSourceID="ldsProviders" ListTextField="name"
    ListValueField="id" UniqueName="ContractProvider"
    DataField="ProviderID" AllowFiltering="true">
    <FilterTemplate>
     
    <telerik:RadComboBox ID="ddlFilterProviders"
    DataSourceID="ldsProviders"   
    DataTextField="name"
    DataValueField="name"
    AppendDataBoundItems="true"
    SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("ContractProvider").CurrentFilterValue %>'
    runat="server"
    OnClientSelectedIndexChanged="SelectedIndexChanged"
    Filter="Contains">
    <Items><telerik:RadComboBoxItem/></Items></telerik:RadComboBox>
     
     
    <script type="text/javascript">
     
        function SelectedIndexChanged(sender, args) {
          var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
          tableView.filter("ContractProvider", args.get_item().get_value(), "EqualTo", true);
        
     
    </script>
    </FilterTemplate>
    </telerik:GridDropDownColumn>

thank you for your up coming answer
Yotam
Top achievements
Rank 1
 asked on 24 May 2012
1 answer
159 views
I have a grid, it is set to TableLayout Fixed. I have an explicit HeaderStyle with a width in px set on every column. Some columns have a display=False, I don't want them showing up initially. All databinding is done via javascript. I also have the following client settings:
<ClientSettings AllowColumnHide="True" AllowColumnsReorder="true" ReorderColumnsOnClient="true" >
			   <ClientEvents 
               OnCommand="ReportSystem.RadGrid1_Command" 
               OnRowDataBound="ReportSystem.RadGrid1_RowDataBound" 
               OnColumnSwapped="ReportSystem.RadGrid1_OnColumnSwapped" 
               OnDataBindingFailed="ReportSystem.OnDataBindingFailed" />
				<Scrolling 
                AllowScroll="True" 
                UseStaticHeaders="True" 
                SaveScrollPosition="True">
				</Scrolling>
			</ClientSettings>

In javascript I call "hideColumn" with the index of the column to hide on the masterTableView. The column does hide correctly (and shows back up when i call the show function) But after each column is hidden every remaining column grows by a small amount exactly the same. As each column is shown, all the column widths shrink by the same amount they originally grew by. If instead I unhide one or more of the default hidden columns the columns stay correct, if I then start hiding columns, the widths stay correct until I hit the original number of columns then after that the columns start growing by that fixed amount.
Another weird part, this only happens in Chrome and IE, it seems to work correctly in firefox.

What could be causing the columns to grow?
Antonio Stoilkov
Telerik team
 answered on 24 May 2012
6 answers
491 views
Hi,

Is there a way to programmatically expand/collapse all rows in the hierarchy? I don't care if it's server-side or client-side at this point.

I had the idea of getting the INPUT element for the ExpandCollapseButton of each row and calling the click() function. However, forcing the exansion of a row causes a postback, hence I could not get the all to expand at once.

Do you have any ideas?
John
Top achievements
Rank 1
 answered on 24 May 2012
1 answer
112 views
Good Day,

I've been busy with Client Side Databinding and have been struggling to find a solution to my problem. I've recently found that there is a property (RadGrid.ClientSettings.DataBinding.ShowEmptyRowsOnLoad) which helps but after doing a postback the emptyrows are showing again. Please see attachment below.

Thank you
Pavlina
Telerik team
 answered on 24 May 2012
1 answer
143 views
Hi All,

I am facing weird issue in telerik Grid control. I have telerik grid where there is one column for checkbox. Some of the checkbox in the grid are disabled. If you double click on those disable checkbox then it will get checked/unchecked. I don't want disable checkbox to get checked/unchecked. can someone know the solution to this problem?

Thanks in advance

Regards,
Devendra.
Pavlina
Telerik team
 answered on 24 May 2012
2 answers
111 views

Hi,

I've built a grid which uses Virtual Scrolling and has been set up with a page size of 8. I've noticed that intermittently that the vertical scrollbar was not appearing. During my investigation I discovered that if the VirtualItemCount is 32, the Scrollbar disappears and if I increase the VirtualItemCount to 33, the vertical scrollbar will happily appear.

Can you please provide a solution to this issue?

Thanks,

Aash.

Pavlina
Telerik team
 answered on 24 May 2012
4 answers
85 views
Hi,

Im using the radbutton in a project. In a page I have placed some buttons. When I'm moving the mouse over the buttons sometimes the highliging color will not be shown. specially if I mouve the mouse a little bit faster over the button. The buttons are looking like default (non hovered). The skin is "Office2007". This problem occurs only in Internet Explorer. In Firefox and Chrome the hovering is working well every time. I have checked this behavior with the Telerik demo pages. The problem occurs there also.
I'm using the Telerik verion 2011.3.1115.35.

How to solve this problem?

Best regards,
Ralf
Slav
Telerik team
 answered on 24 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?