Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
111 views
Hi Telerik,
after renaming a directory, in the tree occurs the new name only when refreshing the tree (and not automatically). I use the DbContentProvider.
Is this behavior intended?

Best regards,
Andreas
Fiko
Telerik team
 answered on 15 Jan 2010
1 answer
161 views

Hi
      I have used Telerik Rad Ajax Controls Q2 2008.
      I have used Telerik  <telerik:RadAjaxManager. I have got following error when first dropdown selected value get dataset from database and  bind next dropdown. The following javascript error occure some time please give me solution.

Message: Sys.InvalidOperationException: Type Telerik.Web.UI.Orientation has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update.
Line: 2315
Char: 38
Code: 0
URI: http://www.siteaddress.com/applicationname/ScriptResource.axd?d=-Jgv8ZgSJ3CG7LC-_W3T-i8dO-NBSfGpnshh3hHdbdXPEShm0iLzJ08uDYlLty_UpQB5ZqNuuf0iFmEt0QhErrFU7-CBVDN1TgEVjlDayQg1&t=ffffffffa8e04a08

Message: Sys.ScriptLoadFailedException: The script 'http://www.siteaddress.com/applicationname/ScriptResource.axd?d=6ogW2h6cbt5jB0bxuSFD2y6YXBObbV_hlKI5N2sDkPQ1JWWHXuyOWOe_qu8xQRr-0&t=31ebd8a9' failed to load. Check for:
 Inaccessible path.
 Script errors. (IE) Enable 'Display a notification about every script error' under advanced settings.
 Missing call to Sys.Application.notifyScriptLoaded().
Line: 1266
Char: 13
Code: 0
URI: http://www.siteaddress.com/applicationname/ScriptResource.axd?d=-Jgv8ZgSJ3CG7LC-_W3T-i8dO-NBSfGpnshh3hHdbdXPEShm0iLzJ08uDYlLty_Ug3CD7xGk8j12QpbYiFo4jZAat0BxiTe1yTlTB_8kHd_tFPaHrfquPu1O1B-EYp880&t=ffffffffa8e04a08


Thanksssssss

Shinu
Top achievements
Rank 2
 answered on 15 Jan 2010
1 answer
45 views
Using Radeditor in DNN we frequently experience dragover="true" being automatically inserted into the html, possibly due to dragging images around the page. This causes W3C validation errors.

Does dragover="true" serve a purpose and can we turn it off?

Regards
Adam
Lini
Telerik team
 answered on 15 Jan 2010
1 answer
172 views
                        <asp:RadioButtonList ID="rdoOffer" onclick="alert('<%= rdoOffer.ClientID %>');" 
                         runat="server"> 
                            <asp:ListItem Text="Yes" Value="Y"></asp:ListItem> 
                            <asp:ListItem Text="No" Value="N"></asp:ListItem> 
                        </asp:RadioButtonList>    

When putting RadScriptBlock around RadioButtonList, I get an error msg that there is an invalid character.

This snippet is inside an User Control ascx and the main page has AjaxManager.
2009.3.1210.35

I can use RadScriptBlock around a javascript but how do I get it to work in the onClick of the control?
I don't want to create a js function for each control that I need to use it.   I would like to pass the clientID of the control to the generic function.

Right now I used AutoPostback="true" but the roundtrip cost is 50k compressed and there is a slight delay.
All I wanted to do in OnClick is to make another <div> section visible or hidden based on the choices.
In validation code I check if the controls in <div> is visibile if so apply validation.

Is it possible to use client script to alter the <div>'s visibility and also have the visibility carry back to server side code on the next autopostback?
Iana Tsolova
Telerik team
 answered on 15 Jan 2010
2 answers
147 views
Hi,
I am calling stored procedure with linq.i can bind radgird with these commands

mmsDataContext mms = new mmsDataContext();
RadGrid1.DataSource = mms.SP_WES_groupSelect(P1,P2);
RadGrid1.DataBind();

