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

8 years ago this was first brought up, and only the RadComboBox was update to reflect the lack of Labels.  
http://www.telerik.com/forums/radcombobox-does-not-have-a-label-property

This December someone was looking for how to get a Label on the RadDropDownList control, they were given a hack as a solution.  
http://www.telerik.com/forums/add-label-to-raddropdownlist-in-a-rad-listbox

Lastly, all controls that *do* have a label, do not have consistent labeling schemes.For example the RadDateInput control has a Label, while RadDatePicker has RadInput-Label for what is apparently the same thing.

 

Which leads me to the following point:
What accounts for this inconsistency?

Why do I have to sometimes hack in labels, when the controls I'm using are all apparently similar Data Editing controls but exposing a different API?
Why do I have to hack in different CSS, when the labels are not following the same conventions?
This was originally brought up 8 years ago, will we be seeing an update in the near future that corrects this oversight?
Lastly, what does a developer like myself have to do to make all labels consistent in the meanwhile?

Thanks,
-Chris

Konstantin Dikov
Telerik team
 answered on 13 Jan 2017
5 answers
208 views
Hi telerik team,
I'm looking for the example how to save the state of the RadPivotGrid to the database.
I'v seen the http://demos.telerik.com/aspnet-ajax/pivotgrid/examples/applicationscenarios/persisting-radpivotgrid-settings/defaultcs.aspx
but there is only saving somewhere at the server and it is connected with session.
It would be great to use something like that
string state = radPivotGrid.SaveState();
radPivotGrid.LoadState(state);
Of course, there isn't such functionality, so how to workaround the problem?

Regards
Tomek
Kostadin
Telerik team
 answered on 13 Jan 2017
6 answers
652 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
203 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
261 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
153 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
418 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
82 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
231 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?