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

I have an issue where I need to display a RadScheduler control in an iframe within a parent page.

So the pages are arranged like this:
[Parent Page]
    [iframe]
        RadScheduler - appointments with RadToolTips
    [/end of iframe]
[/end of Parent Page]

All of this works fine until it comes time to show a tooltip for one of the appointments in the RadScheduler - the tooltip is cut off by the iframe.

Is there a way to have the tooltip display in the parent page, so that the entire tooltip can be seen?

I've setup a simpler example to show the issue, but I couldn't seem to upload a .zip file attachment to my forum post.

The code for the parent page looks something like this:

<telerik:RadToolTip runat="server" ID="RadToolTip1" Width="280px" Height="70px" TargetControlID="elvis.red" 
    OffsetX="0" OffsetY="0" IsClientID="true" EnableViewState="true" ShowCallout="false"> 
    <br /> 
    <img src="ToolTip.png" alt="&nbsp;" />         
</telerik:RadToolTip> 
 
<iframe id="elvis" src="frametest.aspx" frameborder="1"></iframe> 

And the code for the iframe looks something like this:
<div id="red"></div> 

I thought maybe it had something to do with how the TargetControlID is set. I tried a few things including trying to set the targetControl dynamically with client side script, but with no luck.

Thanks so much for your help,
Greg
Svetlina Anati
Telerik team
 answered on 05 May 2010
2 answers
155 views
I have a table within the RadEditor, when I try to copy a bullet-ed item that has bold text from within the cell, add a new row, and paste into the new cell one of the following two things happen.

 1) it copies the text, but strips the bullet and the bold and leaves it as plain text *strips HTML encoding
 2) on paste the indent doesn't happen (like when you put a bullet point on an item, an indent will automatically happen more like when
     you paste a normal <li> instead of the ordered list mark) *HTML still there, it just doesn't show in design mode


is there a way to either capture the event when something gets added to the clip board, that way I can tell if it has styles while in the clip board, but they are stripped on paste? Or is there a way to copy the list item with the ordered or unordered list tag?
Dobromir
Telerik team
 answered on 05 May 2010
1 answer
130 views
I created a style .tt{...} to replace the <tt> tag (since I didn't see how to enable the button on the toolbar).  However, if I select a portion of a paragraph, the Add CSS Class menu adds the class in a font tag which is non-compliant and nasty.  How do I overide and make it use a span tag?

Format now:
<p>This is my <font class="tt">monospace text</font></p>

Desired format:
<p>This is my <span class="tt">monospace text</span></p>
Rumen
Telerik team
 answered on 05 May 2010
3 answers
169 views
hello

i am using the raddock window as a replacement for one of our own controls which is basically just a styling element which holds other controls.
i adapted the css file and added a custom button which make the dockwindow look almost equally to our own control.

i have troubles with some details of the style (see pictures for better understanding)

markings in DockWindow2 : i assume this is the space from raddockzone, how can i disable it or set it to 0 so it's not taking any space?

DockWindow1, markin of button: how can i make the mouse getting a pointer when navigated on the button?
DockWindow1, inner window right marking: the border on the right side is missing, it is correctly on the left side

here is my css file:
 
 .MyCloseButton { 
   cursor:pointer; 
    background-image: url('Dock/close.gif'); 
} 
 
.rdTitleBar 
{ 
    border-style: solid; 
      border-color:Gray; 
     border:1px; 
     background-color: #003063; 
     margin:0px; 
     padding-bottom:4px; 
      padding-top:4px; 
} 
 
 
div.RadDock .rdCenter em  
{ 
     color: rgb(255, 255, 255); 
    font-family: Verdana; 
     font-size:14px; 
     font-weight:bold; 
    text-align: left; 
    padding-left:7px; 
    margin:0px; 
} 
 
 
 div.RadDock .rdContent { 
 
    background-color: #9cb6d6; 
    padding: 5px; 
        border-style: solid; 
         border-bottom-color:#003063; 
         border-left-color:Gray; 
         border-right-color:Gray; 
      border-top-color:#003063; 
    border-width: 1px; 
    margin:0px; 
} 
Pero
Telerik team
 answered on 05 May 2010
1 answer
116 views
Hi!  I was really pleased to see this thread where Pero showed a method for editing titles of raddock controls on click, in the MyPortal App:

http://www.telerik.com/community/forums/aspnet-ajax/docking/my-portal-feature-expansion.aspx

I'm trying to create functionality where clicking on an edit button (next to the existing title edit linkbutton) the user might edit the content itself (then it would save to the DB- I see there are separate examples for that.)  Particularly I'm a bit confused on whether such functions should live within the user control code or the portal page.

With code I'd like to determine whether the edit buttons are visible (eg the user can toggle 'edit mode' vs 'view mode').

Would it be possible to see an example where clicking an edit link (just like the title edit link) would trigger a radeditor with the current content in it?  Probably in a modal radwindow or done some other way if you recommend.

I would appreciate your thoughts/contributions!  :)
Pero
Telerik team
 answered on 05 May 2010
