Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
192 views
Hi,

When I click on 'Image Manager' or 'Document Manager', a popup window appears. However, my editor shows this popup with transparent background. Please see attached screen shot. Is there an easy way to make the background white?

Never mind. It was my CSS file overriding radEditor's background css. The issue has been resolved.
Paul
Top achievements
Rank 1
 asked on 23 May 2011
1 answer
79 views
Hi team,

I am using the RadTreeList control.
When I try to expand or collapse the tree by clicking on the '+' or '-' of the tree, it dose a post back.
How can I avoid this and have this happen only on the client side.

Also a second question, I want to to be able to select/deselect all the child nodes by clicking any where on a parent node, again by using client side events.

Thanks in advance.

Tejas
Gimmik
Top achievements
Rank 1
 answered on 23 May 2011
4 answers
61 views
Hello everyone! I faced such problem, i played with Telerik.2011 and my local side all work well, but after i moved test page to server, and go to web adress page loading very very slow, and after i see something like that(in attachment)... and question where is mistake?

here simple test code...

<%@ 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" />
</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="Default">
    </telerik:RadSkinManager>
    <div>
        <telerik:RadDock ID="RadDock1" runat="server" Width="300px">
        <ContentTemplate>
        TEST
        </ContentTemplate>
        </telerik:RadDock>
    </div>
    </form>
</body>
</html>
Serial Killer
Top achievements
Rank 1
 answered on 23 May 2011
1 answer
122 views
Hi,

Is there a way to set the height/width of the scheduler using javascript on page load / resize the scheduler when the window is resized?

Thanks
Gimmik
Top achievements
Rank 1
 answered on 23 May 2011
2 answers
77 views
I have the following grid:
<telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="true" Width="100%" GridLines="None"
    PageSize="25" AllowPaging="True" AutoGenerateColumns="False" AllowAutomaticDeletes="True"
    OnNeedDataSource="RadGrid1_NeedDataSource" OnUpdateCommand="RadGrid1_UpdateCommand"
    OnDeleteCommand="RadGrid1_DeleteCommand">
    <PagerStyle Mode="NextPrevAndNumeric" />
    <MasterTableView Width="100%" CommandItemDisplay="Top"
        HorizontalAlign="NotSet" AutoGenerateColumns="False">
        <Columns>
            <telerik:GridEditCommandColumn ButtonType="ImageButton" />                                                    
            <telerik:GridBoundColumn DataField="Id" UniqueName="Id" SortExpression="Id"
                HeaderText="Id" ReadOnly="true" />
            <telerik:GridBoundColumn DataField="FirstName" UniqueName="FirstName"
                SortExpression="FirstName" HeaderText="First Name" MaxLength="128" />
            <telerik:GridBoundColumn DataField="LastName" UniqueName="LastName"
                SortExpression="LastName" HeaderText="Last Name" MaxLength="128" />
            <telerik:GridBoundColumn DataField="Email" UniqueName="Email"
                SortExpression="Email" HeaderText="Email" MaxLength="128" />
            <telerik:GridBoundColumn DataField="CreateDate" UniqueName="CreateDate"
                SortExpression="CreateDate" HeaderText="Create Date"
                DataFormatString="{0:d}" ReadOnly="true" />
            <telerik:GridCheckBoxColumn DataField="IsApproved" UniqueName="IsApproved"
                SortExpression="IsApproved" HeaderText="Is Approved" />
            <telerik:GridCheckBoxColumn DataField="IsComplete" UniqueName="IsComplete"
                SortExpression="IsComplete" HeaderText="Is Complete" />
            <telerik:GridCheckBoxColumn DataField="IsProcessed" UniqueName="IsProcessed"
                SortExpression="IsProcessed" HeaderText="Is Processed" />
            <telerik:GridButtonColumn Text="Delete" CommandName="Delete" ConfirmText="Are you sure you want to delete this application?" ItemStyle-CssClass="cursor" ButtonType="ImageButton" />
        </Columns>
    </MasterTableView>
    <ClientSettings>
        <Selecting AllowRowSelect="true" />
    </ClientSettings>
</telerik:RadGrid>

and I am trying to access the values to perform an update after the user selects update. What gets created in edit mode for the columns above, and how do I access them?

I tried the following, but the items are null:

protected void RadGrid1_UpdateCommand(object source, GridCommandEventArgs e)
{
    var item = (GridEditFormItem)e.Item;
    var firstName = e.Item.FindControl("TextBox1") as TextBox;
    var lastName = e.Item.FindControl("TextBox2") as TextBox;
    var email = e.Item.FindControl("TextBox3") as TextBox;
    var isApproved = e.Item.FindControl("CheckBox1") as CheckBox;
    var IsComplete = e.Item.FindControl("CheckBox2") as CheckBox;
    var IsProcessed = e.Item.FindControl("CheckBox3") as CheckBox;


Atlas
Top achievements
Rank 1
 answered on 23 May 2011
1 answer
72 views
Now listbox must exist some value,so if we want it is null,we can't reach it.  Does someone can tell me how to keep the default value blank? the listbox is link with some data table and data table have no blank value.
Kate
Telerik team
 answered on 23 May 2011
2 answers
77 views
As far as I can tell, the default behavior is to require clicking on the expand/contract area, the one with the plus or triangle icon. I think this is called the "node image".

I see in the online documentation for RAD Ajax that the topics will expand even if you click on the node text. (actual behavior, not covered in the Help topic itself)

Is there a property of the control that enables this behavior? The reason I ask is that many users instinctively click on the text, and of course the icons are quite small as a mouse target.

I have played with Ajax code behind expansion on clicking of the node, but this seems like overkill.

And I don't know enough about client-side code to script that behavior.

Tomica
Top achievements
Rank 2
 answered on 23 May 2011
4 answers
386 views
Why this wont work? any workaround?

Thanks
JL

document.getElementById('<%= rdpDataInicioContacto.ClientID %>').style.visibility = 'hidden';

OR

var dpi = document.getElementById('<%= rdpDataInicioContacto.ClientID %>');
var dpf = document.getElementById('<%= rdpDataFimContacto.ClientID %>');
dpi.style.display = "none";
dpf.style.display = "none";
Joao
Top achievements
Rank 2
 answered on 23 May 2011
8 answers
129 views
I have a page with many images. There are scroll bars on the side because there are so many images. So if you are scrolled down to the bottom and hover over a image, the radtooltip causes the page to scroll back up to the top in firefox. it works fine in ie.
Matt
Top achievements
Rank 1
 answered on 23 May 2011
11 answers
142 views
Hi, i have a treenode that is connected to to a SQL datasource and i am adding a search capability to the tree that when a user selects the PK of that node the tree loaded will be expanded to point at that node that owns that PK.

How can this be done?

Thanks!
Bryan
Top achievements
Rank 1
 answered on 23 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?