Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
633 views
Hi
I have radgrid in my application.
Its working fine for me.
But
I'm usiing the Export to excel and csv functions.
Exporting grid to excel is working fine but export to csv not showing the data rather showing only data column names.
Please help me as soon as possible.
Josh
Top achievements
Rank 1
Veteran
 answered on 12 Jan 2017
1 answer
198 views

Hi,

 

Trying to use this new control.

What about validation?

I get:

 

 

Control 'rbl_shipment' referenced by the ControlToValidate property of 'rbl_shipmentRequired' cannot be validated.

 

Marc

Ianko
Telerik team
 answered on 12 Jan 2017
1 answer
259 views

Hi Team,
I Want to draw polyline between map markers using asp.net C# (web page) , i am using MapPolyline object but it is not working.

Aspx page code:
 <asp:RadMap RenderMode="Lightweight" runat="server" ID="RadMap1" Zoom="10" CssClass="MyMap" Height="700px">
 <CenterSettings Latitude="25.2854" Longitude="51.5310" />
 </asp:RadMap>

C# Code:
MapPolyline polyline = new MapPolyline()
            {
                Points = p,
                Stroke = new SolidColorBrush(c),
                StrokeThickness = 2,
            };
             
dynamicLayer.Items.Add(polyline);

Error: "The Type or namespace MapPolyline could not be found"

What is the possible way to draw polyline between markers on asp.net radmap Please suggest.  

Regrads
Manoj Sahu.

Marin Bratanov
Telerik team
 answered on 12 Jan 2017
1 answer
88 views

I’m trying to add a query string to the Telerik.Web.UI.DialogHandler.aspx, depending on the on the command executed I want to build the query string. I.E.: if the command is DocumentManager then add ā€œ&cmd=1ā€

This is the js function:

