Hello,
I need to add programmatically Custom Attributes in RadComboBox
i get an error on click button to get a value for custom Attributes
this.LBL_MOVIE.Text = this.PCB_MOVIE.SelectedItem.Attributes["movie_p"];
Cause this.PCB_MOVIE.SelectedIndex is equals to -1
protected void PCB_MOVIE_ItemDataBound(object sender, RadComboBoxItemEventArgs e)
{
e.Item.Attributes.Add("movie_p","rocky");
}
On the admin form how does one set the date format? The US date format is about the stupidest date format and illogical of all and yet it seems to be the default everywhere.
I want my dates formatted as dd/MM/yyyy not MM/dd/yyyy
Regards
Jon
Hi,
A few days my application began to show the following message: Thank you for using the Trial version of RadControls for ASP.NET Ajax ....
As if I've been using a trial version.
But I have a license.
Anyone know how to resolve this problem ????
I have attached a picture with the message.
Hi Team,
In the RadGrid, I have to do drag and drop option as well as edit the row using batch edit mode. If I set the clientIDMode = "Static" while click on the edit buttonI can see the Update and Cancel button. But I cann't do drag and drop. So I changed the ClientIDMode="AutoID" now drag and drop is working fine but in edit mode the Update and Cancel button in the batch it is not displaying.
Please let me know how to resolve this issue.
Regards,
Rajesh
<telerik:RadGrid ID="Parts" runat="server" ClientIDMode="AutoID" AllowPaging="True" AllowSorting="True" ClientSettings-AllowAutoScrollOnDragDrop="true"
AutoGenerateColumns="False" GridLines="None" ShowStatusBar="True" CssClass="Parts" ClientSettings-AllowDragToGroup="true" ClientSettings-AllowRowsDragDrop="true">
<ClientSettings AllowRowsDragDrop="True" AllowColumnsReorder="true" ReorderColumnsOnClient="true">
<Selecting AllowRowSelect="True" EnableDragToSelectRows="false"></Selecting>
<ClientEvents OnRowDropping="onRowDropping"></ClientEvents>
<Scrolling AllowScroll="true" UseStaticHeaders="true"></Scrolling>
</ClientSettings>
<MasterTableView Name="PartsTableView" DataKeyNames="InventoryID" AllowSorting="True" NoDetailRecordsText="No Items" HierarchyLoadMode="ServerBind"
NoMasterRecordsText="No Items Added" CommandItemDisplay="Bottom" EditMode="Batch">
<CommandItemSettings ShowAddNewRecordButton="false" />
<BatchEditingSettings EditType="Cell" />
<DetailTables>
<telerik:GridTableView Name="ComponentDetails" Caption="Component Details" DataKeyNames="InventoryID"
runat="server">
<ParentTableRelation>
<telerik:GridRelationFields DetailKeyField="ParentID" MasterKeyField="InventoryID" />
</ParentTableRelation>
<Columns>
<telerik:GridBoundColumn DataField="ParentID" Display="false" UniqueName="ParentID" />
<telerik:GridBoundColumn DataField="InventoryID" HeaderText="InventoryID" ReadOnly="true"
UniqueName="InventoryID" />
<telerik:GridBoundColumn DataField="FormNumber" HeaderText="Form #" UniqueName="FormNumber" />
<telerik:GridBoundColumn DataField="Description" HeaderText="Description" ReadOnly="true"
UniqueName="Description" Display="True" />
</Columns>
</telerik:GridTableView>
</DetailTables>
<Columns>
<telerik:GridTemplateColumn UniqueName="ThumbNail">
<ItemTemplate>
<asp:Image ID="imgThumbNail" runat="server" ImageUrl='<%#Eval("ImageUrl")%>' />
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn DataField="InventoryID" UniqueName="FormNumber" Display="false" />
<telerik:GridBoundColumn DataField="Text" ItemStyle-Width="150px" HeaderText="Product Code" />
<telerik:GridBoundColumn DataField="Description" Display="false" />
<telerik:GridTemplateColumn UniqueName="Description" HeaderText="Title">
<ItemTemplate>
<asp:Label ID="lblDescription" runat="server" Text='<%#Eval("Description") %>'>
</asp:Label>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="txtDescription" runat="server" Text='<%#Eval("Description") %>'>
</asp:TextBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn DataField="Type" Display="false" />
<telerik:GridEditCommandColumn ButtonType="ImageButton" EditText="Edit" UniqueName="EditCommandColumn">
</telerik:GridEditCommandColumn>
<telerik:GridButtonColumn ButtonType="ImageButton"
CommandName="DeleteInventory" Text="Remove" UniqueName="Delete">
<ItemStyle HorizontalAlign="Center" CssClass="MyImageButton"></ItemStyle>
<HeaderStyle ></HeaderStyle>
</telerik:GridButtonColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
<asp:XmlDataSource ID="XMLBookBuilderSource" runat="server" EnableCaching="false">
</asp:XmlDataSource>
<telerik:GridTextBoxColumnEditor ID="GridTextBoxEditor" runat="server" TextBoxStyle-Width="230px"></telerik:GridTextBoxColumnEditor>
Hello Team,
We are using telerik control for one of the product, application is hosted at client end and some external users uses the application from their environment using some kind of VPN. recently one of the client's contractor reported the issue that application is not loading properly ,where I find the telerik control CSS is not getting load only for certain user who are using the application through some kind of VPN.
Could you please help me out ,what can be the reason ,why CSS for telerik control is not getting load.
Note : Application is running on IE 9 and issue is appearing only for certain user
Hi guys.
I'm trying to hide the content's area tooltip of radeditor.
Doing some research in the forum I found the following links
http://www.telerik.com/forums/disable-title-on-content-areahttp://www.telerik.com/forums/hiding-radeditor-tooltip
But when I run my project it throws javascript error editorLoad is undefined
Here's the declaration of the editor:
01.
<
telerik:RadEditor
runat
=
"server"
ID
=
"desc"
MaxTextLength
=
"1500"
Language
=
"es-ES"
EditModes
=
"Design, Preview"
Content='<%# DataBinder.Eval(Container, "DataItem.Descripcion") %>' OnClientLoad="editorLoad">
02.
03.
<
CssFiles
>
04.
<
telerik:EditorCssFile
Value
=
"~/SalaPrensaAdmin.css"
/>
05.
</
CssFiles
>
06.
<
Languages
>
07.
<
telerik:SpellCheckerLanguage
Code
=
"es-ES"
Title
=
"Español"
/>
08.
</
Languages
>
09.
<
Tools
>
10.
<
telerik:EditorToolGroup
>
11.
<
telerik:EditorTool
Name
=
"InsertLink"
Text
=
"Insertar vínculo"
/>
12.
<
telerik:EditorTool
Name
=
"ApplyClass"
Text
=
"Elegir clase"
/>
13.
<
telerik:EditorTool
Name
=
"AjaxSpellCheck"
Text
=
"Verificar ortografía"
/>
14.
<
telerik:EditorTool
Name
=
"FormatBlock"
Text
=
"Elegir formato"
/>
15.
<
telerik:EditorTool
Name
=
"InsertParagraph"
Text
=
"Insertar párrafo"
/>
16.
</
telerik:EditorToolGroup
>
17.
</
Tools
>
18.
19.
20.
<
TrackChangesSettings
CanAcceptTrackChanges
=
"False"
></
TrackChangesSettings
>
21.
</
telerik:RadEditor
>
22.
<
script
type
=
"text/javascript"
>
23.
function editorLoad(editor) {
24.
var contentAreaEl = editor.get_contentAreaElement();
25.
contentAreaEl.removeAttribute("title");
26.
}
27.
</
script
>
Can you please help me with this.
Hope your help.
Best regards.
Cristian
hi ! I´m new in this forum but I use Telerik by many years ago...
I changed by other computer my desktop, and install VS with Telerik, but this dont work in the designer of VB.. so sorry by my english.
this is the problem:
I add by reference
img1
I add the instance in the top of the page
img2
I add in the web.config
img3
but I can see the result in the browser, but dont work in the designer.
I upgraded my computer to windows 10, and I have VS 2012, and Ajax Control Tool Kit
Hi all,
I've a RadComboBox inside EditItemTemplate
1.
<
telerik:RadComboBox
Skin
=
"Silk"
ID
=
"cognome_sostituto_combo"
runat
=
"server"
DataSourceID
=
"SqlDataSourceGiocatori1"
DataTextField
=
"Cognome"
DataValueField
=
"Cognome"
DropDownWidth
=
"200px"
MinFilterLength
=
"2"
Filter
=
"StartsWith"
AllowCustomText
=
"false"
Text='<%# Bind("Cognome_sostituto")%>' >
- populate combo with items from SqlDataSourceGiocatori1 (that has a query like select cognome from ....) --> done
- set selected item from SqlDataSource connected to GridView --> not working using Text='<%# Bind... --> not working
If I use, for example, a TextBox and bind Text with Text='<%# Bind("Cognome_sostituto")%>' everything is ok but there's no autocomplete.
The error I get is "Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control"
Any ideas?
Thanks for your help