Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
191 views
Hi,

I want to implement some wizard-like functionality. When the user clicks a "next" button inside a RadWindow the content of the window shall be replaced by another page. I have tried this with redirect but it didn't work as expected.
What is a suggested way to implement this behaviour.

Best regards,
Robert
Georgi Tunev
Telerik team
 answered on 01 Sep 2009
1 answer
99 views
Hello Techies,

We are using RadHtmlField control for writing content and images for certain pages.

We have an requirement to paste the image in RadHtmlField along with content from MS Word/Paint etc.

Any clue/link.. How to do it?

Thanks,
Tarun
Stanimir
Telerik team
 answered on 01 Sep 2009
7 answers
301 views
hi,

im using telerik on my masterpage as followed. I registered telerik, i have the RadScriptManager and the RadMenu but in my IE i get a normal list of my radmenuitems. no nice graphics or anything ...

------------masterpage code---------
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Src="~/Controls/Logout.ascx" TagName="Logout" TagPrefix="uc2" %>
...
<form id="form1" runat="server">
    
        <telerik:RadScriptManager ID="RadScriptManager" runat="server">
        </telerik:RadScriptManager>
            
        <telerik:RadStyleSheetManager ID="RadStyleSheetManager" Runat="server">
        </telerik:RadStyleSheetManager>
            
        <telerik:RadSkinManager ID="RadSkinManager" Runat="server" Skin="Vista">
        </telerik:RadSkinManager>
    
         <table cellpadding="0" cellspacing="0">
            <tbody valign="top">
                <tr>
                    <td>
                        <asp:Image runat="server" ID="imgLogo" ImageUrl="~/Images/iflows_logo.jpg" />
                    </td>
                    <td>
                        <asp:Label runat="server" ID="lblTop" Text="labelname"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <uc2:Logout runat="server" ID="ucLogout" />                    
                    </td>
                    <td>
                        <telerik:RadMenu ID="RadMenu1" Runat="server" DefaultGroupSettings-Flow="Horizontal">
                            <Items>
                                <telerik:RadMenuItem Text="Documents">
                                    <Items>
                                        <telerik:RadMenuItem Text="Search"></telerik:RadMenuItem>
                                        <telerik:RadMenuItem Text="Upload"></telerik:RadMenuItem>
                                    </Items>
                                </telerik:RadMenuItem>
                                <telerik:RadMenuItem Text="Settings">
                                </telerik:RadMenuItem>
                            </Items>
                        </telerik:RadMenu>
                    </td>
                </tr>
                <tr>
                    <td>
                        
                    </td>
                    <td>
                        <asp:Label ID="errorLabel" runat="server"></asp:Label>
                        <div>
                            <asp:ContentPlaceHolder ID="MainContentPlaceHolder" runat="server">
                            </asp:ContentPlaceHolder>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>

------------/ masterpage code---------

shouldnt i be able to see the same style and effects as in the Telerik Live Demo ? And why not ? Or what ive done wrong?

thx Mario
Eric Fransen
Top achievements
Rank 2
 answered on 01 Sep 2009
1 answer
76 views
Scenario:  I have a RadGrid, with a Template based edit form, and a column hooked to a RadToolTipManager.  The TooltipManager performs a LOD of a usercontrol in modal mode.  This all works well.  The issue comes if you try to click the Edit column of the grid after viewing/closing any tooltips.  A javascript error of "parentNode is null or not an object" is shown.

I turned the modal mode on the tooltip manager to false and the problem doesn't appear.  As soon as I turn modal = true the problem reappears.  In this instance I need the modal functionality. 

Any Ideas?

-T
Veli
Telerik team
 answered on 01 Sep 2009
1 answer
259 views
I think I found a bug with ToolTip and Chrome, my test code works in IE just fine but in Chrome I get this error on mouse over:
Uncaught Sys.ArgumentOutOfRangeException: Value must be an integer.
Parameter name: x
Actual value as Nan.

if i don't set a contentscrolling value this error does not show and the tooltip is displayed

Can you reproduce this?
aspx code
    <asp:Panel ID="GridPanel" runat="server"> 
        <a id="LINKIT">TEXT FOR ROLLOVER</a> 
    </asp:Panel>  

