Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
121 views
Hello,

I want to use RadMenu and RadGrid controls in moss2007, both of these controls will be in hierarchy. In each row of RadGrid I have to load actions from the database on ItemDataBound event of grid.
I've done the configurations provided at the "Incorporating RadControls in MOSS sites" page.
When I load the menuitems statically, It works but when I load it from database, the page doesn't show up and some error occurs.

Second thing, I want to apply the radcontrols' skin on both RadGrid and RadMenu, how to do that?
I copied the "RadControls/Grid" and "RadControls/Menu" folders to the Images folder of the website and changed the properties of the controls respectively but some IOException is thrown by MOSS.

Please help me asap.

Regards,

Talha Majeed.
Talha
Top achievements
Rank 2
 answered on 09 Feb 2010
2 answers
201 views

Hello.

We have an ASP page showing a list of tasks. When clicking on one of the tasks, we show the task in a RadWindow using the radopen function. The RadWindow then shows a new asp page. This works fine, but if we in the page load event of the asp page shown in the RadWindow, set focus to an asp textbox, the scrollbar in the web browser moves to the top. This cause the RadWindow to scroll out of visibility for the user when user has scrolled down in the task list to open a task.

Is this a bug in the RadWindow control?

We use the latest version - 2009 Q3 SP2.

Regards, Rolf

Rolf Falnes
Top achievements
Rank 1
Iron
 answered on 09 Feb 2010
2 answers
75 views
i am trying to have a RadGrid in .aspx page and Setting the AutoGenerate Column = False , and tried adding TextBox and Combobox inside the RadGrid through source view
.{

inside <Columns>

 

 

GridTemplateColumn

 

}

but after adding it inside , the RadGrid is not Showing the Controls placed inside in it ....

I dont know where i had made a mistake



<%

@ Page Language="VB" AutoEventWireup="false" CodeFile="Default3.aspx.vb" Inherits="Default3" %>

 

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

<!

 

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

<

 

html xmlns="http://www.w3.org/1999/xhtml">

 

<

 

head runat="server">

 

 

<title></title>

 

</

 

head>

 

<

 

body>

 

 

<form id="form1" runat="server">

 

 

<div>

 

 

 

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">

 

 

</telerik:RadScriptManager>

 

 

 

<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False"

 

 

GridLines="None">

 

 

<MasterTableView >

 

<

 

RowIndicatorColumn>

 

<

 

HeaderStyle Width="20px"></HeaderStyle>

 

</

 

RowIndicatorColumn>

 

<

 

ExpandCollapseColumn>

 

<

 

HeaderStyle Width="20px"></HeaderStyle>

 

</

 

ExpandCollapseColumn>

 

 

<Columns>

 

 

<telerik:GridTemplateColumn HeaderText="#">

 

<

 

ItemTemplate>

 

 

<asp:Label ID="lblRowID" runat="Server" ></asp:Label>

 

</

 

ItemTemplate>

 

</

 

telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn HeaderText="Col2">

 

<

 

ItemTemplate>

 

 

<telerik:RadComboBox ID="ddlOperator" runat="server" CssClass="ddlClass" AutoPostBack="true"

 

 

EnableViewState="true">

 

<

 

Items>

 

<

 

telerik:RadComboBoxItem Text="Ascending" Value="Ascendings" />

 

</

 

Items>

 

</

 

telerik:RadComboBox>

 

</

 

ItemTemplate>

 

</

 

telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn HeaderText="Col3">

 

<

 

ItemTemplate>

 

<

 

telerik:RadTextBox runat="server" ID="txt" Text="col"></telerik:RadTextBox>

 

</

 

ItemTemplate>

 

</

 

telerik:GridTemplateColumn>

 

 

</Columns>

 

 

</MasterTableView>

 

</

 

telerik:RadGrid>

 

 

</div>

 

 

</form>

 

</

 

body>

 

</

 

html>

 

Liji Jose
Top achievements
Rank 1
 answered on 09 Feb 2010
4 answers
96 views
I use client-side programmatic binding, like the demo in Grid\Populating with Data\Client-side binding\Programmatic Binding .

can I use group by if using client-side programmatic binding?
Simon Chulsky
Top achievements
Rank 1
 answered on 09 Feb 2010
1 answer
200 views
I have a tooltip where the content is generated from a user control.  The tooltip is displayed when a user hovers over a node in the RadTree control.  The problem I have is when the tooltip appears on a node at the bottom of a tree, the page will scroll to the top and the tooltip will be displayed.  Is there a way to prevent the page from scrolling when the tooltip is displayed?

The usercontrol is loaded in the RadToolTipmanager1_AjaxUpdate event.  I am also using RadAjaxManager on the page but I guess it isn't configured correctly.

Thanks
Svetlina Anati
Telerik team
 answered on 09 Feb 2010
1 answer
94 views
When i hilight the cell in radscheduler in monthview how can i open the radtooltip.....
Vesko
Top achievements
Rank 2
 answered on 09 Feb 2010
7 answers
164 views
Hi,

I am using the RadControl for SharePoint 2007. I would like to check the following things

  • Currently i am using a custom radEditor dialog to open a Form page and when closed this form, the values will be populated to the RadEditor. Is it possible to open a Form without using a RadEditor Dialog. If yes, how can we pass back the values from the form to the RadEditor ?
  • Current are having two custom buttons to the RadEditor, these two buttons functionalities are added to the following js located in C:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.5.1.0__1f131a624888eeed\RadControls\Editor\Scripts\7_3_2\MOSSEditorTools.js. Is it possible to have these button functionality as a separate js file instead of touching the MossEditorTools.js. For your reference i have put below the code that we added in the js

