Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
8.7K+ views


Depending on data within row. if column "Behind90Days" is 1 then I need to make the entire row
within the datagrid some shade of red to alert the user. Have looked through too many examples
that don't seem to touch of entire row but individual columns?

In the ItemDataBound event, check the value 'Behind90Days' if it's == 1 then change entire
background color of that row to red!

Thanks!

Jim D
Attila Antal
Telerik team
 answered on 25 May 2020
1 answer
114 views

Hi,

I am trying to get RadContext menu on grid items but it doesn't work on Google chrome. It works fine with Internet Explorer. Any help to get it compatible with chrome would be great.

I am attaching the images of Chrome and Internet Explorer

Thanks in advance,

Swanand

Attila Antal
Telerik team
 answered on 25 May 2020
1 answer
55 views

Hi,

 

When having 15 items on 2 pages, PageSize =10 .

Switching to 20 per page in front-end  makes the complete pager bar dissappear.

Can't believe this is standard behavior...is it?

 

Marc

Attila Antal
Telerik team
 answered on 25 May 2020
1 answer
133 views

Hi,

 

I have a RadGrid with pagination of 10 items per page.

Sometimes it is showing only 2 items while Pager is saying: Pagina 6 van 13, items 51 tot 60 van 128

Any idea waht could cause this?

 

Marc

Attila Antal
Telerik team
 answered on 25 May 2020
10 answers
257 views
When using ExpandMode.ServerSide with a TreeView, is it possible to setup expand level also or other ways to expand certain nodes automatically?
Mikko
Top achievements
Rank 1
Veteran
 answered on 22 May 2020
8 answers
936 views
As per the post in this discussion:
http://www.telerik.com/community/forums/aspnet/upload/is-there-a-max-filename-length.aspx 

"The limit of 255 characters for Windows XP or 260 character limit for Windows Vista applies to the entire filepath and not just the filename"

How can I check that on client side, and inform the clients that the filename along with file path is too long?
Peter Milchev
Telerik team
 answered on 22 May 2020
1 answer
6.4K+ views
Good day all,

I have a radtextbox.
how this radtextbox can be restricted to only numbers.

means only numbers should be entered in textbox.



thanks to all.
Rumen
Telerik team
 answered on 22 May 2020
3 answers
530 views

I have a radcombobox in a modal.  The combobox is hidden when the modal first opens.  After the user clicks a button to display the modal, then makes a selection in an asp:DropdownList, the div containing the combobox displays and works properly.  After a "save" button click, modal closes and the div containing the Radcombobox is set to Visible=false again from codebehind.  However, if the user attempts to repeat the aforementioned process, then Visible is set to "true" on the div containing the RadComboBox, the ComboBox no longer displays correctly.  I have attached a screenshot of the issue.

 

