Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
255 views

Hi,

 

Why is the following only working with Flow and not with List:

                   <telerik:SiteMapLevelSetting Level="1" ListLayout-RepeatDirection="Vertical" Layout="List">
                               <NodeTemplate>
                            <asp:HyperLink ID="HyperLink1" CssClass="rsmlink" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "linkto") %>' Text='<%# DataBinder.Eval(Container.DataItem, "description") %>' runat="server"></asp:HyperLink>
                    </NodeTemplate>
                             <SeparatorTemplate><hr /></SeparatorTemplate>
                         </telerik:SiteMapLevelSetting>

 

I need to create separators between the items...

 

Marc

Fit2Page
Top achievements
Rank 3
Bronze
Bronze
Iron
 answered on 19 Jun 2019
2 answers
228 views

Hi Team,

I have a requirement where I need to create a dynamic editable grid inside a repeater record. I have referred the following telerik links to do the implementation:

https://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultvb.aspx?show-source=true

https://docs.telerik.com/devtools/aspnet-ajax/controls/grid/data-editing/commanditem/command-item-template#how-to-customize-the-add-new-recordrefresh-text-in-the-commanditem-area

However, the javascript call to get_batchEditingManager method is not working for the RadPushButton under CommandItemTemplate. Please note that the difference in my implemenation is that the RadGrid is dynamically bound and is nested inside a repeater. Please refer the attached code snippet for your reference.

Regards,

Nisheet

 

Vessy
Telerik team
 answered on 19 Jun 2019
3 answers
386 views

Hello,

when I call the javascript function set_contentUrl, then Google Chrome open a new tab. This is since today, it seems to be after the update of Chrome 75.0.3770.90.

Does anybody know a solution for this?

All help would be appreciated.

Rumen
Telerik team
 answered on 18 Jun 2019
1 answer
842 views

When exporting a RadGrid to excel, how do I get the backcolor of my rows to not extend infinitely. My RadGrid has 11 columns but when I export to excel, the backcolor of my alternateitemstyle extends past 11 columns. This is my RadGrid code:

 

