Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
631 views
Hi,

In one kind of scenario of diffrent types of postbacks (full and async) and toggled visibility, at least one Telerik control seem to lose its CSS, from the WebResource.axd. In this example I use the RadScheduler. If in the page (code following below), one first clicks the "Toggle Rad Scheduler Visibility" button, then clicks the "Full Postback" button, then clicks the "Toggle Rad Scheduler Visibility" button again, the CSS will not be loadad for the scheduler any more, so it will not look as it should. If in this state one clicks "Full Postback" again, the CSS is loaded again.

Is there any method one should call on the Telerik controls to make sure their CSS is always loaded? What can one do, any suggestions? Or is there something I have missed?

Page markup and codefile:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AsyncCSSTest2.aspx.cs" Inherits="RadAsyncTest.AsyncCSSTest2" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server"
    <title></title
</head> 
<body> 
    <form id="form1" runat="server"
    <div> 
     
        <asp:ScriptManager ID="SM" runat="server" 
            EnablePartialRendering="true"
        </asp:ScriptManager> 
         
        <telerik:RadCodeBlock runat="server"
            <telerik:RadAjaxManager runat="server" ID="AjxMgr"
            </telerik:RadAjaxManager> 
 
            <asp:UpdatePanel runat="server" ID="UP" UpdateMode="Conditional"
                <ContentTemplate> 
                 
                    <asp:Button runat="server" ID="Toggle" Text="Toggle Rad Scheduler Visibility" /> 
                    <asp:Button runat="server" ID="FullPost" Text="Full Postback" /> 
                     
                    <telerik:RadScheduler runat="server" ID="RadScheduler1" Skin="Telerik" 
                        Visible="true" 
                        DataKeyField="eventID" 
                        DataStartField="startdate" 
                        DataEndField="enddate" 
                        DataSubjectField="subject" 
                        DataDescriptionField="description"
                    </telerik:RadScheduler> 
                             
                </ContentTemplate> 
                 
                <Triggers> 
                    <asp:PostBackTrigger ControlID="FullPost" /> 
                </Triggers> 
                 
            </asp:UpdatePanel> 
 
        </telerik:RadCodeBlock> 
         
    </div> 
    </form> 
</body> 
</html> 
 


using System; 
using System.Collections.Generic; 
using System.Linq; 
using System.Web; 
using System.Web.UI; 
using System.Web.UI.WebControls; 
 
namespace RadAsyncTest 
    public partial class AsyncCSSTest2 : System.Web.UI.Page 
    { 
        protected void Page_Load(object sender, EventArgs e) 
        { 
            Toggle.Click += delegate { 
                RadScheduler1.Visible = !RadScheduler1.Visible; 
            }; 
        } 
    } 
 

Marin Bratanov
Telerik team
 answered on 03 Jul 2014
3 answers
351 views
I have a fileExplorer that open files but what it does is open the files in a radwindow.  Current the fileExplorer is in a Radwindow itself.  Is there a way to force it to open the files in another IE tab.

<tr>
                   <td><telerik:RadFileExplorer ID="radExplorer" runat="server" Width="400px" Height="200px" EnableOpenFile="true" DisplayUpFolderItem="false"
                       EnableCreateNewFolder="false" AvailableFileListControls="Grid" ExplorerMode="Default">
                           <Configuration ViewPaths="~/PriorSvcUploads" />
                       </telerik:RadFileExplorer>
                   </td>
               </tr>

Vessy
Telerik team
 answered on 03 Jul 2014
3 answers
218 views
Folks using VS 2012 with ASP.NET Ajax and IE 11. My Project I am using EditForm.
 
I just downloaded Telerik_UI_for_ASP.NET_AJAX_2014_2_618_Dev. Unfortunately I can't add/edit any thing in my Existing Rad Grid via any Commands from CommandItemTemplate.
 
Keep getting
 
Line: 11566
Error: Unable to get property 'get_index' of undefined or null reference
 
