Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
58 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
104 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
155 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
123 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
499 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
1 answer
79 views
Hi everyone.  I am having an issue with the Webservice binding client binding example here: http://demos.telerik.com/aspnet-ajax/grid/examples/client/livedata/defaultcs.aspx.  It works fine up to 10 rows of data, but anything after 10 rows the elements inside the template column come back as null when trying to get the object via javascript.

You can reproduce this by opening up the sample web site up in visual studios and then adding a couple more stock tickers to the App_Code/Grid/QuoteWebService.cs web service. 
// Lines 48 and 92 
string stockTickers = "MSFT, YHOO, GOOG, HPQ, DELL, AAPL, NOVL, IBM, IBN, IBKR, INO, AMAT, BAC, CIT, DIS, EBAY"

Then view the Grid/Examples/Client/LiveData/DefaultCS.aspx in a web browser and you will see that it errors on the 11th row saying that it cannot find the image element inside of the template column.

Both of the spanControl and image returns null in the DefaultCS.aspx page.
var spanControl = args.get_item().get_cell("Change").getElementsByTagName('span')[0]; 
var image = args.get_item().get_cell("Change").getElementsByTagName('img')[0]; 

Tsvetoslav
Telerik team
 answered on 01 Sep 2009
3 answers
167 views
Hi

I am having trouble with two windows on a page (maybe?).

I have a page with a grid, and two windows like this:

<telerik:radwindowmanager ID="RadWindowManager1" runat="server"   
        Title="MyWindows">  
        <Windows> 
        <telerik:RadWindow ID="RadWindow1" runat="server"   
                NavigateUrl="~/windows/request_list.aspx" OpenerElementID="divRequest"   
                CssClass="windowBody" Animation="None" Left="" Top="" BackColor="#5F6060"   
                Width="450px" Height="300px" 
                DestroyOnClose="False" ReloadOnShow="True" ShowContentDuringLoad="True"   
                Behaviors="Close,Move,Resize" Modal="True" VisibleStatusbar="False" VisibleOnPageLoad="False">  
        </telerik:RadWindow> 
          
        <telerik:RadWindow ID="RadWindowCurrency" runat="server"   
                ToolTip="Click to change currency setting"   
                NavigateUrl="~/windows/currency-swap.aspx" OpenerElementID="divChangeCurrency" 
                CssClass="windowBody" Animation="None" Left="" Top="" BackColor="#5F6060" 
                Width="350px" Height="360px"    
                DestroyOnClose="False" ReloadOnShow="True" ShowContentDuringLoad="True"   
                Behaviors="Close,Move,Resize" Modal="true" VisibleStatusbar="False">  
            </telerik:RadWindow> 
                       
        </Windows> 
        
    </telerik:radwindowmanager> 


The second window (RadWindowCurrency) works when the page has just been loaded
but will NOT open in the following circumstances:

1 ) after the first window has been opened and close again

2 ) after there has been a postback of the grid (which is in a separate radajaxpanel)

There is obviously some interaction, but what do you suggest a try to sort this out?

Thanks

Clive

Georgi Tunev
Telerik team
 answered on 01 Sep 2009
0 answers
93 views
I want to grouping like this
1) First group by Marks
2) Inside of above grouping inner grouping  is group by Age
3) and those who hv Marks and age is same is display below the combined header
See th sample below


EmpNo              Ename         Age           Marks
 Marks : 54                                         Avg: 20
1                     rahul            25                 54
 Total   : 1

 Marks : 55                             Avg: 30
2                     kfsjfksfks       28              55
3                     fksdfjskf         28              55
 Total   : 2

Marks : 64                                               Avg: 30
3                     fksdfjskf         29              64
Combined
   |---                 kailsh            28             64
   |---                nitin                28            64
   |---                abc                 28            64
 Total   : 4


Thanks
Please reply urgently How to grouping like above and How to Hide the subgroup fotter

reply me urgent

Rahul
Top achievements
Rank 1
 asked on 01 Sep 2009
1 answer
87 views
Hi,
  I am loading a page in RadDialog instead of a page redirect and enabled the page as HTTPS. The page is getting loaded in the RadDialog but when i close it its giving a pop up mentioning "The page contains secure/nonsecure warning".

The stand alone page is with https is loading correct and I tried with Window.open without radwindow then also it works correctly.

I tried all these thing given from telerix below
http://www.telerik.com/support/kb/aspnet-ajax/editor/secure-nonsecure-warning-with-radeditor-under-ssl-https.aspx

Please let me know if there is any workaround,is IE 7 and radWindow is having this problem.

Thanks,
Gan
Georgi Tunev
Telerik team
 answered on 01 Sep 2009
1 answer
363 views
If you see my site (www.theplaygrounds.co.uk) you get a YSOD as follows:

Could not load type 'Telerik.Web.UI.RadUploadHttpModule'.


Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Could not load type 'Telerik.Web.UI.RadUploadHttpModule'.


I am going to the root (url as above) and I have not made use of this specific control in anywhere on my site. This YSOD occurs on any page in the site.

Can anyone give me clues as to why this error is happening?

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Could not load type 'Telerik.Web.UI.RadUploadHttpModule'.



Kamen Bundev
Telerik team
 answered on 01 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?