<telerik:RadGrid ID="On_Time_Receipt_Summary" runat="server" RenderMode="Lightweight" Height="700px" Width="1300px" ShowFooter="true"
OnCustomAggregate="On_Time_Receipt_Summary_CustomAggregate" OnExportCellFormatting="On_Time_Receipt_Summary_ExportCellFormatting">
<ClientSettings>
<Scrolling AllowScroll="True" UseStaticHeaders="true" />
<Resizing AllowColumnResize="true" AllowRowResize="true" ClipCellContentOnResize="false" ResizeGridOnColumnResize="true" />
</ClientSettings>
<ExportSettings ExportOnlyData="true" Excel-FileExtension="xls" Excel-Format="ExcelML" FileName="On_Time_Receipt_Summary" OpenInNewWindow="true" UseItemStyles="true"></ExportSettings>
<MasterTableView AutoGenerateColumns="false">
<HeaderStyle BackColor="#839DBE" BorderStyle="Solid" Font-Bold="False" Wrap="False"
ForeColor="White" Font-Names="Arial" Font-Size="8pt" BorderWidth="1px"
Height="50px" />
<ItemStyle BackColor="White" Font-Size="8pt" Font-Names="Arial" ForeColor="Black" Wrap="False" />
<AlternatingItemStyle BackColor="#e1e6ef" Font-Size="8pt" Font-Names="Arial" ForeColor="Black" Wrap="False" />
<FooterStyle BackColor="#839DBE" BorderStyle="Solid" Font-Bold="False" Wrap="False"
ForeColor="White" Font-Names="Arial" Font-Size="8pt" BorderWidth="1px"
Height="25px" />
<Columns>
<telerik:GridBoundColumn DataField="Vendor" HeaderText="Vendor" HeaderStyle-Width="65px" FooterText="Total:"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Vendor Name" HeaderText="Vendor Name" HeaderStyle-Width="225px"></telerik:GridBoundColumn>
<telerik:GridNumericColumn DataField="Total Receipt Lines" HeaderText="Total Receipt Lines" HeaderStyle-Width="50px" DataFormatString="{0:#,##0;}" Aggregate="Sum">
<ItemStyle HorizontalAlign="Right" />
<FooterStyle HorizontalAlign="Right" />
</telerik:GridNumericColumn>
<telerik:GridNumericColumn DataField="Total Received Qty" HeaderText="Total Received Qty" HeaderStyle-Width="65px" DataFormatString="{0:#,##0;}" Aggregate="Sum">
<ItemStyle HorizontalAlign="Right" />
<FooterStyle HorizontalAlign="Right" />
</telerik:GridNumericColumn>
<telerik:GridNumericColumn DataField="Cost Amount" HeaderText="Cost Amount" HeaderStyle-Width="70px" DataFormatString="{0:$#,##0;}" Aggregate="Sum">
<ItemStyle HorizontalAlign="Right" />
<FooterStyle HorizontalAlign="Right" />
</telerik:GridNumericColumn>
<telerik:GridNumericColumn DataField="On Time" HeaderText="On Time" HeaderStyle-Width="50px" DataFormatString="{0:#,##0;}" Aggregate="Sum">
<ItemStyle HorizontalAlign="Right" />
<FooterStyle HorizontalAlign="Right" />
</telerik:GridNumericColumn>
<telerik:GridNumericColumn DataField="On Time Pct" HeaderText="On Time Pct" HeaderStyle-Width="50px" UniqueName="OnTimePct" Aggregate="Custom" FooterAggregateFormatString="{0:0%}">
<ItemStyle HorizontalAlign="Right" />
<FooterStyle HorizontalAlign="Right" />
</telerik:GridNumericColumn>
<telerik:GridNumericColumn DataField="On Time 90% Fill Rate" HeaderText="On Time 90% Fill Rate" HeaderStyle-Width="65px" DataFormatString="{0:#,##0;}" Aggregate="Sum">
<ItemStyle HorizontalAlign="Right" />
<FooterStyle HorizontalAlign="Right" />
</telerik:GridNumericColumn>
<telerik:GridNumericColumn DataField="On Time 90% Fill Rate Pct" HeaderText="On Time 90% Fill Rate Pct" HeaderStyle-Width="65px" UniqueName="OnTimeFillRatePct" Aggregate="Custom" FooterAggregateFormatString="{0:0%}">
<ItemStyle HorizontalAlign="Right" />
<FooterStyle HorizontalAlign="Right" />
</telerik:GridNumericColumn>
<telerik:GridBoundColumn DataField="Purchaser" HeaderText="Purchaser" HeaderStyle-Width="100px">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Responsibility Center" HeaderText="Responsibility Center" HeaderStyle-Width="100px"></telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
Rumen
Telerik team
 answered on 18 Jun 2019
1 answer
140 views

If you go at the demo https://demos.telerik.com/aspnet-ajax/fileexplorer/examples/server-sideapi/dbfilebrowsercontentprovider/defaultcs.aspx and try to rename the file with a extension that are not accepted (example ".txt" that are not in Configuration.SearchPatterns) you obtain the message "The selected folder could not be created because the application did not have enough permissions. Please, contact the administrator.".
The same error are displayed if you edit have the Configuration-AllowFileExtensionRename="false" and use a dot in the name of file.

This message are inappropriate for the context.

Vessy
Telerik team
 answered on 18 Jun 2019
5 answers
954 views
Hi,
I am having trouble making this right. So I have a page containing one radgrid showed in a iframe (as attached).
The weird this is that the first time it shows, the grid width is not 100% consuming the whole iframe width. But, when I page into page 2, it resizes itself to 100% (the width I was expecting to be in the first load).

Any idea on how to fix this?
I use radgrid width 100% and all other column item and header is in percentage.