var RadEditor1ClientObject = null;  
 RadEditorCommandList["AddNewVideo"] =  
    function CustomDialogCommand(commandName, editor, oTool)  
    {                
            RadEditor1ClientObject = editor;  
        editor.ShowDialog(  
            "/_layouts/Videos/Videos.aspx" 
            , null  
            , 1000
            , 450  
            , CustomDialogCallback  
            , null 
            , "Add New Video");

     };  
 
    function CustomDialogCallback(returnValue)  
    {  
        if (returnValue)  
        {         
            var flashContent ="<object codebase=\"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701\""+
                               " type=\"application/x-oleobject\" height=\""+returnValue.height+"\" standby=\"Loading Microsoft® Windows® Media Player components...\""+
                               " width=\""+returnValue.width+"\" align=\"middle\" classid=\"CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95\">"+
                            "<param name=\"FileName\" value=\"" + returnValue.url + "\">"+
                            "<param name=\"ShowStatusBar\" value=\"True\">"+
                            "<param name=\"DefaultFrame\" value=\"mainFrame\">"+
                            "<param name=\"autostart\" value=\"true\">" +
                            "<embed type=\"application/x-mplayer2\""+
                                " pluginspage = \"http://www.microsoft.com/Windows/MediaPlayer//""+
                                " src=\"" + returnValue.url + "\" align=\"middle\""+
                                " width="+returnValue.height+""+
                                " height="+returnValue.width+""+
                                " autostart=0"+
                                " showcontrols=0 >"+
                             "</embed>"+
                            "</object>";
       
           var filterIE = RadEditor1ClientObject.FiltersManager.GetFilterByName("IEKeepObjectParamsFilter"); 
         
           flashContent = (filterIE)?filterIE.GetDesignContent(flashContent):flashContent; 
           RadEditor1ClientObject.PasteHtml(flashContent);  
        }   
    } 
RadEditorCommandList["AddExistingVideo"] =  
    function CustomDialogCommand(commandName, editor, oTool)  
    {      
        RadEditor1ClientObject = editor;  
        editor.ShowDialog(  
            "/_layouts/Videos/Search/SearchVideo.aspx?ValidOpener=True" 
            , null  
            , 1000
            , 450  
            , CustomDialogAddExistingVideoCallback  
            , null 
            , "Add Existing Video");
    };  
 
    function CustomDialogAddExistingVideoCallback(returnValue)  
    {  
        if (returnValue)  
        {         
            var flashContent ="<object codebase=\"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701\""+
                               " type=\"application/x-oleobject\" height=\""+returnValue.height+"\" standby=\"Loading Microsoft® Windows® Media Player components...\""+
                               " width=\""+returnValue.width+"\" align=\"middle\" classid=\"CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95\">"+
                            "<param name=\"FileName\" value=\"" + returnValue.url + "\">"+
                            "<param name=\"ShowStatusBar\" value=\"True\">"+
                            "<param name=\"DefaultFrame\" value=\"mainFrame\">"+
                            "<param name=\"autostart\" value=\"true\">" +
                            "<embed type=\"application/x-mplayer2\""+
                                " pluginspage = \"http://www.microsoft.com/Windows/MediaPlayer//""+
                                " src=\"" + returnValue.url + "\" align=\"middle\""+
                                " width="+returnValue.height+""+
                                " height="+returnValue.width+""+
                                " autostart=0"+
                                " showcontrols=0 >"+
                             "</embed>"+
                            "</object>";
       
           var filterIE = RadEditor1ClientObject.FiltersManager.GetFilterByName("IEKeepObjectParamsFilter"); 
         
           flashContent = (filterIE)?filterIE.GetDesignContent(flashContent):flashContent; 
           RadEditor1ClientObject.PasteHtml(flashContent);  
        }  
    } 

Kindly Advise,
Stanimir
Telerik team
 answered on 09 Feb 2010
3 answers
120 views
Hi,

I have a page which has a roddock control.
To this control I've  added a user control of RadScheduler.
Now, whenever I'm trying to add an event and clicking on the "more.." link to save the event, the edit form which is opened contains nothing but the two buttons (Insert/Update & Cancel). I already figured out that it happens because of a javascript error which occur when I click on the "more" link:

Error: missing : after property id
Line: 10, Column: 225
Source Code:
T\'","M/d/yyyy","h:mm tt","yyyy\'-\'MM\'-\'dd\'T\'HH\':\'mm\':\'ss","yyyy\'-\'MM\'-\'dd HH\':\'mm\':\'ss\'Z\'","MMMM, yyyy","AM","PM","/",":",0],"_ViewRepeatableDays":{},"_ViewsHash":{ctl00_ContentPlaceHolder1_RadDocka0909fc7-a808-42a7-8109-567edf651784_C...

Can you advise, please?
Veselin Vasilev
Telerik team
 answered on 09 Feb 2010
4 answers
407 views
Hi,
I just want to change the listbox selected color and hover color, how can I change that ?
i tried searching but didn't find anything
Please help, its urjent
Regards
Arijit
Veselin Vasilev
Telerik team
 answered on 09 Feb 2010
1 answer
162 views
I have an asp:Panel that contains about 10 TextBox fields inside of it.  I set up a RadInputManager to ensure that the Textboxes are not empty, however, one of the TextBoxes is not required, but because it is wrapped in a asp:Panel, it thinks it needs to be validated.  Is there a way to override the validation?
Radoslav
Telerik team
 answered on 09 Feb 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?