Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
205 views

I have a RadMenu in a SharePoint master page. The problem is,  when I select the site Actions dropdown it appears behind the RadMenu.  The Default z-index of the menu is 7000, I’ve set it to (z-index  3 !important) with no change to the issue.

How should I configure the RadMenu to appear below the SharePoint Site Actions Menu, But will still remain above the other Telerik controls.


Kate
Telerik team
 answered on 04 Aug 2011
3 answers
223 views

GridGroupHeaderItem groupHeader = dtgLeads.MasterTableView.GetItems(GridItemType.GroupHeader)[index] as GridGroupHeaderItem;
  
GridItem[] children = groupHeader.GetChildItems();
bool hasChild = groupHeader.HasChildItems;
children.Count() > 0
  
flag = true;
foreach (GridItem child in children)
{}

I got error on (GridItem child in children) line. If i use GridDataItem in place of GridItem again i got error, I ve done this on trila version now we have Paid 2011 Q2 Ajax control version, now its not running. even the code is copied and pasted from the project that was runing with trial version.

Thanks
Andrey
Telerik team
 answered on 04 Aug 2011
3 answers
124 views
Hi All,
Please view the attachment . I have just modified filtering style. Please let me can I achive a kind of filtering style as show in  the attachment  . I adding the filtering option as icon in the column header itself . And when I click on that icon I should be able to get the drop down list with filtering values.


Thanks ...

saravanakumar subramaniam
Top achievements
Rank 1
 answered on 04 Aug 2011
10 answers
332 views
Hi,

how to disable the Drag and drop feature for images in RadEditor. Currently , i can drag any image in my web page and drop this to Rad Editor. how to disable that ? but at the same time i want the copy/paste functionality for images in rad editor.
Rumen
Telerik team
 answered on 04 Aug 2011
1 answer
197 views
Greetings,

I have a page with a radGrid and a button that allow my user to download a file, now if I use the RadAjax Manger to configure
the button to an AJAX style postback this will confict with the file download  -- if you do this you get Parse Error, as you
are messing w/ the server response :)

This page also has a grid that shows the data that is being downloaded with a status column that displays if 'exported' process
has been completed. i.e..(the user downloaded the file)  

Here's my goal, user clicks to the get the download, and aspx server side code sub. rgRequests_NeedDataSource is  invoked causing the RadGrid to be updated 

I am using client side jQuery.to update the text lables on the page with out issue,

but I do not understand how to invoke a server side code (asp.net).


// this is wired up to a ASP:BUTTON -- onClick event

function upDatePAMLabel(label,grid) {
             $("#" + label).html("There are no User IDs waiting to be exported");
  
          // AJAX Call back here to refresh the grid
          //  $("#" + grid).ajax("PortalAdminManager.aspx", "", "rgRequests_NeedDataSource","");
          
        /*   does nothing!
          $.ajax({
              type: "POST",
              url: "PortalAdminManager.aspx/rgRequests_NeedDataSource",
              data: "{}",
              contentType: "application/json; charset=utf-8",
              dataType: "json",
              success: function (msg) {
                  alert(msg)
              }
          });
          */
          
        //  brute force method - to refresh the grid
         // force a reload so that Request Status is updated in the grid
          $(document).ready(function () {
              setTimeout(function () { window.location.href = "./PortalAdminManager.aspx"; }, 1000);
            });
        
 }


So if anyone has done this, please a post a solution  or a suggestion!

Thanks,

Dave Gilden MCSD / Ft. Worth, Tx




Radoslav
Telerik team
 answered on 04 Aug 2011
1 answer
96 views
I have been trying to get CSS styles to load into a RadEditor with no luck.  The editor needs to show image manger, unordered list, indent, outdent and Apply Styles.  I was going nuts thinking it was something in my code, so I created a new Telerik Web Application.  My test app only has the default page that is created when you do new project.  I placed a RadEditor on the page and included my CSS stylesheet linked on the page.

The problem is that when the tools are changed/added, the stylesheet does not load.  I am not even writing any code, I am letting the configuration manager put the changes into the file.  See code below...

Is this a bug, or do I need to do something special?

Thanks,
        Paul


When the apsx page contains the following the Apply Styles works great:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
    <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
    <link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <%--Needed for JavaScript IntelliSense in VS2010--%>
            <%--For VS2008 replace RadScriptManager with ScriptManager--%>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
    <script type="text/javascript">
        //Put your JavaScript code here.
    </script>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
  
    <telerik:RadSkinManager ID="RadSkinManager1" Runat="server" Skin="Hay">
    </telerik:RadSkinManager>
    <div>
     
        <telerik:RadEditor ID="RadEditor1" Runat="server">
        </telerik:RadEditor>
    </div>
    </form>
</body>
</html>