Here is the modal code:

   <div id="modalFindAndReplace" class="md-modal colored-header custom-width md-effect-9 primary">
       <div class="md-content">
           <div class="modal-header">
               <button type="button" data-dismiss="modal" aria-hidden="true" class="close md-close"><i class="icon s7-close"></i></button>
               <h3 class="modal-title">Find and Replace</h3>
           </div>
           <div class="panel panel-alt3 panel-transparent">
               <div class="panel-heading panel-heading-cg">
                   <button runat="server" id="btnSearchandReplace" data-dismiss="modal" type="button" class="btn btn-alt3" onserverclick="btnSearchandReplace_ServerClick" ><i class="icon s7-search"></i> Find and Replace</button>
                   <button type="button" id="btnCancelTargetField" data-dismiss="modal" class="btn btn-alt3 md-close" runat="server"><i class="icon s7-close"></i> Cancel</button>
               </div>
           </div>
           <div class="modal-body form">
               <div class="panel-body" style="margin: 0 auto;">
                   <div>
                       <asp:UpdatePanel runat="server" >
                           <ContentTemplate>
                               <div class="form-group">
                                   <span> <label for="ddlSearchColumn" class="control-label text-danger">Search Column</label>
                                   <asp:DropDownList runat="server" ID="ddlSearchColumn" AutoPostBack="true"  OnSelectedIndexChanged="ddlSearchColumn_SelectedIndexChanged"></asp:DropDownList></span>
                                  <span class="pull-right">
                                      <asp:CheckBox ID="CheckBox1" runat="server" Text="Include Headers" /></span>
                               </div>
                               <div class="form-group" id="divSearchText" runat="server">
                                   <label for="txtSearchText" class="control-label">Find Text:</label>
                                   <asp:TextBox ID="txtSearchText" runat="server" CssClass="form-control" ></asp:TextBox>
                               </div>
                               <div class="form-group" id="divSearchList" runat="server" visible="false">
                                   <label for="ddlSearchList" class="control-label">Find Text:</label>
                                   <asp:DropDownList runat="server" ID="ddlSearchList"></asp:DropDownList>
                               </div>
                               <div class="form-group" id="replaceWithTextBox" runat="server">
                                   <label for="txtReplaceText" class="control-label">Replace With:</label>
                                   <asp:TextBox ID="txtReplaceText" runat="server" CssClass="form-control" ></asp:TextBox>
                               </div>
                               <div class="form-group" id="divAssetType" runat="server" visible="false">
                                   <label for="ddlReplaceAssetType" class="control-label">Replace Asset Type Name With:</label>
                                   <asp:DropDownList runat="server" ID="ddlReplaceAssetType"></asp:DropDownList>
                               </div>
                               <div class="form-group" id="divAssetStatus" runat="server" visible="false">
                                   <label for="ddlReplaceStatus" class="control-label">Replace Status With:</label>
                                   <asp:DropDownList runat="server" ID="ddlReplaceStatus"></asp:DropDownList>
                               </div>
                               <div class="form-group" id="divAssetUsage" runat="server" visible="false">
                                   <label for="ddlReplaceUsage" class="control-label">Replace Usage Type  With:</label>
                                   <asp:DropDownList runat="server" ID="ddlReplaceUsage"></asp:DropDownList>
                               </div>
                               <div class="form-group" id="divChargeType" runat="server" visible="false">
                                   <label for="ddlReplaceChargeType" class="control-label">Replace Charge Type  With:</label>
                                   <asp:DropDownList runat="server" ID="ddlReplaceChargeType"></asp:DropDownList>
                               </div>
                               <div class="form-group" id="divPositionList" runat="server" visible="false">
                                   <label for="ddlPositionList" class="control-label">Replace Position List Name  With:</label>
                                   <asp:DropDownList runat="server" ID="ddlPositionList"></asp:DropDownList>
                               </div>
                               <div class="form-group" id="divAssets" runat="server" visible="false">
                                   <label for="ddlAssets" class="control-label">Replace Asset Name  With:</label>
                                   <asp:DropDownList runat="server" ID="ddlAssets"></asp:DropDownList>
                               </div>
                               <div class="form-group" id="divPayrollTime" runat="server" visible="false">
                                   <label for="ddlPayrollTime" class="control-label">Replace Generates Payroll Time With:</label>
                                   <asp:DropDownList runat="server" ID="ddlPayrollTime"></asp:DropDownList>
                               </div>
                               <div class="form-group" id="divPayrollTimeFor" runat="server" visible="false">
                                   <label for="ddlPayrollTimeFor" class="control-label">Replace Generates Payroll Time For With:</label>
                                   <asp:DropDownList runat="server" ID="ddlPayrollTimeFor"></asp:DropDownList>
                               </div>
                               <div class="form-group" id="divUOM" runat="server" visible="false">
                                   <label for="ddlUOM" class="control-label">Replace Charge Item Unit of Measure Name With:</label>
                                   <asp:DropDownList runat="server" ID="ddlUOM"></asp:DropDownList>
                               </div>
                           <div class="form-group" id="divCompany" runat="server" visible="false">
                                   <label for="cmbCompany">Replace Company Name With:</label>
                                   <div class="input-group">
                                       <telerik:RadComboBox DropDownAutoWidth="Enabled" RenderMode="Lightweight" ID="cmbCompany" EmptyMessage="Type to Select..." runat="server" Width="100%" EnableLoadOnDemand="true" AllowCustomText="true" ShowMoreResultsBox="true" EnableVirtualScrolling="true" >
                                           <WebServiceSettings Method="GetCompanies" Path="~/Portal/Ajax/COGS.asmx" />
                                       </telerik:RadComboBox>
                                       <span class="input-group-btn">
                                           <button runat="server" id="btnClearCompany" type="button" class="btn btn-default" onclick="javascript:ClearCompany();" title="Clear Selected Customer"><span class="s7-close" style="font-size: 20px;"></span></button>
                                       </span>
                                   </div>
                                   <asp:TextBox ID="hidCompany" runat="server" Style="display: none;"></asp:TextBox>
                               </div>
                           </div>
                           </ContentTemplate>
                       </asp:UpdatePanel>
               </div>
           </div>
       </div>
   </div>
</div>
Peter Milchev
Telerik team
 answered on 22 May 2020
3 answers
149 views

Hi,

 

For years I used the following code:

 

            Dim dropDown As RadToolBarDropDown = New RadToolBarDropDown("PageSize")
            dropDown.CssClass = "perPageDropDown"
            dropDown.EnableImageSprite = False
            dropDown.Text = GetGlobalResourceObject("Insight", "Per pagina")
            dropDown.ToolTip = GetGlobalResourceObject("Insight", "Per pagina")
            RadFileExplorer1.ToolBar.Items.Add(dropDown)

 

But after upgrading to R1 2020 i get the error:

 

Bericht: Value property is not supported by RadToolBarDropDown

Stack Trace:
at Telerik.Web.UI.RadToolBarDropDown.get_Value() at Telerik.Web.UI.RadFileExplorer.ConfigureToolbarButtons() at Telerik.Web.UI.RadFileExplorer.ControlPreRender() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

Any clues?

Marc

Peter Milchev
Telerik team
 answered on 22 May 2020
3 answers
151 views
How to change the icon of the collapse/Expand in the radGantt?
bassam
Top achievements
Rank 1
Veteran
 answered on 21 May 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?