Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
90 views

Hi,

I was adding my style sheet in the client code of my page and my radscheduler looked fine. Then I decided to use RadStyleSheetManager to add my style sheet from the code behind and the radscheduler  in my page lost all of its default styles... Do I need to load them too in addition to my style sheet and in that case how do I do that?

Peter Filipov
Telerik team
 answered on 29 Jun 2015
4 answers
146 views

Hi,

I'm using RadTileList and creating the tiles dynamically based on user inputs. If user clicks on add, we will capture the data and create a tile and will Render in the UI. User can delete a tile, create a new tile with some inputs. We require Drag and Drop functionality and need to store the position of each tile. I'm using the below method to capture the position. ProjectAssetsTileList.GetAllTiles() is giving always "0" on page load. Please suggest a way to persist the TileList Tiles and Order.

 

protected List<DomainDAL.ProjectAsset> CaptureAssetPosition(List<DomainDAL.ProjectAsset> workingProjectAssets)
   {
       if (ProjectAssetsTileList.GetAllTiles().Count > 0)
       {
           foreach (DomainDAL.ProjectAsset asset in workingProjectAssets.Where(x => x.State != (int)Constants.AssetStatus.Deleted))
           {
 
               int position = ProjectAssetsTileList.GetAllTiles().FindIndex(x => x.Name == asset.AssetId.ToString());
               asset.SequenceNumber = position;
           }
       }
       List<DomainDAL.ProjectAsset> sorted = workingProjectAssets.OrderBy(x => x.SequenceNumber).ToList();
       return sorted;
   }

 

 

Marin Bratanov
Telerik team
 answered on 29 Jun 2015
4 answers
85 views

Hello,

I have a problem with show data in locked column on Internet Explorer 11. The problem appear for example when I expand some row or I added new to structure. When I use Chrome or Mozzila treelist behave good. Has anyone idea how fix this problem?

Thanks.

Mariusz
Top achievements
Rank 1
 answered on 29 Jun 2015
1 answer
168 views

Hello Team,

We are using RadAsyncUplaod to select Multiple Files and save it to Azure Blob Storage on click of upload button, The functionality which we want to achieve is to encrypt the File on selection before saving it to Temporary folder.

Let me know how to achieve this.

Regards,

Ruchi

Peter Filipov
Telerik team
 answered on 29 Jun 2015
1 answer
310 views

Hi,

I have a requirement to display a radwindow for every selected row in the radgrid. The content of the window is different for each row.
When I select multiple rows and click on a button, I need to display the radwindow one after the other. For example, if I select 5 rows and click on the button, I need to display the window 5 times.

In the button click event, I have the below code. 

foreach (GridDataItem item in grid.SelectedItems)
{
    window.VisibleOnPageLoad = true;
    // Load the content for the window
}
However, the window gets loaded only once after completion of the foreach loop. 

I also tried setting the Visible property of the window instead of using VisibleOnPageLoad. But in this case, the window is not displayed at all. 
Is there a way to display the window first and then continue execution of foreach loop?

Thanks in advance.

Regards,
Sowmya

Konstantin Dikov
Telerik team
 answered on 29 Jun 2015
4 answers
104 views

I am trying to implement Persistence Framework for RadMonthyYearPicker Control. But is is showing following error.

The control of Telerik.Web.UI.RadMonthYearPicker could not be persisted. Please review the online documetation for the supported controlsTelerik.

Tried using the following Versions: 2014.3.1024.35 and 2015.1.401.40

 

Maria Ilieva
Telerik team
 answered on 29 Jun 2015
1 answer
147 views

Hello,

 I am developing ASP.NET Usercontrol which includes a RadListView with ASP.NET DataPager.

 

I tried the same example shown it following page.

 http://demos.telerik.com/aspnet-ajax/datapager/examples/raddatapagervsdatapager/defaultcs.aspx

 

I am binding the RedListView in Page_Load event of the Usercontrol with checking the IsPostBack == false value.

When I place the Usercontrol in Page and run the application. It display the first page perfectly but when I change the Page using the pager the RadListView control will be hide and all data is cleared out.

 I also tried by removing the IsPostBack condition and found that when I click on 2nd page it display the double records then the defined Pagesize. Same with the 3rd page, it display the 3 times more records then the pagesize.

 

I replaced the ASP.NET DataPager with the RadDataPager but still I am facing the issue.

 

Any urgent help would be h​highly appreciated.

 

Thanks,

Jaydeep Jadav

 

Kostadin
Telerik team
 answered on 29 Jun 2015
2 answers
92 views

I have been trawling for an answer to this question but nothing is coming up.

In code behind with a RadToolBar I can use

 

GetCheckedGroupButton()

 

to identify which item is "clicked"

 

I cannot find any reference to a javascript version of this?

 is there one?

thanks

jON

 

Jon
Top achievements
Rank 1
 answered on 28 Jun 2015
1 answer
58 views

Hello,

