Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
120 views
Hello,
When i open a radwindow from the callback function of another radwindow, the window opens but disappears within 1-2 seconds.
Fiko
Telerik team
 answered on 04 Sep 2009
1 answer
80 views
Hello, me again,

first at all, thanks for solving all other problems.

First problem:
As you can see in the image provided , if the label has 2 rows, than all the space is filled with the backcolor. If theres just one row, the backcolor of the radrotatoritem does not paint the bottom of the rotator. The image is located at
http://a.imagehost.org/view/0046/RotatorProblem
**************************************************************
UPDATE!
Solved problem one by setting the height for the item in the css.
**************************************************************

Second Problem:
At the moment I have 8 Items in the rotator. I show 3 at one time. When rotating, the text just disappears. After a postback the text is there again.
I change the cursor on an item. I found out, that this space, where the text used to be, does not change the cursor. That means it seems that this space does not belong to the rotator item anymore. It does not happen with IE6 anf Firefox 3.5, but it happes in IE7.


Thank you



Fiko
Telerik team
 answered on 04 Sep 2009
4 answers
287 views
Hi,
    Im using stored procedure in inserting new record in my radgrid, is there a way to prompt the user if he enters duplicate record? im thinking there's a label inside the radgrid, when the user try to enter duplicate record it will change the status to 'Record is already existing'. Thanks in advance.

Jeru
Charlie Crawford
Top achievements
Rank 1
 answered on 04 Sep 2009
1 answer
198 views

Hello,

I want to implement the following scenario:

I have a doc file on the server and i want to upload it inside the editor. When the user-client opens the web page with the radeditor control from his local pc, he must be able to see the document that is saved on the filesystem of the server. Is that possible?