function onCommandExecuted(sender, args) {
            var executedCommand = args.get_commandName();
            var oldAdditionalQueryString = sender.get_dialogOpener().get_additionalQueryString();
            if (executedCommand == 'DocumentManager') {
                sender.get_dialogOpener().set_additionalQueryString() = oldAdditionalQueryString + "&cmd=1";
…

However when I check the HttpContext context on my custom file browser, the query is not showing the new variable (cmd) added:
Ontext.Request.Url.Query =

?DialogName=DocumentManager&UseRSM=true&renderMode=1&Skin=Bootstrap&Title=Manejador+de+documentos&doid=02ebd860-6197-43e3-a6be-01a823e70056&dpptn=&isRtl=false

9971404
Top achievements
Rank 1
 answered on 12 Jan 2017
1 answer
150 views

Hi,

I want to add a video on my web login page as background. However, after inserting the MediaPlayer, the page crashes with several errors. (attached)

If I create a brand new application with nothing but the media player, I do not get this problem.

 

Pavlina
Telerik team
 answered on 12 Jan 2017
3 answers
407 views

Hello,

I have a usercontrol with a single select DropDownTree where I need to display slightly different text than what is show as the node text.  This text is basically a more user readable form of the full path.  Currently I am storing that alternate text as node attributes attached server side:

    Dim newNodeL3 As New RadTreeNode(tr_row.BodyPartL3Text, tr_Body.BodyPartID)

newNodeL3.Attributes("FullText") =  row_Body.BodyPartFullText

Ivan Danchev
Telerik team
 answered on 12 Jan 2017
3 answers
75 views

Hello Team,

I have implement RadEditor (version : 2016.3.1027.45) its work fine on chrome /mozila  browser.
But on IE and Safari  All dialog (Image/ Video/document ) are broken  the UI. i have attached the screen-sort.

Also we have add the setting in  web.config file

<httpHandlers>

<add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />

<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />

</httpHandlers>

<handlers>

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

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

</handlers>

Please review and provide the solution

 

Rumen
Telerik team
 answered on 12 Jan 2017
3 answers
230 views

Hi 

I am trying to reterive a value of hidden column (OrderDate) in details table from back end and the value I am getting is &nbsp;

Please note that I am using Telerik version 2016.1.225.45 and the below code is in my web.config

<add key="BindGridInvisibleColumns" value="true"/>

 

ASPX Code:

<telerik:RadGrid Skin="Office2007" ID="RadGrid1" runat="server" ShowStatusBar="true" AutoGenerateColumns="False"
                           PageSize="7" AllowSorting="True" AllowMultiRowSelection="False" AllowPaging="True" CellPadding="1"
                           OnDetailTableDataBind="RadGrid1_DetailTableDataBind" OnNeedDataSource="RadGrid1_NeedDataSource" OnItemCommand="RadGrid1_ItemCommand"
                           OnPreRender="RadGrid1_PreRender" Style="padding: 3px; margin: 3px;">
                           <HeaderStyle CssClass="RadGridHeader" />                  
                           <MasterTableView Name="master" DataKeyNames="CustomerID" AutoGenerateColumns="false" NoMasterRecordsText="No records meet the search criteria.">
                               <DetailTables>
                                   <telerik:GridTableView AllowPaging="false" DataMember="OrderDrillDown" DataKeyNames="OrderID,CustomerID" runat="server"
                                       Name="Orders" Width="100%" AllowMultiRowSelection="false" CommandItemDisplay="Top" NoDetailRecordsText="No Exclusions.">
                                       <Columns>
                                           <telerik:GridBoundColumn SortExpression="OrderID" HeaderText="OrderID" HeaderButtonType="TextButton"
                                               DataField="OrderID">
                                           </telerik:GridBoundColumn>
                                           <telerik:GridBoundColumn SortExpression="OrderDate" HeaderText="Date Ordered" HeaderButtonType="TextButton"
                                               DataField="OrderDate" UniqueName="OrderDate" DataFormatString="{0:D}" Visible="false">
                                           </telerik:GridBoundColumn>
                                           <telerik:GridBoundColumn SortExpression="Freight" HeaderText="Freight" HeaderButtonType="TextButton"
                                               DataField="Freight" UniqueName="Freight">
                                           </telerik:GridBoundColumn>
 
                                           <telerik:GridButtonColumn ButtonType="LinkButton" UniqueName="Delete" Text="Delete"
                                               CommandName="Delete">
                                               <ItemStyle HorizontalAlign="Center" Width="10%" />
                                           </telerik:GridButtonColumn>
 
                                       </Columns>
                                   </telerik:GridTableView>
                               </DetailTables>
                               <Columns>
                                   <telerik:GridBoundColumn SortExpression="CustomerID" HeaderText="CustomerID" HeaderButtonType="TextButton"
                                       DataField="CustomerID">
                                   </telerik:GridBoundColumn>
                                   <telerik:GridBoundColumn SortExpression="ContactName" HeaderText="Contact Name" HeaderButtonType="TextButton"
                                       DataField="ContactName" Visible="false">
                                   </telerik:GridBoundColumn>
                                   <telerik:GridBoundColumn SortExpression="CompanyName" HeaderText="Company" HeaderButtonType="TextButton"
                                       DataField="CompanyName">
                                   </telerik:GridBoundColumn>
 
                                   <telerik:GridButtonColumn ButtonType="LinkButton" UniqueName="DeleteHac" Text="Delete"
                                       CommandName="DeleteHac">
                                       <ItemStyle HorizontalAlign="Center" Width="10%" />
                                   </telerik:GridButtonColumn>
                               </Columns>
                           </MasterTableView>
                           <PagerStyle Mode="NextPrevAndNumeric" />
                           <ClientSettings EnableRowHoverStyle="True" EnablePostBackOnRowClick="false">
                               <Selecting AllowRowSelect="false" />
 
                           </ClientSettings>
                       </telerik:RadGrid>

 

 

Code behind:

protected void RadGrid1_ItemCommand(object sender, GridCommandEventArgs e)
       {
           GridDataItem selectedItem = (GridDataItem)e.Item;
 
           if (e.CommandName == "Delete")
           {
               var check = selectedItem["OrderDate"].Text;
           }
           else if (e.CommandName == "DeleteHac")
           {
                var check1 = selectedItem["ContactName"].Text;
           }
       }

 

When trying to get OrderDate value I am getting &nbsp; as value but I am getting the same value when the columns visiblity is set to true. 

I can confirm this was working fine when the Telerik UI version was 2015.1.401.45

Also, I found a workaround for this by using Display instead of Visible, but do you think that is the only workaround or is this a known bug?

Thanks

Hazersha

Konstantin Dikov
Telerik team
 answered on 12 Jan 2017
3 answers
313 views
Hi,
I have to hide a refresh button on the top of Radwindow. How can I do that?
Marin Bratanov
Telerik team
 answered on 12 Jan 2017
1 answer
110 views

Hi Team,

I can bind data to radgrid in page load. My grid having filters, if i enter text in filter it is working fine without RadAjaxLoadingPanel. If i use RadAjaxLoadingPanel with RadAjaxManager, Lodingpanel is going to display but data is is not going to populate based on filter textbox text.

In my case, Radgrid control is in this order :: RadSplitter-->RadPane-->RadTabStrip-->RadMultiPage-->Radgid.

Please find the attached screen shot.

 

 

Thank you in advance.

Konstantin Dikov
Telerik team
 answered on 12 Jan 2017
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?