Telerik Forums
UI for ASP.NET AJAX Forum
11 answers
308 views
Hi 

We used the telerik radeditor in SP2007. Now we migrated to SP2010 and also upgraded the radeditor to the current version.
Unfortunately the behaviour of the MOSSLinkmanager seems to have changed.

it seems that i can't add any target (_new) to the hyperlink and the title of the link can't be altered.

Also we tried to use the LinkManager, there the functionality increased drasticly but we are limited to the current site, and we can't navigate through the hierarchy.

any ideas how we can add this missing functionality so that our client will be happy again?

TIA
best regards 
patrick
Rumen
Telerik team
 answered on 30 Jan 2012
3 answers
112 views
It appears the HeaderTooltip property doesn't work when a column isn't sortable (ie has no sortExpression). In my testing this is the case for TemplateColumns, though it may be true of other column types as well. Is Telerik palnning on changing this? Is there a workaround?
Antonio Stoilkov
Telerik team
 answered on 30 Jan 2012
9 answers
134 views

Hi,

I've got a problem with the excel export for the RadGrid. My grid is a hierarchical grid, there's the master table, and 3 detail tables at the same level of hierarchy. When the user click to the command button for the excel export I need to suppress 1 column in 2 of 3 detail tables, in particular the column is an image column (in the exported file I see the image's pathname).
I try to set visible = false to this column in the RadGrid_ItemCommand, in the button click(i also tried to add a button for the excel export), in the
RadGrid_ItemCreated, but the exported file have only the MasterTableView. To obtain all the hierarchies in the exported file I have to leave unchanged the columns.
How can I suppress the column in detail tables, obtaining anyway all the hierarchies?

thanks in advance,
regards
MgfProject s.r.l

Alessandro
Top achievements
Rank 1
 answered on 30 Jan 2012
1 answer
118 views
Hello,
I'm using the following code to access the footer SUM of 2 columns, i'm getting a problem when the Grid is empty so there are no footer to display
Private Sub DataGrid_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles DataGrid.ItemDataBound
        If TypeOf e.Item Is GridFooterItem Then
            Dim footerItem As GridFooterItem = DirectCast(e.Item, GridFooterItem)
            
            Dim strUSD As Decimal = footerItem("BalanceUSD").Text
            Dim strLBP As Decimal = footerItem("BalanceLBP").Text
            Dim LBPvalue As Decimal = strLBP * 1507.5
            Dim totalvalue As Decimal = strUSD + LBPvalue
            'MsgBox(totalvalue)
        End If
    End Sub

How do i handle when no data is in the grid?

Regards,
Mike

 

 

 

Richard
Top achievements
Rank 1
 answered on 30 Jan 2012
1 answer
111 views
HI

i have used radeditor in my asp.net website. this editor have cut copy paste icon. but these icon not working .

if i click the icon , then get pop  box only. it s not working.

i have attached image file . pls help me.
Rumen
Telerik team
 answered on 30 Jan 2012
1 answer
102 views
Hi,
    When I open the dialog Image Manager/HyperLink Manager/ Flash Manager, it gives error "Resource can not found (/Telerik.Web.UI.DialogHandler.aspx)" but when I add the handler in web.config file it works fine.
<system.webServer>
  <handlers>
<add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
</handlers>
</system.webServer>
and  <httpHandlers>
<add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false"/>
    </httpHandlers>
but I don't like to add this setting in web.config file so Is another any option available for RadEditor Dialog works properly? Please find the attached screenshot , because when i add this setting in web.config file , there is problem when deploying in shared hosting server.
Rumen
Telerik team
 answered on 30 Jan 2012
6 answers
143 views

I have a control I that contains a DockLayout.

In the OnInit method of this control, I call a method to create a Dock and then populate it. Once that's done, this gets called...

void InitializeDock(RadDock DockToInitialize, DockState LoadedState)
{
    DockToInitialize.ID = string.Format("Dock{0}", LoadedState.UniqueName);
    GetLayoutControl().Controls.Add(DockToInitialize);
    if (!IsPostBack)
    {
        GetAjaxifiedPanel().Controls.Add(DockToInitialize);
    }
    if (String.IsNullOrEmpty(LoadedState.DockZoneID))
    {
        RadDockZone dz = (RadDockZone)FindControl("RadDockZone2");
        if (dz != null)
        {
            LoadedState.DockZoneID = dz.ClientID;
        }
    }
    DockToInitialize.ApplyState(LoadedState);
}

All good so far.

At some point in the cycle, OnSaveDockLayout gets called. Even though the object that I'm using to create and populate the layout knows about my Dock, and I can see it in the appropriate DockZone, GetResgisteredDocksState() always returns an empty List<DockStates>.

I thought it might me something to do with the call to ApplyState() so I just created the Dock and calleddock.Dock(dockZone) on it  and still got the empty list when OnSaveDockLayout was called.

What process is it that causes the source used by OnSaveDockLayout to be populated?

--
Stuart

Slav
Telerik team
 answered on 30 Jan 2012
1 answer
56 views
In my product I use the RadEditor Version 7.2.1.0 (2007Q2SP1).

I use the JavaScript Client side object of the RadEditor for my feature requirements.
In all the version of IE and till FireFox 5.0 it works fine. It stopped working for latest versions of FireFox (8.0 and 9.0).

Even I tried a bare minimum sample. It works for FF 5.0 and doesn't for FF 9.0
Here is the code that I used. This doesn't work for FF 8.0 and above.

<form id="Form1" method="post" runat="server">         
      <div>
      <radE:RadEditor id="RadEditor1" editable="true" Runat="server"></radE:RadEditor>         
      </div>
      
   <script language="javascript">         
   
   function GetReference1()
    {
       var editor = GetRadEditor("<%=RadEditor1.ClientID%>");
       alert(editor.Id); //returns RadEditor Client ID
    }
          
   </script>         
  
   <input type="button" value="Get Ref1" onclick="GetReference1()"
</form>

Also I have code that streams JavaScript from Code behind. This also stops working from FF 8.0

protected override void Render(HtmlTextWriter writer)
    {
      base.Render(writer);
      writer.WriteBeginTag("script");
      writer.WriteAttribute("type", "text/javascript");
      writer.Write(HtmlTextWriter.TagRightChar);
      writer.WriteLine("var HtmlEditor = " + RadEditor1.ClientID + ";");
      writer.WriteLine("alert(HtmlEditor)");
  
      writer.WriteEndTag("script");
    }

This gives me RadEditor1 is not defined error.

Please help.
Rumen
Telerik team
 answered on 30 Jan 2012
2 answers
129 views
Hello Everyone,
I need to restrict the Numpad keys to enter in the Rad Editor.
Shinu
Top achievements
Rank 2
 answered on 30 Jan 2012
6 answers
733 views
Hello,

I've a RadGrid bases on a datatable. On initial binding the pager item does not show up. When refreshing the grid it does.

Can anyone help me?

Regards,
  Jos Meerkerk
RvdGrint
Top achievements
Rank 1
 answered on 30 Jan 2012
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?