code behind
 protected void Page_Load(object sender, EventArgs e) 
    { 
        StringBuilder daText = new StringBuilder(); 
        daText.Append("TEST<br>"); 
        daText.Append("TEST<br>"); 
        daText.Append("TEST<br>"); 
        RadToolTip rtp1 = new RadToolTip(); 
        rtp1.Skin = "Vista"; 
        rtp1.Text = daText.ToString(); 
        rtp1.Sticky = true; 
        rtp1.Position = ToolTipPosition.BottomCenter; 
        rtp1.TargetControlID = "LINKIT"; 
        rtp1.IsClientID = true; 
        rtp1.ShowEvent = ToolTipShowEvent.OnMouseOver; 
        rtp1.Width = new Unit("300px"); 
        rtp1.Height = new Unit("250px"); 
        rtp1.Animation = ToolTipAnimation.Fade; 
        rtp1.HideEvent = ToolTipHideEvent.LeaveToolTip; 
        rtp1.ContentScrolling = ToolTipScrolling.Auto; 
        GridPanel.Controls.Add(rtp1); 
    } 

Svetlina Anati
Telerik team
 answered on 01 Sep 2009
1 answer
66 views
I have tried to put some of the Rad Controls in the calendar.

Script control 'RadSlidingPane1' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Parameter name: scriptControl


Is this functionality not supported. I was hoping to get some advanced functionality for special dates.


Jaime Weise
Top achievements
Rank 1
 answered on 01 Sep 2009
1 answer
112 views
I created a grid to do an edit, I am trying to add a dropdown in my grid for the KMA name however when you go into the edit mode it gives you a different KMA name then the one originally selected to edit.. can someone explain to me how to bind that drop down to show the Kma that was selected, as it's very confusing  because what you selected is not what comes up ?

 

<telerik:GridDropDownColumn DataSourceID="sqlKMAgrid" ListTextField="KMA_LongDesc" ListValueField="ID"

 

 

SortExpression="KMA_LongDesc" HeaderText="KMA" DropDownControlType="DropDownList"

 

 

DataField="KMA_LongDesc" >

 

 

</telerik:GridDropDownColumn>

 

 

<telerik:GridBoundColumn CurrentFilterFunction="NoFilter" DataField="KMA_LongDesc"

 

 

FilterListOptions="VaryByDataType" ForceExtractValue="None" HeaderText="KMA_LongDesc"

 

 

SortExpression="KMA_LongDesc" UniqueName="KMA_LongDesc">

 

 

</telerik:GridBoundColumn>

thank you for any help you can give

 

Shinu
Top achievements
Rank 2
 answered on 01 Sep 2009
3 answers
164 views
Hi
I have a page to open as Radwindow only .. so the url of the page can't be used to open it , the only way to open it is to click on the button "open" ,
for example : my radwindow is "mywebsite\OpenAsWindow.aspx", the opner of the window is a button in Default.aspx
i want to disable the use of  "www.mywebsite.com\OpenAsWindow.aspx" to open the page, 
 How can i do it ???
Tahnks 
Georgi Tunev
Telerik team
 answered on 01 Sep 2009
1 answer
133 views
I'm looking to build an image gallery of sorts using BinaryImage in a repeater control, and I need to be able to drag the images around to re-order them.  Any samples that already show some decent drag-n-drop of bimaryimage objects in a repeater control, or another control for that matter?

I have done drag-n-drop in RadGrids.  Would there be stronger support doing it in RadGrid for any reason?

Thx for help.
Sebastian
Telerik team
 answered on 01 Sep 2009
1 answer
508 views
For some reason RadGrid 100% height works, in IE 8.0 and Chrome, but not in compatability mode for IE 8.0.  Could someone please help out on why this is not working with what I believe is IE 7.0 engine?  Thank you very much!!

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="logs.aspx.cs" Inherits="NetINFO.Logs" %> 
 
