Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
176 views
Hi,

I am using RadEditor with the InsertLink dialog, which opens a custom dialog.
when I select the link and right-click on it, I get a context menu and when I choose set link properties, I get an exception regarding the dialogs handler which is not registered in my web.config. I tried to add it, but I still get the exception.

Finally, I decided to disable the right-click on link items.
I tried your example:
                                   
    <telerik:EditorContextMenu TagName="A" Enabled="false">
      
<telerik:EditorTool Name="SetLinkProperties" />
      <
telerik:EditorTool Name="Unlink" />
    </
telerik:EditorContextMenu>

but I get an exception regarding spell-check:

'..\App_Data\RadSpell\en-US.tdf' is missing. The spellchecking functionality of RadEditor requires a dictionary file named 'en-US.tdf' in the '..\App_Data\RadSpell\' folder. Please, ensure that all needed dictionary files from the original RadEditor distribution are present. See the help for more details Controls > RadEditor > Spellchecker

How can I cancel the option to right-click on a link? Why do I get spellchecker error?
or how can I show my dialog on "set link properties"?

do you have any idea?

Thanks for your help.
Covertix
Top achievements
Rank 1
 answered on 19 Feb 2013
0 answers
75 views


if i put   ProjectName.DataBind(); after the records are come in radlistbox
if i don't put that record are shown one time but for each doesn't go inside

see the screen shot
.cs

if (service[0].grupname.ToString() == "SubCon")
                                {
                                    using (var db = new DoskContractServicesDataContext(Globals.strCon))
                                    {
                                       
                                        var Projec = (from a in db.DSProjectMasters where a.FinalStatus == "Cls" && a.Status != "Del" select new { a.ProjectCode, a.ProjectTitle }).ToList();
                                        ProjectName.DataSource = Projec;
                                        ProjectName.DataValueField = "ProjectCode";
                                        ProjectName.DataTextField = "ProjectTitle";
                                        ProjectName.DataBind();
                                    }
 
                                    ProjNam.Visible = true;
                                    ProjectName.Visible = true;
 
                                    string md = service[0].Projectid.ToString();
 
                                    string[] Projid = md.Split(',');
 
                                    for (int i = 0; i < Projid.Length; i++)
                                    {
                                        string val = Projid[i].ToString();
                                        int m = 0;
 
                                        foreach (RadListBoxItem item1 in ProjectName.Items)
                                        {
                                            string Md1 = ProjectName.Items[m].Value;
                                            if (Md1 == val)
                                            {
                                                item1.Checked = true;
                                            }
                                            m++;
                                        }
                                    }
                                }



Thanks Advance,
Mohamed.
mohamed
Top achievements
Rank 1
 asked on 19 Feb 2013
3 answers
199 views
Hi,

we are using Version 2012.3.1308.35 of Telerik dll´s and Visual Studio 2010 in a SharePoint 2010 project. All 3 dll´s (Web.UI, Web.Design, Web.UI.Skins) are properly deployed to the GAC. I´ve added the Telerik controls to the toolbox as described.

When I drop the AsynUpload to a page, Visual Studio displays no properties in the properties window and the SmartTag functions are not displayed. When I selected the AsyncUpload control from the properties window dropdown, Visual Studio crashes every time.

When I deploy the solution to SharePoint and click on the "Select" button, sometimes Internet Explorer crashes without any message, or I get an cryptic javascript error message.

All other Telerik controls show up properly in Visual Studio designer and work fine.

Do you have any clues how to solve this isssue?

Thank you!
Plamen
Telerik team
 answered on 19 Feb 2013
2 answers
86 views
Just upgraded from 2012.2 607 to 2012.3 1308.

All my RadComboBox' selected items are right aligned. The list is properly left aligned.

I started a new project to see if this was a generic issue or just related to the upgraded project and the new project everything is properly aligned.

Nencho
Telerik team
 answered on 19 Feb 2013
1 answer
114 views
Hello,
I have a asp panel and inside a table with fields telerik. I run with a button to save data in the database and then opens a radnotification to alert the user to the notification. But radnotification not see, if I remove radajaxloadingpanel then it works, why?

code aspx:

<telerik:AjaxSetting AjaxControlID="ImageButtonAggiorna">
    <UpdatedControls>
        <telerik:AjaxUpdatedControl ControlID="Panel3"
            LoadingPanelID="RadAjaxLoadingPanel1" />
    </UpdatedControls>
</telerik:AjaxSetting>
 
                                         <asp:Panel ID="Panel3" runat="server">
                                            <asp:ImageButton ID="ImageButtonAggiorna" runat="server" ImageUrl="~/Image/conferma.png" OnClientClick="ImageButtonAggiorna_Click" />
                                         </asp:Panel>



code behind:

Private Sub ImageButtonAggiorna_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImageButtonAggiorna.Click
    Me.RadNotification1.Show("Servizio non disponibile, effettuare la registrazione.")
     End Sub



Marin Bratanov
Telerik team
 answered on 19 Feb 2013
1 answer
123 views
Hello,