See attached file (Edit_form_Open_Error_in_ASP.NET_AJAX_2014_2_618.PNG)
 
Also see the debugger error (Debugger_Error.png)
 
How ever I am able to add/edit the same grid in Previous version (Telerik_UI_for_ASP.NET_AJAX_2014_1_403_Dev)
 
Refer to (Edit_form_in_ASP.NET_AJAX_2014_1_403.png).
 
Telerik,  please suggest; should I roll back to previous version?
 
Thanks
 
gc_0620
Kostadin
Telerik team
 answered on 03 Jul 2014
2 answers
172 views
Hi Team,

I am receiving the error 'Error while executing filter XHTML - TypeError: Cannot read property 'parentNode' of null' while trying to edit some of our existing Documents.

Any documents created newly are working fine. Could you please provide any direction to this issue?


Regards,
Saikrishna 
Saikrishna
Top achievements
Rank 1
 answered on 03 Jul 2014
4 answers
214 views
Hi ,

I wanted to have a column with J-query calendar and i am not able to achieve this using rad grid .But  the normal grid i am able to assign it with the class name. Can you help me out.

Thanks 
Vk
Eyup
Telerik team
 answered on 03 Jul 2014
7 answers
631 views
The EditCommand handler works just fine.

In looking at why the InsertCommand handler was never being hit, although a postback does occur, I discovered this in the Request.Params.

__EVENTTARGET: ctl00$MainContent$gridActivity$ctl00$ctl02$ctl00$InitInsertButton


This is the target generated when I click on the Add button on the grid, it's not firing the InsertCommand because that is not what it's pointing at.

There are also no arguments on that postback.  I can check for that and call something, but how do I access the individual edit text boxes displayed by the grid?
Angel Petrov
Telerik team
 answered on 03 Jul 2014
1 answer
68 views
hi
Is it possible for each node set binary image (stored in the database table) defined?
Thanks
Shinu
Top achievements
Rank 2
 answered on 03 Jul 2014
1 answer
106 views
I have an RadEditor. When a hyperlink is added and when i keep the cursor at the end and press backspace, it removes the link.

Suppose i add <a href="SomeLink" >Test Link</a> in the HTML part of RadEditor.

Then i move to Design and i can see the "Test Link". So when i keep the cursor at "k" and press backspace, it removes the hyperlink.

Please let me know what causes this issue?

My telerik version is "2013.3.1114.40"

Ianko
Telerik team
 answered on 03 Jul 2014
7 answers
355 views
Is it possible to programatically convert a DOCX to a PDF in a C# web application?

I currently have RadControls for ASP.NET AJAX and Silverlight and Telerik Reporting.

Kostadin
Telerik team
 answered on 03 Jul 2014
2 answers
399 views
Hello,

I am using Image Manager in RadEditor. But I can't hide/Remove folder Path. Actually I don't want to show to user where his/her files located in our system.
Please see red box in attached file.

I tried to make it by changing css; .RadFileExplorer .rfeAddressBox{display: none !important;} but its working only RadFileExplorer not working in Image Manager in RadEditor.

I also tried by using ExternalDialogsPath but its not working:

1) Register the external dialog files of RadEditor:
<telerik:radeditor runat="server" ExternalDialogsPath="~/EditorDialogs" ID="RadEditor1">
   <TemplateManager ViewPaths="~/" UploadPaths="~/" />
   <ImageManager ViewPaths="~/" UploadPaths="~/" />
</telerik:radeditor>

2) Open the \EditorDialogs\FileBrowser.ascx file, locate the RadFileExplorer control and set the VisibleControls property with the
following value, e.g.
<telerik:RadFileExplorer ID="RadFileExplorer1" Height="410px"
Width="400px" TreePaneWidth="150px"
VisibleControls="ContextMenus,Grid,Toolbar,TreeView" runat="Server"
EnableOpenFile="false" AllowPaging="true" />


Could anyone can help me to get this done.

Thanks
Aminul
Aminul
Top achievements
Rank 1
 answered on 03 Jul 2014
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?