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
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
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.
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
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.
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
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
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
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 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