When I customize the toolbar and the code looks like this, I get no dropdown for the Apply Styles.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
    <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
    <link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <%--Needed for JavaScript IntelliSense in VS2010--%>
            <%--For VS2008 replace RadScriptManager with ScriptManager--%>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
    <script type="text/javascript">
        //Put your JavaScript code here.
    </script>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
  
    <telerik:RadSkinManager ID="RadSkinManager1" Runat="server" Skin="Hay">
    </telerik:RadSkinManager>
    <div>
     
        <telerik:RadEditor ID="RadEditor1" Runat="server">
            <Tools>
                <telerik:EditorToolGroup Tag="MainToolbar">
                    <telerik:EditorTool Name="Print" ShortCut="CTRL+P" />
                    <telerik:EditorTool Name="AjaxSpellCheck" />
                    <telerik:EditorTool Name="FindAndReplace" ShortCut="CTRL+F" />
                    <telerik:EditorTool Name="SelectAll" ShortCut="CTRL+A" />
                    <telerik:EditorTool Name="Cut" />
                    <telerik:EditorTool Name="Copy" ShortCut="CTRL+C" />
                    <telerik:EditorTool Name="Paste" ShortCut="CTRL+V" />
                    <telerik:EditorToolStrip Name="PasteStrip">
                    </telerik:EditorToolStrip>
                    <telerik:EditorSeparator />
                    <telerik:EditorSplitButton Name="Undo">
                    </telerik:EditorSplitButton>
                    <telerik:EditorSplitButton Name="Redo">
                    </telerik:EditorSplitButton>
                </telerik:EditorToolGroup>
                <telerik:EditorToolGroup Tag="InsertToolbar">
                    <telerik:EditorTool Name="ImageManager" ShortCut="CTRL+G" />
                    <telerik:EditorTool Name="DocumentManager" />
                    <telerik:EditorTool Name="FlashManager" />
                    <telerik:EditorTool Name="MediaManager" />
                    <telerik:EditorTool Name="TemplateManager" />
                    <telerik:EditorSeparator />
                    <telerik:EditorTool Name="LinkManager" ShortCut="CTRL+K" />
                    <telerik:EditorTool Name="Unlink" ShortCut="CTRL+SHIFT+K" />
                </telerik:EditorToolGroup>
                <telerik:EditorToolGroup>
                    <telerik:EditorTool Name="Superscript" />
                    <telerik:EditorTool Name="Subscript" />
                    <telerik:EditorTool Name="InsertParagraph" />
                    <telerik:EditorTool Name="InsertGroupbox" />
                    <telerik:EditorTool Name="InsertHorizontalRule" />
                    <telerik:EditorTool Name="InsertDate" />
                    <telerik:EditorTool Name="InsertTime" />
                    <telerik:EditorSeparator />
                    <telerik:EditorTool Name="FormatCodeBlock" />
                </telerik:EditorToolGroup>
                <telerik:EditorToolGroup>
                    <telerik:EditorDropDown Name="FormatBlock">
                    </telerik:EditorDropDown>
                    <telerik:EditorDropDown Name="FontName">
                    </telerik:EditorDropDown>
                    <telerik:EditorDropDown Name="RealFontSize">
                    </telerik:EditorDropDown>
                </telerik:EditorToolGroup>
                <telerik:EditorToolGroup>
                    <telerik:EditorTool Name="AbsolutePosition" />
                    <telerik:EditorSeparator />
                    <telerik:EditorTool Name="Bold" ShortCut="CTRL+B" />
                    <telerik:EditorTool Name="Italic" ShortCut="CTRL+I" />
                    <telerik:EditorTool Name="Underline" ShortCut="CTRL+U" />
                    <telerik:EditorTool Name="StrikeThrough" />
                    <telerik:EditorSeparator />
                    <telerik:EditorTool Name="JustifyLeft" />
                    <telerik:EditorTool Name="JustifyCenter" />
                    <telerik:EditorTool Name="JustifyRight" />
                    <telerik:EditorTool Name="JustifyFull" />
                    <telerik:EditorTool Name="JustifyNone" />
                    <telerik:EditorSeparator />
                    <telerik:EditorTool Name="Indent" />
                    <telerik:EditorTool Name="Outdent" />
                    <telerik:EditorSeparator />
                    <telerik:EditorTool Name="InsertOrderedList" />
                    <telerik:EditorTool Name="InsertUnorderedList" />
                    <telerik:EditorSeparator />
                    <telerik:EditorTool Name="ToggleTableBorder" />
                    <telerik:EditorTool Name="XhtmlValidator" />
                </telerik:EditorToolGroup>
                <telerik:EditorToolGroup>
                    <telerik:EditorSplitButton Name="ForeColor">
                    </telerik:EditorSplitButton>
                    <telerik:EditorSplitButton Name="BackColor">
                    </telerik:EditorSplitButton>
                    <telerik:EditorDropDown Name="ApplyClass">
                    </telerik:EditorDropDown>
                    <telerik:EditorToolStrip Name="FormatStripper">
                    </telerik:EditorToolStrip>
                </telerik:EditorToolGroup>
                <telerik:EditorToolGroup Tag="DropdownToolbar">
                    <telerik:EditorSplitButton Name="InsertSymbol">
                    </telerik:EditorSplitButton>
                    <telerik:EditorToolStrip Name="InsertTable">
                    </telerik:EditorToolStrip>
                    <telerik:EditorToolStrip Name="InsertFormElement">
                    </telerik:EditorToolStrip>
                    <telerik:EditorSplitButton Name="InsertSnippet">
                    </telerik:EditorSplitButton>
                    <telerik:EditorTool Name="ImageMapDialog" />
                    <telerik:EditorDropDown Name="InsertCustomLink">
                    </telerik:EditorDropDown>
                    <telerik:EditorSeparator />
                    <telerik:EditorTool Name="ConvertToLower" />
                    <telerik:EditorTool Name="ConvertToUpper" />
                    <telerik:EditorSeparator />
                    <telerik:EditorDropDown Name="Zoom">
                    </telerik:EditorDropDown>
                    <telerik:EditorSplitButton Name="ModuleManager">
                    </telerik:EditorSplitButton>
                    <telerik:EditorTool Name="ToggleScreenMode" ShortCut="F11" />
                    <telerik:EditorTool Name="AboutDialog" />
                </telerik:EditorToolGroup>
            </Tools>
            <Content>
