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

I would like to specify an icon for my custom context menu in my radEditor. 

I am able to display an icon for my toolbar as in the following:
<root> 
 
    <tools name="MainToolbar">  
        <tool name="tbiComment" showtext="true" Text="Mark as Comment" shortcut="CTRL+SHIFT+C"/>  
     

This works for my toolbar.
        .reToolbar.Default .tbiComment {  
           background-imageurl(../images/comment.png);  
        }  
 

I have a custom contextmenu:
    <contextMenus> 
        <contextMenu forElement="comment">  
            <tool name="tbiEditComment" Text="Edit Comment" /> 
            <tool name="tbiRemoveComment" Text="Remove Comment" /> 
        </contextMenu> 

Just need the css to display a custom icon for my contextmenus. 

Thanks in advance... You guys Rock!
Rumen
Telerik team
 answered on 02 Apr 2010
1 answer
279 views
Hello,

Is there a way to display only folders, without files they contain and allows for selecting a folder ?

Thanks for help
CS
Lini
Telerik team
 answered on 02 Apr 2010
3 answers
88 views
I am using an editor and I implementing my own “set absolute position” command that’s very similar to what you have for an image but my commend button  can do tables, divs etc. The problem that I have is that user needs to do 4 steps to make it work. Here is a sequence
1. Select text that you want to absolute position
2. Click on the toolbar button (at this time I will do editor.getSelectedElement() and tuggle elem.style.position)
3. User needs to click outside the selected area so the text selection is removed
4. Click on div (handles show up) and now my element can be dragged

My question is how can I do steps 3 and 4 in JavaScript command handler? I think it has to be possible because I already have and element that I want to drag it.  I just need to change that element mode or something

Rumen
Telerik team
 answered on 02 Apr 2010
3 answers
91 views
I purchased Telerik Controls today (Premier Collection) and I am excited about the promise of these controls for my web site. However, a seemingly simple initial task has proven - well, problematic.

As background, we hired a vendor to create an ASP.Net application for us and this uses the RadGrid. This app is running fine in my development environment (VS 2008). I upgraded to the most recent (Marhc 2010) version and all seems to be running fine, which suggests all the basic plumbing is in place. However...

As a simple test I want to add a Captcha control to the form. I drop it into place from the Toolbox and can see the designer experience (including the arrow to pop up the context menu). However, none of the Captcha-specific options are available in that design-mode context menu. For example, the help suggests I should see an option "Enable RadCaptcha Http Handler". That option doesn't exist. That perhaps suggests that the handler is already in place but I then believe I should see additional options in the design mode, which allows me to actually configure the control (right?). I don't see any of these.

Finally, the design mode shows the "missing image" icon (a red X). Is that expected? Ironically, if I run the app I see the runtime captcha control. This is good but should I not be seeing a fill designer mode?

Thanks.

Mark
Lini
Telerik team
 answered on 02 Apr 2010
5 answers
153 views
I am trying to follow the RadChart Example http://www.telerik.com/demos/aspnet/prometheus/Controls/Examples/Integration/ChartAndToolTip/DefaultCS.aspx?product=chart

about adding a tooltip to series.

However my chart is a content page within a master page site and I have added my script manager to the master page. When the page with the chart loads I get an error

The control with ID 'RadToolTipManager1RTMPanel' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.

Any help greatly appreciated
Tsvetie
Telerik team
 answered on 02 Apr 2010
1 answer
409 views
Hi,

I've a feature to allow import of Users from Active Directory. I am using RadListbox in Transfer-Mode where all Users from Active Directory are listed on left-side, and then I can transfer them to the right listbox and save - which imports the Users from Active Directory.
Now the issue is that since there can be multiple Users with the same First and Last Name, customer wants to show some primary User information like First Name, Last Name, Mail Address and Phone# in both the Listboxes to ensure that only the right Users are imported.

Is there any way to give RadListbox a GridView-kind of look where multiple columns can be displayed inside each Listbox?
Any help/ideas would be appreciated.

Thanks a  lot.

Best Regards,
Veenu Munjal
Genady Sergeev
Telerik team
 answered on 02 Apr 2010
1 answer
133 views
I have a problem I have spent days on, its a simple thing so it frustrates me on the amount of time taken.

I havea  FormView within an Ajax panel, default mode is View, so when I click the Edit button, I want the form to show my current record so I can change it.

All works fine except, I have a LoadonDemand RadCombo box that is databound in the code behind.

I have two functions, BindCompany( In32 ) and BindCompany( string ), the string version is for ItemsRequested event of the combo and the int version is for when the page loads.

My problem is when do I bind to the combo with the int32, Page_Load , Combo_Load, FormView_ModeChanged, FormView_Load ?

None of these do it for the following reasons...

Page_Load, happens once & the combo doesnt exist because we are in EditMode
Combo_Load, this happens every time the ItemRequested fires so my current companyid might not be in the recordset return
FormView_ModeChanged, I cannot bind at that point because this fires before the control is rendered
FormView_Load, only happens once when the page is rendered & not when I click the edit button.

So, is there something simple I am missing, I really hope so because I am loosing my marbles.
Tony Casey
Top achievements
Rank 1
 answered on 02 Apr 2010
1 answer
86 views
Hi,

We have a 3 level hierarchy. When a user expands to view the second level, we want the third, nested detail table to also expand, saving the user a click.

I could not find a specific way of doing this. Does anyone know how? Thanks.
Daniel
Telerik team
 answered on 02 Apr 2010
3 answers
116 views
Hi,

I managed to install the RadEditor for MOSS 5.7 trial version and get it working.  Everything seems to be working fine, except when I tried adding a Table (MOSSInsertTable) using the button in the tool bar.  A dialog was loaded with the following error.

 

Server Error in '/' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   Telerik.SharePoint.SPDialogHandler.OnInit(EventArgs e) +290
   System.Web.UI.Control.InitRecursive(Control namingContainer) +333
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378


Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
Rumen
Telerik team
 answered on 02 Apr 2010
1 answer
112 views
Hello,
how can i change font of the currentFile in the Progress Area? With the selector .ruCurrentFile i can't change the font or size.


with best regards
Meik Napierski
Genady Sergeev
Telerik team
 answered on 02 Apr 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?