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

An issue was reported to me about the RadEditor moving h4, and related tags, out of <summary> tags.

In looking for information online on if the tag combinations are allowed, I found this link:    https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary

Here is the specific example:
    <details open><summary><h4>Overview</h4></summary><ol><li>Cash on hand: $500.00</li><li>Current invoice: $75.30</li><li>Due date: 5/6/19</li></ol></details>

 

When I paste that example into the html editor of the RadEditor it moves the <h4> out of the summary tag and below it.

 

Is that correct behavior?

Rumen
Telerik team
 answered on 27 Apr 2021
5 answers
145 views
Hi Team
We upgraded one of the application from windows2003(IIS6) server to windows server 2008(IIS7.5),
In old environment radeditor control  is working as per functionality in IE11 and IE9.
After upgrade its working in IE9 but some of the functions are breaking in IE11.
When we trying to insert something from the tools (symbols,tables,images etc) ,It is inserting in starting of the first line ,in place of cursor location.

Site is running in classic mode.

Thanks.
Rumen
Telerik team
 answered on 27 Apr 2021
4 answers
98 views

We have Telerik UI for ASP.NET Ajax version 2018.3.910.45.

I have a requirement to default a particular legend to disabled so that the associated data points are not shown. How can I do this?

 

Vessy
Telerik team
 answered on 27 Apr 2021
1 answer
175 views

I want to show Sort Icon on all the columns by default when the RADGrid/DetailTables columns loads for the first time. Currently, the Sort Icon appears only after user clicks on any column.

1. Is there any property on RADGrid that shows Sort Icon by default on RADGrid/DetailTables columns?

2. on the other hand I want have toold tip on first column of the RADGrid/DetailTables columns?

 

 <telerik:RadGrid RenderMode="Lightweight" ID="rgView" ShowStatusBar="true" runat="server" 
            PageSize="12" AllowMultiRowSelection="False"
            AutoGenerateColumns="False" AllowSorting="True" CssClass="grid-forecast"
            OnDetailTableDataBind="rgView_DetailTableDataBind" OnNeedDataSource="rgView_NeedDataSource" >
             <ClientSettings>
                    <Scrolling ScrollHeight=""></Scrolling>
                </ClientSettings>
            <PagerStyle Mode="NumericPages"></PagerStyle>
           <MasterTableView HeaderStyle-CssClass="goalGridHeader" DataKeyNames="MonthNumber" AllowMultiColumnSorting="True" GroupsDefaultExpanded="false">                      
                 <DetailTables>
                    <telerik:GridTableView DataKeyNames="CenterID" Name="ForecastByCenter" Width="100%" HorizontalAlign="Left">
                        <Columns>         
                    <telerik:GridBoundColumn SortExpression="CenterName" ShowSortIcon="true" AllowSorting="true" ItemStyle-HorizontalAlign="Left" ItemStyle-VerticalAlign="Middle" UniqueName="CenterName" HeaderText="Center Name" HeaderButtonType="TextButton" 
                        DataField="CenterName">                                      
                        
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn SortExpression="NewEO" HeaderText="New+EO" ShowSortIcon="true" HeaderButtonType="TextButton" ItemStyle-BackColor="" ItemStyle-CssClass="col-type1" HeaderStyle-CssClass="hd-type1"
                        DataField="NewEO">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn SortExpression="Absent" HeaderText="Absent" ShowSortIcon="true" HeaderButtonType="TextButton" ItemStyle-BackColor="" ItemStyle-CssClass="col-type1" HeaderStyle-CssClass="hd-type1"
                        DataField="Absent">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn SortExpression="EC" HeaderText="Enrollment" ShowSortIcon="true" HeaderButtonType="TextButton" ItemStyle-BackColor="" ItemStyle-CssClass="col-type1" HeaderStyle-CssClass="hd-type1 hd-top"
                        DataField="EC">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn SortExpression="CYNewEO" HeaderText="CY New+EO" ShowSortIcon="true" HeaderButtonType="TextButton"   ItemStyle-CssClass="col-type2" HeaderStyle-CssClass="hd-type2"
                        DataField="CYNewEO">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn SortExpression="CYAbsent" HeaderText="CY Absent" ShowSortIcon="true" HeaderButtonType="TextButton"  ItemStyle-CssClass="col-type2" HeaderStyle-CssClass="hd-type2 hd-top"
                        DataField="CYAbsent">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn SortExpression="CYEC" HeaderText="CY Enrollment" ShowSortIcon="true" HeaderButtonType="TextButton" ItemStyle-CssClass="col-type2 n3" HeaderStyle-CssClass="hd-type2"
                        DataField="CYEC">
                    </telerik:GridBoundColumn>
                     <telerik:GridBoundColumn SortExpression="LYNewEO" HeaderText="LY New+EO" ShowSortIcon="true" HeaderButtonType="TextButton" ItemStyle-CssClass="col-type3" HeaderStyle-CssClass="hd-type3 n1"
                        DataField="LYNewEO">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn SortExpression="LYAbsent" HeaderText="LY Absent" ShowSortIcon="true" HeaderButtonType="TextButton" ItemStyle-CssClass="col-type3" HeaderStyle-CssClass="hd-type3 hd-top"
                        DataField="LYAbsent">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn SortExpression="LYEC" HeaderText="LY Enrollment" ShowSortIcon="true" HeaderButtonType="TextButton" ItemStyle-CssClass="col-type3" HeaderStyle-CssClass="hd-type3"
                        DataField="LYEC">
                        
                    </telerik:GridBoundColumn>                    
                        </Columns>
                    </telerik:GridTableView>
                </DetailTables>
           <Columns>               
                <telerik:GridBoundColumn DataField="MonthName" HeaderText="Month" ItemStyle-CssClass="col-hd" HeaderStyle-CssClass="hd-type0"  />
                <telerik:GridBoundColumn DataField="NewEO" HeaderText="New+EO"  ItemStyle-BackColor="" ItemStyle-CssClass="col-type1" HeaderStyle-CssClass="hd-type1"/>
                <telerik:GridBoundColumn DataField="Absent" HeaderText="Forecast Absent"  ItemStyle-CssClass="col-type1" HeaderStyle-CssClass="hd-type1 hd-top"/>
                <telerik:GridBoundColumn DataField="EC" HeaderText="Enrollment"  ItemStyle-CssClass="col-type1" HeaderStyle-CssClass="hd-type1 n3"/>
                <telerik:GridBoundColumn DataField="CYNewEO" HeaderText="New+EO"  ItemStyle-CssClass="col-type2" HeaderStyle-CssClass="hd-type2" />
                <telerik:GridBoundColumn DataField="CYAbsent" HeaderText="Actual Absent" ItemStyle-CssClass="col-type2" HeaderStyle-CssClass="hd-type2 hd-top"  />
                <telerik:GridBoundColumn DataField="CYEnrollment" HeaderText="Enrollment" ItemStyle-CssClass="col-type2 n3" HeaderStyle-CssClass="hd-type2" />
                <telerik:GridBoundColumn DataField="LYNewAndEO" HeaderText="New+EO" ItemStyle-CssClass="col-type3" HeaderStyle-CssClass="hd-type3 n1"/>
                <telerik:GridBoundColumn DataField="LYAbsent" HeaderText="LY% Absent" ItemStyle-CssClass="col-type3" HeaderStyle-CssClass="hd-type3 hd-top" />
                <telerik:GridBoundColumn DataField="LYEnrollment" HeaderText="Enrollment" ItemStyle-CssClass="col-type3" HeaderStyle-CssClass="hd-type3" />
                <telerik:GridBoundColumn DataField="ForecastPerCent" HeaderText="% Forecast Completed" ItemStyle-CssClass="col-type4" HeaderStyle-CssClass="hd-type4" />
            </Columns>
            </MasterTableView>
        </telerik:RadGrid>

 

 