I use a TreeList with autogenerated columns. I allow the column resize.
<telerik:RadTreeList runat="server" ID="RadTreeList1"
                                                        Skin="Telerik"
                                                        AutoGenerateColumns="true"
                                                        DataKeyNames="DataKey" ParentDataKeyNames="ParentDataKey"
                                                        AllowSorting="true"
                                                        ItemStyle-CssClass="RowStyle"
                                                        AlternatingItemStyle-CssClass="AlternatingRowStyle"
                                                        HeaderStyle-CssClass="HeaderStyle"
                                                        SelectedItemStyle-CssClass="SelectedRowStyle"
                                                        OnAutoGeneratedColumnCreated="RadTreeList1_OnColumnCreated"
                                                        Visible="false"
                                                        >
                                        <ClientSettings>
                                           <Scrolling AllowScroll="true" UseStaticHeaders="true" />
                                           <Resizing AllowColumnResize="true" ResizeMode="NoScroll" />
                                        </ClientSettings>
 
                                   </telerik:RadTreeList>


So the final user can resize the columns, but, if he expands or collapses a node, the column widths are reinitialized.
How could I keep the width modifications.
Thanks by advance.
Regards,
Damien
Kostadin
Telerik team
 answered on 19 Feb 2013
1 answer
115 views
Hello Telerik, have some problems)

So, I have my Editor:
                                       
<telerik:RadEditor Visible="false" Height="300px" CssClass="Editor" ID="reHelpBody" runat="server"<br>
EditModes="Design" ToolbarMode="Default"><br>
<Content><br>
</Content><br>
<ImageManager ViewPaths="~/Content/images/Help/" UploadPaths="~/Content/images/Help/"<br>
DeletePaths="~/Content/images/Help/" MaxUploadFileSize="204800" /><br>
<Tools><br>
<telerik:EditorToolGroup><br>
<telerik:EditorTool Name="Bold" /><br>
<telerik:EditorTool Name="Italic" /><br>
<telerik:EditorTool Name="Underline" /><br>
<telerik:EditorTool Name="ImageManager" /><br>
</telerik:EditorToolGroup><br>
</Tools><br>
</telerik:RadEditor>


And CSS that I have now:

.Default.RadEditor .reContentCell {<br>
    border: 1px solid #D6D6D6 !important;<br>
}<br>
.Default.RadEditor {<br>
    background-color: #F3F3F3 !important;<br>
}<br>
.RadEditor table {<br>
    position: relative;<br>
}<br>
.RadEditor .reToolZone table {<br>
    position: absolute;<br>
    right: 0;<br>
    top: 0;<br>
    width: 180px !important;<br>
}


That is all for CSS)
So I want to dynamically change size of editor.

I was trying next scripts:

       
function pageLoad() {<br>
            var editor = $find("<%=reHelpBody.ClientID%>");<br>
            editor.get_element().setSize("80","60");<br>
        }<br>
<br>
        function pageLoad() {<br>
            var editor = $find("<%=reHelpBody.ClientID%>");<br>
            editor.setSize("80","60");<br>
        }<br>
<br>
        function pageLoad() {<br>
            var editor = $find("<%=reHelpBody.ClientID%>");<br>
            editor.get_element().setSize("80","60");<br>
    editor.get_element().style.height = "490px";
    editor.style.height = "490px;
        }



But still I have in Chrome next thing:
element.style {
  1. width680px;
  2. height300px;
  3. min-height300px;
  4. min-width680px;
}

I tried to append CSS:

       
.Default.RadEditor
        {
            float: right;
            width: 300px;
            min-width: 100px;
        }

but got nothing. For float it works fine. What else can I do?)

P.S. It's just impossibru to deal with your code block.
Rumen
Telerik team
 answered on 19 Feb 2013
1 answer
90 views
Hi,

I want to get what are the filters applied on Pivot Grid. Is it using predicate or some other format so that same filters i can save in database and can assign grid (last applied filters) when user come to same page.

Is there any way to do it , please help !

Thanks 
Dheeraj 
Angel Petrov
Telerik team
 answered on 19 Feb 2013
1 answer
99 views
Hello All,
When I am opening a web page having radcombobox control , I am getting this error.
"_TypeError: g is null   in Telerik.Web.UI.WebResource.axd"
I am using Q3.
Please help me.
Thanks
Abhilash
Angel Petrov
Telerik team
 answered on 19 Feb 2013
2 answers
97 views
Hi,

I came across this issue while i was trying the RadGrid Control. Could someone please help me out here?

Here is the problem.

I have a RadGrid control inside a RadPanel. (RadGrid is enabled for client side row selection and paging.) And i have a Button control outside the rad panel bu its Click event will update the above Radpanel with RadGrid. (Using Ajax manager i have set the button to update the AjaxPanel) 

When i click on the button it will update my DataGrid accordingly but all of a sudden Client-Side Row selection is disabled. And i also noticed Page Size combo is also disabled.

Am i doing something wrong here? Little help would be really appreciated.

Hope this explains!!!

Thanks,
Chriantha
Chirantha
Top achievements
Rank 1
 answered on 19 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?