I just downloaded the latest version of UI for ASP.Net Ajax v2015.2.623.45 BTW, I also have the .net framework 4.5.1 if you need that info.

Since downloading that new Telerik version I noticed that the Radgrid Paging is now broken. If I turn the paging off, the grid loads fine. However if I turn the paging on and run very basic code like below, I get a server error talking about a key that cannot be null. It does not tell me which key, but I can see it's some sort of a dictionary entry that has a key that's null. I no longer have the exact error verbiage. I have since reverted back to the prior version of v2015.1.401.45 and the paging is now working again.

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="RadGridAutomaticCrudOperations.aspx.vb"
    Inherits="RadGridAutomaticCrudOperations" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
    
</head>
 
<body>
 
    <form id="form1" runat="server">
 
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server" CdnSettings-TelerikCdn="Disabled">
            <Scripts>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
            </Scripts>
        </telerik:RadScriptManager>
 
            <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" DataSourceID="DataSource1">
 
                <PagerStyle Mode="NextPrevAndNumeric" />
 
                <MasterTableView Width="100%" CommandItemDisplay="TopAndBottom" AllowPaging="true" PageSize="2"
                    DataSourceID="DataSource1" HorizontalAlign="NotSet"
                    AutoGenerateColumns="True">
                </MasterTableView>
 
            </telerik:RadGrid>
 
        <asp:SqlDataSource SelectCommand=
            "select 'ABC' as Col1, 'DEF' as Col2
            union
            select '123' as Col1, '456' as Col2
            union
            select 'ZZZ' as Col1, 'QQQ' as Col2
            union
            select 'PPP' as Col1, 'UUU' as Col2
            union
            select 'DDD' as Col1, 'XXX' as Col2"
 
            ConnectionString="<%$ ConnectionStrings:Conn %>"
            ID="DataSource1" runat="server"></asp:SqlDataSource>
 
    </form>
 
</body>
 
</html>
nString="<%$ ConnectionStrings:Conn %>"
ID="DataSource1" runat="server"></asp:SqlDataSource>

    </form>

</body>

</html>
Vasil
Top achievements
Rank 1
 answered on 27 Jun 2015
7 answers
267 views

Hi,

I have issue while copy pasting a multi-line text with Carriage-return line feed in the GridBoundColumn. I need to remove the CRLF while pasting the text in there. I researched a lot in the forum and So far I have been unsuccessful . Here is my grid looks like as below -

 

<telerik:RadGrid ID="Grid" runat="server" OnItemDataBound="Grid_ItemDataBound" CssClass ="RadGrid" OnColumnCreated="Grid_ColumnCreated">
   <MasterTableView TableLayout="Fixed" Width="100%" DataKeyNames="StandardItemParaID" ClientDataKeyNames="StandardItemParaID" EditMode="InPlace">
<CommandItemTemplate>
<telerik:RadToolBar ID="GridToolBar" runat="server" />
</CommandItemTemplate>
<Columns>
<telerik:GridHyperLinkColumn DataNavigateUrlFields="StandardItemParaID,InspectionTypeID" ImageUrl="~/Icons/GridRowHistory.png" AllowFiltering="false" UniqueName="HistoryLink" ItemStyle-Width="30px" DataNavigateUrlFormatString="javascript:OpenStandardItemParagraphAudit({0},'{1}');" Text="History" AllowSorting="false" />
<telerik:GridCheckBoxColumn DataField="DataRecordDeleteFlag" ItemStyle-Width="50px" HeaderText="Delete" ></telerik:GridCheckBoxColumn>
<telerik:GridBoundColumn DataField="StandardItemParaNumber" HeaderText="StandardItem Paragraph No" ItemStyle-Width="92px" MaxLength ="50" />
<telerik:GridBoundColumn DataField="StandardItemParaDesc" HeaderText="Paragraph Description" ItemStyle-Width="350px" MaxLength ="2000"
ItemStyle-CssClass="CellWrap"/>
<telerik:GridDropDownColumn UniqueName="InspectionTypeID" DataField="InspectionTypeID" ListValueField="Key" ListTextField="Description" ItemStyle-Width="160px" SortExpression="InspectionType.InspectionTypeCode" HeaderText="Requirement" DropDownControlType="DropDownList" AllowFiltering="false" AllowSorting="false" />
<telerik:GridBoundColumn DataField="QANotes" HeaderText="QA Notes" ItemStyle-Width="350px" MaxLength ="500" ItemStyle-CssClass="CellWrap"/>
</Columns>
</MasterTableView>
</telerik:RadGrid>

 

Problem is in "DataField="StandardItemParaDesc" . I need to paste the following 3 line text there without the CRLF.

Example Data : Line 1
                          Line 2
                          Line 3

My expected output should be  Line 1 Line 2 Line 3 after copy paste. Now I am only seeing Line 1. Line 2 and Line 3 are completely missing.

Please help !!

 

Farhana
Top achievements
Rank 1
 answered on 26 Jun 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?