</Content>
        </telerik:RadEditor>
    </div>
    </form>
</body>
</html>
Rumen
Telerik team
 answered on 04 Aug 2011
1 answer
254 views
I have radgrid uses Radajaxloadingpanel, I also have a linkedbutton which is located inside he radgrid, When the button clicks, it does Response.WriteFile to pop up the window file save dialogbox, at this time, I click cancel button or click open file button, the radajaxloadingpanel is always loading and never stops. How I solve this problem?

I tried

 

RadScriptManager1

 

 

.RegisterPostBackControl(linkBtn) on radgrid_ItemCreated, it doens't help at all.

Please help.

Thanks.

 

Pavlina
Telerik team
 answered on 04 Aug 2011
1 answer
405 views
I'm trying to concatenate strings (table fields) via SQL SELECT statement and use the values in the

DataDescriptionField

 

of RadSchduler (TEXTAREA).  However, I want to create line breaks between the field values.

SELECT 'Field 1: ' + field1 + ' \r\n ' + 'Field 2: ' +  field2 AS ConcatString
FROM Table1

I want the appointment description (textarea) to display...

Field 1:  Field1 Value
Field 2:  Field2 Value

What do I use to create this?  The "\r\n" didn't work.  It displays as (literal) string.  

I am trying to populate the Description textarea on an appointment using Telerik's RadScheduler.

<telerik:RadScheduler runat="server" ID="RadScheduler1" Width="1000px" Height="750px" SelectedDate="2011-08-01"
DayStartTime="00:00:00" DayEndTime="23:59:59" TimeZoneOffset="00:00:00" DataSourceID="SurgeryDataSource2"
DataKeyField="surID" DataDescriptionField="ConcatString" DataSubjectField="specialtyType" DataStartField="start_date" DataEndField="end_date">

Thanks.

Edward

 

Peter
Telerik team
 answered on 04 Aug 2011
1 answer
84 views
I have a hierarchical grid containing the parent and a single child. Both forms use a templated editform. I've added custom buttons to both forms for handling insert/update/Cancel. However, on the child form, none of these seem to be firing the standard RadGrid events.

Any reason why this might be? I've checked the child grid's editform over and compared it to the parent grid's editform and can't see a problem.

Correction: Just looked deeper into it and the cancel button works. Pressing the insert button causes a response but doesn't affect the grid and doesn't store anything in the database.
Tsvetina
Telerik team
 answered on 04 Aug 2011
5 answers
162 views
I start a new Visual Web Part project, add an SPDataSource to any Sharepoint list, and then add a telerik control, and map the control to the datasource and VS freezes.  This happens with the radlistbox, radgrid, and radlistview at a minimum.  I've used RadMenu and several other controls in my Sharepoint 2010 environment without issues.  Also, if I use a regular grid control and bind it to SPDataSource there's no problems.

I'm just simply adding it this way.

<SharePoint:SPDataSource ID="SPDataSource1" runat="server"
    DataSourceMode="List"
    UseInternalName="true" 
    SelectCommand="<View></View>">
    <SelectParameters>
        <asp:Parameter Name="WebUrl" DefaultValue="/subsite/" />
        <asp:Parameter Name="ListName" DefaultValue="Contacts" />
    </SelectParameters>
</SharePoint:SPDataSource>

Any ideas why this would be happening?  Can you test it out?
Maria Ilieva
Telerik team
 answered on 04 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?