Also after the doc file is uploaded inside the editor, the client(user( wil make some changes inside the doc file) and then he will have to save the doc file back to the server. Is that possible with RadEditor?

Regards,
Eleni

Rumen
Telerik team
 answered on 04 Sep 2009
1 answer
225 views

I'm attempting to upgrade to the newest version of the RADEditor and load external resources via an external CDN in an effort to maximize load time for this control. 

However, I'm having trouble getting the control to render properly when I've disabled the use of embedded resources and instead referencing the javascript and image files on an external CDN.   

Here's what I've done:

Issue #1:

- I first attempted to reference just the js files externally by adding the following to our mark-up.

 <asp:ScriptManager ID="ScriptManager1" runat="server" >
      <Scripts>
        <asp:ScriptReference Path="http://img.icbdr.com/images/RadEditor/Scripts/Common/Core.js" />
        <asp:ScriptReference Path="http://img.icbdr.com/images/RadEditor/Scripts/Common/PopUpScripts.js" />          
        <asp:ScriptReference Path="http://img.icbdr.com/images/RadEditor/Scripts/Common/RadEditor.js" />
        <asp:ScriptReference Path="http://img.icbdr.com/images/RadEditor/Scripts/Common/DialogOpener.js" />
        <asp:ScriptReference Path="http://img.icbdr.com/images/RadEditor/Scripts/Common/Modules.js" />         
        <asp:ScriptReference Path="http://img.icbdr.com/images/RadEditor/Scripts/Common/SpellCheckService.js" />
        <asp:ScriptReference Path="http://img.icbdr.com/images/RadEditor/Scripts/Common/AjaxSpellCheck.js" />
        <asp:ScriptReference Path="http://img.icbdr.com/images/RadEditor/Scripts/Common/RadWindow.js" />
      </Scripts>
</asp:ScriptManager>

<MX:MXRadEditorV2 ID="mxRadEditorV2"
                  EnableEmbeddedScripts="false"
                  StripFormattingOnPaste="None"
                  NewLineBr="True"
                  StripAbsoluteImagesPaths="false"
                  ShowPreviewMode="True"
                  runat="server" >
</MX:MXRadEditorV2>

- See "ScreenShot: 2" (in attached Word document).   As you can see when I attempted to just reference the javascript files externally, the control renders fine, but I'm unable to click in the text area.  It behaves like it's disabled.  

Issue #2:

- I next tried to reference the images externally.

- I copied all the "Outlook" themed images to our Akamai server.
- I copied the following css files into our solution:

  •   Window.css
  •   Editor.css
  •   Editor.Outlook.css
  •   Window.Outlook.css
  •   EditorContentArea.css


- I'm now loading these styles in the code-behind of my generic test page that i'm attempting to render this control on.  See "Screen Shot: 1" in the attached Word document that will show that all the style sheets are loaded.

- I updated both Editor.Outlook.css and Window.Outlook.css to reference all the .gif files via our Akamai servers.  I've attached the two css files that I updated so you can confirm that I updated the paths correctly.

- I also added the following properties (bolded) in an attempt to fully disable the use of embedded resources.

<MX:MXRadEditorV2 ID="mxRadEditorV2"
                  EnableEmbeddedScripts="false"
                  EnableAjaxSkinRendering="false"
                  EnableEmbeddedBaseStylesheet="false"
                  EnableEmbeddedSkins ="false"
                  Skin = "Outlook"

                  StripFormattingOnPaste="None"
                  NewLineBr="True"
                  StripAbsoluteImagesPaths="false"
                  ShowPreviewMode="True"
                  runat="server" >
</MX:MXRadEditorV2>

- This resulted in "ScreenShot: 3" (in attached Word document). 

- I then attempted to set EnableEmbeddedBaseStylesheet = "true".

- This resulted in "ScreenShot: 4" (in attached Word document).   Notice that a couple of images/icons are showing up at the bottom of the page, but the rest of the page is not rendering any images.

I've dug into the online documentation and perhaps I've just overlooked something, but I'm completely stuck.  Any assistance you can provide would be appreciated.

Thank you,

Brian Kamer
CareerBuilder.com




Lini
Telerik team
 answered on 04 Sep 2009
3 answers
140 views
When a user clicks on "Table Wizard" it brings up the dialog box for the Table Wizard. However, it throws a 'Sys' is undefined javascript error. At this point the tabs within the dialog box do not do anything when clicked, nor does the first tab "Table Design" show anything other than a few labels.

Any ideas? I have the following httpHandlers within my web.config:

<add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2008.03.1314.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" verb="*" validate="false" /> 
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /> 

haven't been able to figure it out. I also have the "Editor Dialogs" folder within my web root. and I have the xml tools file within the web root as well. Am I missing some files within my web root, or is it a specific setting or something I'm missing?

Thanks.
Lini
Telerik team
 answered on 04 Sep 2009
1 answer
164 views
I got a treeview control which shows company organization, for instance
+CEO
         +Finance Departmen
         +Human Resource Manager
                +Human resource chief
                        +human resource departmen employees
         +Community Services

but when I created treeview it shows like +CEO we have to expand it to see below nodes, I want to set treeview node depth so we can see other departmen under CEO. How can I set node depth of treeview so some of them  come already expanded.
Thank you in advance
Søren Hartig
Top achievements
Rank 2
 answered on 04 Sep 2009
2 answers
196 views
hi 
Question 1
 In my webapplication i have telerik menu.when i was click button i will open a rad window(popup width is 800,600)
 when i was open a rad window i have  tranprency problem in rad menu.
Rad menu is coming to the front. How to I solve this problem 

Question 2

function

 

OpenPositionedWindow(oButton, url, windowName)

 

{

 

var oWnd = window.radopen(url,windowName);

 

}

 

 

 

function CallLetter(ResumeIds)

 

{

 

 

var oWnd = radopen("hrComments.aspx?ResumeIds=" +ResumeIds, "RadWindow1");

 

oWnd.center();

 

 

}

 

function TimeSlot(ResumeIds)

 

{

 

 

var oWnd = radopen("TimeSlote.aspx?ResumeIds=" +ResumeIds, "RadWindow1");

 

oWnd.center();

}



 

<asp:Button runat="server" ID="btnTime" OnClientClick="TimeSlot('12'); return false;" Text="Time Slot" />

 

 

<asp:Button runat="server" ID="Button1" OnClientClick="CallLetter('12'); return false;" Text="Send Call Letter" />

 

 

 

<telerik:RadWindowManager ID="RadWindowManager1" Width="800px" Height="600px" runat="server" VisibleStatusbar="true" Animation="None" Skin="Office2007" Modal="true"

 

 

Title="Details For this Person" >

 

 

</telerik:RadWindowManager>

 

I use the following code to open rad window.but i want change the hight and width dynamically
like when i was click  time slot button that window size is (400,400) and when i was click send call letter button that window siz is
(800,600) how to i  change my code




Regards

Friend
TonyG
Top achievements
Rank 1
 answered on 04 Sep 2009
3 answers
198 views
Hi,

I'm trying to make a simple webpage that will update time every second using the new XmlHttpPanel callback. I'm a noob on Javascript, so I ask for your help.

Here's my markup:

<script type="text/javascript"> 
    function UpdateTime(sender, args) { 
        var panel = $find("<%=RadXmlHttpPanel1.ClientID%>"); 
        panel.set_value(); 
        window.setInterval(UpdateTime, 1000); 
    } 
 
</script> 
 
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default"> 
</telerik:RadAjaxLoadingPanel> 
<telerik:RadXmlHttpPanel ID="RadXmlHttpPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1" 
    Value="test" OnServiceRequest="XmlHttpPanel_ServiceRequest"> 
    <asp:PlaceHolder ID="ph" runat="server"></asp:PlaceHolder> 
</telerik:RadXmlHttpPanel> 
 
<script type="text/javascript"> 
    UpdateTime; 
</script> 
 

and here's my codebehind:

    Protected Sub XmlHttpPanel_ServiceRequest(ByVal sender As Object, ByVal e As RadXmlHttpPanelEventArgs) 
        Dim val As String = e.Value 
        ph.Controls.Add(New LiteralControl("<font color='#000000'>" & Now.ToString & "</font>")) 
    End Sub 

The time is updated on pagerefresh, but I can't figure out how to make it update automatically every second.

How do I do that and what is the best approach?

Thanks!
Morten
Pero
Telerik team
 answered on 04 Sep 2009
3 answers
119 views
Can the RadMenu control use the SPHierarchyDataSourceControl supplied in a MOSS 2007 Team site? As I cannot get it to render the text & url it just shows me the Microsoft.Sharepoint.Navigation.SPHierarchyNode.
Philip Nash
Top achievements
Rank 1
 answered on 04 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?