Attila Antal
Telerik team
 answered on 26 Apr 2021
7 answers
1.0K+ views

According to the page here : http://www.telerik.com/aspnet-ajax/tech-sheets/browser-support Edge is a supported browser but the RadComboBox controls are not being displayed correctly for me and my users. See attached.

What is the issue here?

Rumen
Telerik team
 answered on 26 Apr 2021
1 answer
186 views

I really like the popup window that is used in the RadFileExplorer control. The look and feel and all that.

 

I was wondering if it's possible to re-use this popup window with the RadGrid. For each row, I have a column for a specific file attachment. Ideally I would like to have a image button column that when clicked, will popup the upload window. Once the user does their thing and close the window, the Radgrid would refresh. 

 

I would prefer not to create my own custom page for the async upload.

Is this possible?

Vessy
Telerik team
 answered on 26 Apr 2021
1 answer
795 views

I ran into an issue where I needed the Checkbox column of my radgrid to look like it was enabled (because it was hard to see the disabled checkboxes), but not act like it was enabled.

The reason I'm posting this here is because I couldn't find any easy solution on the internet or forum searches.

The first thing I did was not use a GridCheckboxColumn, I used a GridTemplateColumn with a checkbox template.

I then put onclick="return false;" in the checkbox attributes so that it doesn't do anything - effectively disabling the checkbox.

Here's the code in case it can help someone else:

<telerik:GridTemplateColumn DataField="MyDataField" DataType="System.Boolean" FilterControlAltText="Filter MyDataField column" HeaderText="My Data Field" SortExpression="MyDataField" UniqueName="MyDataField" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true">
         <ItemTemplate>
             <asp:CheckBox ID="MyDataField" Checked='<%# Eval("MyDataField") %>' runat="server"  onclick="return false;"  />
         </ItemTemplate>
</telerik:GridTemplateColumn>

 

 

 

 