<%@ 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 id="Head2" runat="server">  
    <title>Application Logs</title> 
    <style type="text/css">  
        html, body, form  
        {  
            background-color: rgb(133,170,238);  
            margin: 0px;  
            padding: 0px;  
            border: 0px;  
            height: 100%;  
            font-size: 12px;  
        }  
        html  
        {  
            overflow: auto;  
        }  
        #topBar  
        {  
            margin: 0;  
            margin-bottom: 0em;  
            font-size: 100%;  
            color: white;  
            padding: 0 1em;  
            font-family: Verdana,sans-serif;  
            height: 20px;  
            line-height: 20px;  
            background-color: rgb(133,170,238);  
        }  
        #content  
        {  
            position: absolute;  
            top: 66px;  
            bottom: 26px;  
            width: 100%;  
            background-color: White;  
        }  
        #copyright  
        {  
            position: absolute;  
            bottom: 0;  
            margin: 0;  
            width: 100%;  
            border-top: 1px solid #999;  
            height: 25px;  
            line-height: 25px;  
        }  
        #copyright p  
        {  
            margin: 0 1em;  
            font-size: 80%;  
            font-style: italic;  
        }  
        #calendar  
        {  
            width: 100%;  
            height: 25px;  
            background-color: rgb(133,170,238);  
            border-bottom: 1px solid #999;  
        }  
        #applicationBar  
        {  
            width: 100%;  
            height: 20px;  
        }  
        #username  
        {  
            float: right;  
            padding-right: 1em;  
        }  
        #applicationName  
        {  
            float: left;  
            padding-left: 1em;  
            height: 20px;  
            width: 294px;  
        }  
    </style> 
</head> 
<body> 
    <form id="form2" runat="server">  
    <asp:ScriptManager ID="ScriptManager2" runat="server" /> 
    <div id="topBar">  
        <div id="applicationName">  
            100% Height RadGrid</div> 
        <div id="username">  
            <asp:Label ID="lblUserName" runat="server" Text=""></asp:Label> 
        </div> 
    </div> 
    <div id="applicationBar">  
        <telerik:RadMenu ID="App_Menu" runat="server" Skin="Vista" Width="100%" Style="top: 0px;  
            left: 0px"> 
            <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
            <Items> 
                <telerik:RadMenuItem runat="server" Text="Root RadMenuItem1">  
                </telerik:RadMenuItem> 
            </Items> 
        </telerik:RadMenu> 
    </div> 
    <div id="calendar">  
        <div style="width: 250px;">  
            <telerik:RadDatePicker ID="dtmLogFilter" runat="server" AutoPostBack="True" Culture="English (United States)" 
                OnSelectedDateChanged="dtmLogFilter_SelectedDateChanged" Skin="Web20">  
                <DateInput AutoPostBack="True">  
                </DateInput> 
                <Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x" 
                    Skin="Web20">  
                </Calendar> 
                <DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton> 
            </telerik:RadDatePicker> 
        </div> 
    </div> 
    <div id="content">  
        <telerik:RadGrid ID="grdLogs" runat="server" OnNeedDataSource="grdLogs_NeedDataSource" 
            AutoGenerateColumns="False" Skin="Office2007" AllowSorting="True" AllowFilteringByColumn="True" 
            GridLines="None" ShowGroupPanel="True" Height="100%">  
            <ClientSettings AllowDragToGroup="True">  
                <Scrolling AllowScroll="true" ScrollHeight="100%" UseStaticHeaders="True" SaveScrollPosition="true" /> 
            </ClientSettings> 
            <HeaderContextMenu Skin="Office2007">  
                <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
            </HeaderContextMenu> 
            <MasterTableView> 
                <Columns> 
                    <telerik:GridBoundColumn DataField="LogEntryDate" HeaderText="LogEntryDate">  
                        <ItemStyle Width="120px" /> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="Application" HeaderText="Application">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="Category" HeaderText="Category">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="SubCategory" HeaderText="Sub Category">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="User" HeaderText="User Name">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="Message" HeaderText="Message">  
                    </telerik:GridBoundColumn> 
                </Columns> 
            </MasterTableView> 
            <FilterMenu EnableTheming="True">  
                <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
            </FilterMenu> 
        </telerik:RadGrid> 
    </div> 
    <div id="copyright">  
        <p> 
            &copy;2009 Me. All rights reserved.</p> 
    </div> 
    </form> 
</body> 
</html> 
 
Dimo
Telerik team
 answered on 01 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?