<telerik:RadGrid ID="gvPreAddReturnsRequiringUserConfirmation" runat="server" Width="100%"
                    AllowPaging="true" BorderStyle="None" ShowHeader="true" ShowFooter="false" PageSize="2"
 AutoGenerateColumns="false">
                    <PagerStyle AlwaysVisible="false" />
                    <MasterTableView RetrieveAllDataFields="false" ClientDataKeyNames="PreAddReturnID"
                        DataKeyNames="PreAddReturnID">
                        <Columns>
                          
                            <telerik:GridBoundColumn UniqueName="UniqueIdentifier" DataField="UniqueIdentifier"
                                HeaderText="Unique ID">
                                <ItemStyle Width="15%" />
                                <HeaderStyle Width="15%" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn UniqueName="FirstName" DataField="FirstName" HeaderText="First Name">
                                <ItemStyle Width="20%" HorizontalAlign="Center" />
                                <HeaderStyle Width="20%" HorizontalAlign="Center" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn UniqueName="LastOrBusinessName" DataField="LastOrBusinessName"
                                HeaderText="Last/Business Name">
                                <ItemStyle Width="20%" HorizontalAlign="Center" />
                                <HeaderStyle  Width="20%" HorizontalAlign="Center" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn UniqueName="StreetAddress" DataField="StreetAddress" HeaderText="Address">
                                <ItemStyle Width="15%" HorizontalAlign="Center" />
                                <HeaderStyle  Width="15%" HorizontalAlign="Center" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn UniqueName="City" DataField="City" HeaderText="City">
                                <ItemStyle Width="10%" HorizontalAlign="Center" />
                                <HeaderStyle  Width="10%" HorizontalAlign="Center" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn UniqueName="StateCode" DataField="StateCode" HeaderText="State">
                                <ItemStyle Width="5%" HorizontalAlign="Center" />
                                <HeaderStyle Width="5%" HorizontalAlign="Center" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn UniqueName="ZipCode" DataField="ZipCode" HeaderText="Zip Code">
                                <ItemStyle Width="10%" HorizontalAlign="Center" />
                                <HeaderStyle  Width="10%" HorizontalAlign="Center" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn UniqueName="IOCMatchIndicator" DataField="IOCMatchIndicator"
                                HeaderText="Match Indicator">
                                <ItemStyle Width="5%" HorizontalAlign="Center" />
                                <HeaderStyle Width="5%" HorizontalAlign="Center" />
                            </telerik:GridBoundColumn>
                        </Columns>
                        <NoRecordsTemplate>
                            <div class="box_notification info">
                                No PreAdd Returns</div>
                        </NoRecordsTemplate>
                    </MasterTableView>
                </telerik:RadGrid>
Setiawan
Top achievements
Rank 1
 answered on 18 Jun 2019
5 answers
593 views

Hello,

 I have a <telerik:RadGrid> which contains some <telerik:GridBoundColumn> elements. Until now the AutoPostBackOnFilter value was set to true. This means the grid had its contents updated every time I left the focus of one of the GridBoundColumns. This is not a desired behavior anymore. Now I just want to trigger the filtering manually by let's say clicking on a button. So I set all the AutoPostBackOnFilter values to false and created a button with the according serverside event handler, which is empty so far :)

 How could I implement this requirement?

 Thanks in advance!

Eyup
Telerik team
 answered on 17 Jun 2019
3 answers
158 views

I have a situation in which I create the next level of items in a TreeList in the ChildItemsDataBind event.

At some levels of the tree, there are a large number of child items being created.

And, each of these items requires a lengthy query to obtain the fields to populate it.

This scenario can take as long as 10 seconds or more in some cases.

When this case arises, the user has no idea if anything is happening and may believe the page is frozen or has crashed.

I need to display a ProgressArea or UpdateProgress to make it clear work is being done.

I can do this no problem by initiating the process with something like a button click event.

What I would like to do is have this process initiated when a specific item of the TreeList level is selected.

Is there a way to initiate and display a ProgressArea or UpdateProcess from some TreeList event?

Eyup
Telerik team
 answered on 17 Jun 2019
5 answers
364 views

I'm trying to get a row of a TreeList to change appearance when the mouse is over it.

I can do this in css style for a GridView.

But there doesn't seem to be similar functionality for a tree list row.

Does anyone know if this can be done?

Vessy
Telerik team
 answered on 17 Jun 2019
0 answers
206 views

We did some research on Azure Bot Framework and we found out that we need to use code to build our Chatbot's dialog.

Does Telerik has plan to build something similar to IBM Watson Assistant's visual dialog editor?
Screencap: https://www.ibm.com/cloud/watson-assistant/assets/img/image_1.png

The visual dialog editor is very easy to use to create complex dialogues for their Chatbot.

Thanks.

HSLaw
Top achievements
Rank 1
 asked on 17 Jun 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?