but i cant bind it with radlist.when i bind it show me "SP_WES_groupSelectResult" value in radlist.i am trying to bind like this.

mmsDataContext mms = new mmsDataContext();
RadListBox1.DataSource = mms.SP_WES_groupSelect(P1,P2);
RadListBox1.DataBind();
Teoman
Top achievements
Rank 1
 answered on 15 Jan 2010
1 answer
185 views
I cant seem to figure out how to force the grid to filter text fields as not case sensitive.  I see that you can specify the Grouping settings like so: <GroupingSettings CaseSensitive="False" />

But is there a way to do this for filtering?  For instance I have a column named "City".  The records though are sporadic,  for instance Atlanta has all three entries, "atlanta", "ATLANTA", and "Atlanta".

If I enter "atlanta" in the filter textbox and select "EqualTo" it ignores the others. 

Is there a way to work around this?
Daniel
Telerik team
 answered on 15 Jan 2010
1 answer
70 views
Hi Telerik team,

I have a requirement , the person in top level can view his/her sub-ordinates appointments.
So in this case a particular time slot may have as many appointments possible.
But in week view we can hardly see the appointments if its more than 2.
Please refer the screen shot in attachment
Can we have a possibility to show 'more...' link in week view as available in Monthly view?

My second query is,
Is it possible to remove the time slot only in weekview and retain in day view?

Regards,
Mike Taylor
Top achievements
Rank 1
 answered on 15 Jan 2010
3 answers
346 views
Hi

I am trying to find a reference to a control in nested radgrid nestedviewtemplate. What is the code to refer to the btnGo control in the nested RadGrid?

thanks

D

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> 
 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head id="Head1" runat="server">  
 
</head> 
<body class="BODY">  
    <form runat="server" id="mainForm" method="post">  
    <telerik:RadScriptManager runat="server" ID="ScriptManager1">  
    </telerik:RadScriptManager> 
    <!-- content start --> 
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" /> 
    <telerik:RadGrid ID="RadGrid1" DataSourceID="SqlDataSource1" runat="server" AutoGenerateColumns="False" 
        AllowSorting="True" AllowMultiRowSelection="False" AllowPaging="True" PageSize="5" 
        GridLines="None" ShowGroupPanel="true">  
        <PagerStyle Mode="NumericPages"></PagerStyle> 
        <MasterTableView DataSourceID="SqlDataSource1" DataKeyNames="EmployeeID" AllowMultiColumnSorting="True">  
            <NestedViewTemplate> 
                <telerik:RadGrid runat="server" ID="nestedgrid"  ShowFooter="true" 
                    AllowSorting="true" EnableLinqExpressions="false">  
                    <MasterTableView ShowHeader="true" AutoGenerateColumns="true" AllowPaging="true" 
                        PageSize="7">  
                        <Columns> 
                            <telerik:GridEditCommandColumn> 
                            </telerik:GridEditCommandColumn> 
                   
                        </Columns> 
                        <EditFormSettings EditFormType="Template">  
                            <FormTemplate> 
                                <asp:Button ID="btngo" runat="server" Text="go" /> 
                            </FormTemplate> 
                        </EditFormSettings> 
                    </MasterTableView> 
                </telerik:RadGrid> 
            </NestedViewTemplate> 
            <Columns> 
                <telerik:GridBoundColumn SortExpression="FirstName" HeaderText="First Name" HeaderButtonType="TextButton" 
                    DataField="FirstName" UniqueName="FirstName">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn SortExpression="LastName" HeaderText="Last Name" HeaderButtonType="TextButton" 
                    DataField="LastName" UniqueName="LastName">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn SortExpression="Title" HeaderText="Title" HeaderButtonType="TextButton" 
                    DataField="Title" UniqueName="Title">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn SortExpression="BirthDate" DataFormatString="{0:MM/dd/yyyy}" 
                    HeaderText="Birth Date" HeaderButtonType="TextButton" DataField="BirthDate" UniqueName="BirthDate">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn SortExpression="City" HeaderText="City" HeaderButtonType="TextButton" 
                    DataField="City" UniqueName="City">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn SortExpression="Country" HeaderText="Country" HeaderButtonType="TextButton" 
                    DataField="Country" UniqueName="Country">  
                </telerik:GridBoundColumn> 
            </Columns> 
        </MasterTableView> 
        <ClientSettings AllowDragToGroup="true" /> 
    </telerik:RadGrid> 
    <asp:SqlDataSource ID="SqlDataSource1" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>" 
        ProviderName="System.Data.SqlClient" SelectCommand="SELECT * FROM Employees" 
        runat="server"></asp:SqlDataSource> 
    <asp:SqlDataSource ID="SqlDataSource2" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>" 
        ProviderName="System.Data.SqlClient"   
        runat="server"></asp:SqlDataSource> 
    <!-- content end --> 
    </form> 