3 answers
226 views
Hi all

I was looking at the following demo and wanted to emulate something similar.

http://demos.telerik.com/aspnet-ajax/xmlhttppanel/examples/gridinxmlhttppanel/defaultcs.aspx

I have a default.aspx page which has a RadAjaxPanel and a RadXMLHttpPanel contained within that in the vein of the demo, I have created a web user control which contains a RadGrid and when default.aspx loads I load the user control into the XMLHttpPanel. Unfortunately the paging of the RadGrid in my user control seems to go wrong. Unlike the demo above whereby only the RadGrid appears to update, I get the full postback and then my control disappears off the page.

Any thoughts or has anybody done something similar with success?

Many thanks in advance

Pero
Telerik team
 answered on 05 May 2010
1 answer
110 views

Hi,

 

I need to display Panes in Splitter in different skins. Please find the screen shots to get the clear idea.

 

Please give any suggestions to solve it.

 

Thanks in advance.

 

Regards,

Maha

Svetlina Anati
Telerik team
 answered on 05 May 2010
0 answers
800 views

Hi.

I am using this code to run the Exe in asp.net using JavaScript.

                    var ODRef=245462;

                    var oShell = new ActiveXObject("Shell.Application");

                    var commandtoRun = "C:\\Program Files\\ Send Fax.exe";

                    var commandParms = ODRef;

                    // Invoke the execute method. 

                    oShell.ShellExecute(commandtoRun, commandParms,"", "open", "1");

                    return true;

Now I want to know the status of the exe. Because if the exe is already running I won’t like to open another exe, just I want to focus the running exe with new passing parameters.

Can any one help me how to do this task?

And I am able to doing this task only with I.E. not able to doing with other browsers like Firefox, Chrome.

Can any one help me how to over come this issue?

Thank You.

Suresh K.
Suresh K
Top achievements
Rank 1
 asked on 05 May 2010
7 answers
380 views
Currently in the RadEditor, if you use the FlashManager and insert a Flash object, you can see it in the UI as an actual Flash movie and you are able to resize it, etc.

But if I take the script that was generated, something like this:


<embed pluginspage=http://www.macromedia.com/go/getflashplayer align=baseline src="/Resources/2.swf" width=150 height=150 type=application/x-shockwave-flash loop="false" menu="false" quality="high" salign="LT" bgcolor="">

and I copy paste this script, then the RadEditor does not consider it an object and it remains in text format.

I basically need to be able to create my own Custom Dialog that inserts Flash Movies with additional parameters and I wish the FlashMovie to be inserted and treated as an actual movie object, instead of just inserting some text.

Any suggestions are most welcome.
rajeev c
Top achievements
Rank 1
 answered on 05 May 2010
4 answers
162 views
We have a grid declared in design time. All the columns are created dynamically in the code behind.It consists of bound columns and a template column. In that template column, we are adding check boxes as items. We want to maintain the state of the check boxes during paging. Can you give me the sample code for this?

 
Yavor
Telerik team
 answered on 05 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?