Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
155 views
Hi,

Could someone please assist me with adding a custom button to launch a custom Editor Dialog (a Link Manager of sorts, but completely custom - not a "changed" LinkManager.ascx file) from  ImageMap.ascx Editor Dialog (which I have already copied into my solution) ?

I'd like to add a button in the ImageMap Editor Dialog after the URL text box to launch this custom Link Manager i've developed to return a URL selected in my custom editor dialog to the URL text box.

This custom editor dialog is already available in the my RadEditor's toolbar (added via the ToolsFile with some programatic declarations) and functions as intended, but I'd like to know how to use it in my ImageMap.ascx dialog.

I've already tried adding it using a StandardButton and the button appears, but it does nothing.  I guess I'm missing the required JavaScript to make it work.

Thanks in advance,

David.

Rumen
Telerik team
 answered on 11 Oct 2010
1 answer
97 views

We are trying to use a custom localization for RadEditor Dialogs. We created RadEditor.Dialogs.en-GB.resx, RadEditor.Dialogs.fr-CA.resx … files and we set the “LocalizationPath” and “Language” properties. This is working fine for all cultures but not for “en-US”. The dialogs are displayed without text for "en-US" culture and it seems it cannot see the resx file for US. Can you please help with this issue?

Rumen
Telerik team
 answered on 11 Oct 2010
2 answers
137 views
I wish to set the value of a GridDateTimeColumn to today's date when inserting a new row into a grid - see the following code extract. The code does not error but when the edit row is displayed the textbox in the date column is blank. Any help would be great.

Rgds

Len Jones


protected void grid_ItemCreated(object sender, GridItemEventArgs e)
  
{
  
    if (e.Item.OwnerTableView.Name == "gridTableView" && e.Item is GridEditableItem &&     e.Item.IsInEditMode)
  
{
  
    GridEditableItem editItem = e.Item as GridEditableItem;
  
    RadDatePicker picker = editItem["StartDate"].Controls[0] as RadDatePicker;
  
    if (e.Item.OwnerTableView.IsItemInserted)
  
    {
  
        picker.SelectedDate = DateTime.Today;
  
    }
  
}
Leonard Jones
Top achievements
Rank 1
 answered on 11 Oct 2010
1 answer
128 views

I’ve installed the RadEditor controls (Build 2010_2_929) in a Sharepoint 2010 farm I’m experiencing the following issue: Numerous standard tool buttons are missing from the docked RadEditor menu (see attached picture).

 

The bold button appears, but the italics and underline buttons are missing (as well as several other pieces of functionality).  In addition to the missing menu buttons, the Design, HTML and Preview tabs are missing at the bottom of the editable content region.

 

This occurs when I activate all three Telerik Site Features:

 

-Use an accessible UI in RadEditor

-Use RadEditor to edit HTML fields

-Use RadEditor to edit List Items

 

If I deactivate “Use an accessible UI”, I get the full undocked menu with all of the missing buttons, but the Design, HTML, and Preview tabs are still missing.

 

I’ve checked the ToolsFile.xml and the ListToolsFile.xml and all standard buttons are enabled.

 

Thanks for any help...

Stanimir
Telerik team
 answered on 11 Oct 2010
2 answers
786 views
Hi,

I create a TreeView  with this code:

 

 

<

 

telerik:RadTreeView ID="rtvLineeBeni" Runat="server" OnNodeExpand="RTV_NodeExpand"

 

Font-Names="Arial" Font-Size="12pt" Font-Strikeout="False" Skin="WebBlue"

 

BorderColor="Gray" Height="390px" Width="748px" AllowNodeEditing="true"

 

OnClientContextMenuItemClicking="onClientContextMenuItemClicking"

 

onnodeedit="rtvLineeBeni_NodeEdit" >
<Nodes>  

 

 

 

 

 

<telerik:RadTreeNode Value="1" ImageUrl="~/Images/ImagesTree/Reparto.png"

 

AllowEdit="false" Text="Reparto" Expanded="true" ContextMenuID="MainContextMenuInsert" >  

 

 

 

 

</telerik:RadTreeNode>

 

</Nodes>

 

</telerik:RadTreeView>

 

Then i populate it ON DEMAND(c# code)

How can i get the selected node with javascript ?
I try this:

 

 

 

 

var oId = document.getElementById('<%=rtvLineeBeni.ClientID %>').value

var oId = document.getElementById('<%=rtvLineeBeni.ClientID %>_SelectedNode').value

but it tells me that it's Undefined ...

Thanks !

 

 

archimede
Top achievements
Rank 1
 answered on 11 Oct 2010
1 answer
115 views
hi
how can i show count of rows when paging not enable
for example i hava 9 rows anad page size is 10
i want to show count
help please
Princy
Top achievements
Rank 2
 answered on 11 Oct 2010
1 answer
116 views
When AutoResize is set to True, and the content is not given specific dimensions, the window keeps shrinking every time you open it (assuming you don't refresh the page or cause a postback).

The first time you open the window, it correctly resizes the window to fit the content. But then each subsequent time you open the window, it squishes the content a little more.

Since this content is dynamic, there's no way that I can set the dimensions of the content ahead of time.

Is there any way to stop it from constantly shrinking?

Thanks!
Georgi Tunev
Telerik team
 answered on 11 Oct 2010
1 answer
64 views
I have not updated Telerik controls yet.  If I upgrade from version 2010.1.415.20 to the current version will I have to update the controls in the current application?  How transparent is the update?  What problem might I encounter?  I want to have access to the ContentTemplate in the PanelBar but I don't want to break the entire site with an update.  Thanks.
Sebastian
Telerik team
 answered on 11 Oct 2010
1 answer
188 views
Hi,

Let me explain my scenario, here is a sample code of what im trying to do:

Dim aaa As String = "aaa"

Telerik.Web.UI. RadAjaxManager.GetCurrent(page).ResponseScripts.Add("radconfirm('are you sure?', null, 300, 150, null, 'are you sure?');")

Dim ccc As String = "ccc"

If I used a MsgBox the execution would be blocked, until the user responds to the prompt and then it will perform Dim ccc As String = "ccc" . However with a rad-anything , the server side code executes fully and then the radconfirm appears. Is there a way to make the radconfirm appear in the middle of server side code execution, like a MsgBox ?

Many Thanks,
Aash.

 

 

 

 

 

 

Georgi Tunev
Telerik team
 answered on 11 Oct 2010
4 answers
130 views
Hi,

My editors are very eager to know if it is posible to prevent rad editor table wizard to insert white space in table cells from the start?

Any suggestions are very welcome :)

Kristian Thrane - frontend @ yousee.dk
Rumen
Telerik team
 answered on 11 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?