</body> 
</html> 
 
Imports Telerik.Web.UI  
Imports System  
Imports System.Data  
Imports System.Data.SqlClient  
Imports System.Web.UI.WebControls  
Imports System.Configuration  
Partial Class _Default  
    Inherits System.Web.UI.Page  
 
    Dim ConnString As String = ConfigurationManager.ConnectionStrings("NorthwindConnectionString").ConnectionString  
 
 
    Protected Sub RadGrid1_ItemCreated(ByVal sender As Object, ByVal e As GridItemEventArgs) Handles RadGrid1.ItemCreated  
 
        If TypeOf e.Item Is GridNestedViewItem Then  
            Dim rg As RadGrid = e.Item.FindControl("NestedGrid")  
            Dim btngo As Button = rg.MasterTableView.FindControl("btnGo")  
 
            rg.DataSource = myds()  
            rg.DataBind()  
        End If  
 
    End Sub  
    Public Function myds() As dataset  
        Dim conn As SqlConnection = New SqlConnection(ConnString)  
        Dim adapter As SqlDataAdapter = New SqlDataAdapter  
        adapter.SelectCommand = New SqlCommand("SELECT TOP 10 OrderID, ShipName, ShipAddress FROM Orders", conn)  
        Dim myDataSet As DataSet = New DataSet  
 
        conn.Open()  
        Try  
            adapter.Fill(myDataSet, "Orders")  
            adapter.SelectCommand = New SqlCommand("SELECT OrderID, Quantity FROM [Order Details]", conn)  
            adapter.Fill(myDataSet, "OrderDetails")  
        Finally  
            conn.Close()  
        End Try  
        Return myDataSet  
 
    End Function  
      
End Class  
 

Princy
Top achievements
Rank 2
 answered on 15 Jan 2010
1 answer
82 views
I am opening a RadWindow (with RadSplitter - 2 radpanes with 2 different pages.)  by clicking on a RadContextMenu.

oWnd = window.radopen(url,

null);

 

- I open my RadWindow in a nameless window .

I have to open a second level of RadWindow by clicking on a button in the second pane, which occupies the bottom 1/3rd of the page. By default, if I use the RadWindowmanager of my second pane page, the new radwindow opens within the bounds of that pane. When I try to open the new radwindow by using the RadWindowManager of the parent page, the new window does open but my page with the splitter becomes blank.

Can I open the second RadWindow properly outside the bound of the second pane? The page in the second pane has radTab, can I refresh the content of the second level RadWindow when the radPageView is clicked?

Thanks.
Fiko
Telerik team
 answered on 15 Jan 2010
1 answer
131 views
Hi,
How can i display pane header like interasoft web ui pane headers 
look at the attached image,here i'm using interasoft web UI pane
in first pane there is a page which contains RAD Tree and second Pane contains RAD Grid
i Have tried putting a div inside pane as header but its not working because i'm using ContentUrl for the panes

Thanks
Tsvetie
Telerik team
 answered on 15 Jan 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?