Attila Antal
Telerik team
 answered on 26 Apr 2021
12 answers
3.4K+ views

Hi,

 

Yesterday I discovered in the web.config on one of our webs the following:

 

<add name="Telerik_Web_UI_DialogHandler_aspx" path="me.hochalla.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />

 

normally this is:

 

<add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />

 

What do you think this is?

Strangest thing is I removed the line yesterday but now it is in again.

Please respond soonest.

Marc

Rumen
Telerik team
 answered on 26 Apr 2021
7 answers
277 views
Hi,
I am facing issue to get uploaded file from FileUpload control embeded in a popup dialog box. This popup is rendered using EditFormSettings
for RadGrid.

My RadGrid look like this:

DocumentList.aspx
<telerik:RadGrid ID="RadGridDocuments" runat="server" Visible="true"
        Skin="Simple" EnableEmbeddedSkins="false" CssClass="CustomGrid"
        OnInsertCommand="RadGridDocuments_InsertCommand">
    <MasterTableView CommandItemDisplay="Top" DataKeyNames="DocumentId" EditMode="PopUp">
        <CommandItemTemplate>
            <table class="rgCommandTable" style="width: 100%;" cellpadding="0" cellspacing="0" border="0" id="customGridHeader">
            <tr>
                <td align="right" class="block-title">
                    <asp:Button runat="server" ID="buttonAddNewRecord" CommandName="InitInsert" CssClass="rgAdd" Text=" " Visible="true" />
                    <asp:LinkButton runat="server" ID="linkbuttionInitInsert" CommandName="InitInsert" CommandArgument="TestPlan" Text="Upload Document" Visible="true"></asp:LinkButton>
                </td>
            </tr>
            </table>
        </CommandItemTemplate>
        <Columns>
            <telerik:GridBoundColumn UniqueName="DocumentName" HeaderText="Document Name" DataField="DocumentName" ItemStyle-Width="350px"></telerik:GridBoundColumn>
            <telerik:GridButtonColumn UniqueName="DeleteColumn" CommandName="Delete" Text="Delete" ConfirmDialogType="Classic" ConfirmText="Are you sure you want to delete this document?" ItemStyle-Width="10px" ItemStyle-CssClass="rgAction"></telerik:GridButtonColumn>
        </Columns>
        <EditFormSettings InsertCaption="Upload Document" EditFormType="WebUserControl" PopUpSettings-Modal="true" UserControlName = "~/UserControls/UploadDocument.ascx">
            <FormTemplate>
            </FormTemplate>
        </EditFormSettings>                   
    </MasterTableView>
    <ClientSettings>
        <ClientEvents OnPopUpShowing="PopUpShowing" />
    </ClientSettings>               
</telerik:RadGrid>

UploadDocument.ascx
<asp:FileUpload runat="server" ID="fileUploadDocument" Width="220px" />
<asp:Button ID="buttonUpload" Text="Upload" runat="server"
    CausesValidation="true" CommandName="Upload" Width="80px"
    onclick="buttonUpload_Click"></asp:Button>

When I hit Upload button, page is properly postback but I unable to get uploaded file in buttonUpload_Click event of the button. fileUploadDocument.PostedFile property is showing null in this event.

Please advice.

Thanks very much in advance for your help.
John
Top achievements
Rank 1
 answered on 26 Apr 2021
5 answers
417 views
I have sserious problem. I have placed a grid with an EditInForm. In the form one of the fields is a template form that has a FileUpload control. I want to read and save the file name then save the path to the database. My problem is that I cannot locate the FileUpload control in the itemcommand event handler. HELP!

 

<rad:GridTemplateColumn DataField="Attachment" FilterImageUrl="\\we03vdchc\RadControls\Skins\Vista\Filter.gif"

 

 

HeaderText="Attachment" SortAscImageUrl="\\we03vdchc\RadControls\Skins\Vista\SortAsc.gif"

 

 

SortDescImageUrl="\\we03vdchc\RadControls\Skins\Vista\SortDesc.gif" UniqueName="Attachment" ColumnEditorID="Attachment">

 

 

<EditItemTemplate>

 

 

<asp:FileUpload ID="detailFileAttachmentUL" runat="server" />

 

 

<asp:Label ID="attachNameLBL"

 

 

runat="server" Text='<%# Bind("Attachment") %>'>

 

 

</asp:Label><br />

 

 

<asp:LinkButton ID="attachLB"

 

 

runat="server"

 

 

CommandArgument='<%# Bind("MuniTransactionID") %>'

 

 

CommandName="AttachDetailDoc"

 

 

OnCommand="attachLB_Command"

 

 

Text="Attach Document"></asp:LinkButton>

 

 

</EditItemTemplate>

 

 

</rad:GridTemplateColumn>

 

 

</Columns>

 


I have not posted the entire control because of the size. Any help on the code behind would be appreciated.
John
Top achievements
Rank 1
 answered on 26 Apr 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?