Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
68 views
Hi,

I have a ASPX page (parent) and a child window (child) which is a popup. When I click on the button on the parent page, the child window takes long time to render.

parent

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" Overlay="false" Skin="WebBlue" OnDataBinding="RadWindowManager1_DataBinding"  >
        <Windows>
           <telerik:RadWindow ID="Search" runat="server" Width="625px" Height="650px" Modal="true" Behaviors="Close,Minimize,Maximize,Move,Pin,Resize"
                Title="Search" NavigateUrl="./SearchDialog.aspx">
           </telerik:RadWindow>
        </Windows>
    </telerik:RadWindowManager>
<asp:ImageButton runat="server" ImageUrl="~/images/Edit.gif" ToolTip="Click on search" TabIndex="2" AlternateText="Click on search" OnClientClick="return showDialog('Search')" />
child

<telerik:RadWindow>
        
<asp:Label ID="SearchLabel" Text="Search:" runat="server"></asp:Label>             
        </telerik:RadWindow>
This code works fine on one server but does not work on another server
I am using Windows Server 2008 R2 as the OS.
Sriram
Top achievements
Rank 1
 answered on 02 May 2013
5 answers
335 views
Hi,

I have 3 radgrids to be exported in one excel file.
Export to excel is ok but I can't find how to remove the "Item" (column I think) on the main dummy grid
Please refer to attached screenshot. Thanks.

Regards,
Jayzle
Jayzle
Top achievements
Rank 1
 answered on 02 May 2013
1 answer
208 views
Hi,
I have to include an item which has a hyperlink in its text in a Rad combo box.
Below is my code sample - 

<telerik:RadComboBox Width="350px" Height="300px" ID="ddlAdditionalItems" runat="server"                                     DataValueField="AddItemId" DataTextField="AddItemDescription" AutoPostBack="false"
        EnableEmbeddedSkins="false" Skin="Custom_Default" OnClientDropDownClosed="radComboOnClientSelectedIndexChanged">
 </telerik:RadComboBox>

Now, In one of the items, the 'AddItemDescription', the text contains href tags, like below --

Additional Products go<a  href="http://www.google.com/search?q=Product" target="_blank">here</a> or <a href="http://www.google.com/search?q=Items" target="_blank">here</a>.

Now, this is being rendered as raw text, with the tags. Is there a way to have this rendered as hyperlinks? Note that the Item list can vary, and same is the case with the position of the item with the tags.

Kevin
Top achievements
Rank 2
 answered on 01 May 2013
4 answers
76 views
Hello,

I am currently using a RadTreeView that loads its child nodes on demand.

When a node is dragged and dropped (using server side code) onto a child node (that was loaded on demand), an Ajax postback occurs and the expanded child nodes, including the dropped node display with no text. The structure and icons appear correctly but the node text no longer displays.

If an additional postback occurs (through another drag and drop or some other action), the text re-appears.

Please advise.


Very Respectfully,
Liz
Liz
Top achievements
Rank 1
 answered on 01 May 2013
6 answers
110 views

This is an easy one I am sure....when I maximize one of the RadWindows on the page, I want to minimize all the others. The problem I am having is the minimizeAll function calls it on all windows, how do I exclude the sender? This is what I am using.

function OnClientCommand(sender, eventArgs)
       {
               var command = eventArgs.get_commandName();
               var oManager = $find("<%=myManager.ClientID %>");
               if (command == 'Maximize')
               {
                   oManager.minimizeAll();
               }//end if
                
               
       }//end function
Michael
Top achievements
Rank 1
 answered on 01 May 2013
3 answers
105 views
Dumb question, but I thought there was a control where the user can enter the data in the input field(s) and then click on add or "+" to get another row of fields, which they fill out, and they can repeat these steps over and over to fill out as many rows as they need for their data.
Is there such a telerik control?
Iana Tsolova
Telerik team
 answered on 01 May 2013
1 answer
66 views
The issue I am having is when the tiled elements will not fit on the screen they cover each other, is there someway to automatically resize the width so that they all fit on the screen?
Niko
Telerik team
 answered on 01 May 2013
1 answer
65 views
I tried exporting a radgrid after filtering, and it export all data, and not filtered data.
It shouldn't work this way, I need to export only data according to filters.

The export method:
 public void ExportToExcel()
        {
            string sCurentData = DateTime.Today.ToShortDateString();
            string filename = "Users_Report_" + sCurentData;

            UsersGrd.ExportSettings.IgnorePaging = true;
            UsersGrd.ExportSettings.ExportOnlyData = true;
            UsersGrd.ExportSettings.OpenInNewWindow = true;

            UsersGrd.MasterTableView.ShowFooter = false;

                UsersGrd.MasterTableView.Columns[8].Visible = false;
                UsersGrd.MasterTableView.Columns[9].Visible = false;
                UsersGrd.MasterTableView.Columns[10].Visible = false;

            UsersGrd.MasterTableView.AllowFilteringByColumn = false;
                UsersGrd.ExportSettings.FileName = filename;
            UsersGrd.MasterTableView.ExportToExcel();
        }

Ascx:
<telerik:RadGrid ID="UsersGrd" AutoGenerateColumns="False" runat="server" PagerStyle-AlwaysVisible="true" PageSize="10" OnNeedDataSource="UsersGrd_NeedDataSource" 
    Skin="Default" ShowStatusBar="True" ShowFooter="True" AllowPaging="True" CellSpacing="0" FooterStyle-CssClass="custom-footer" PagerStyle-CssClass="custom-footer"
    GridLines="Horizontal" Width="1265px" AllowSorting="true"  Style="margin-top:10px; border: 0px;margin-bottom:20px;" OnItemCommand="SubmitCommand" OnItemDataBound="grdUsers_ItemDataBound">


Need data source:
protected void UsersGrd_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
{
[....]
UsersGrd.DataSource = data;
}

What is the problem? Why is not working as it should?
Thanks.
Kostadin
Telerik team
 answered on 01 May 2013
1 answer
36 views
FileExplorer: Chrome: When closing the fileExplorer's window, audio file is still being played

Description:

1. In chrome, choose audio file and open it, the audio file will start playing
2. close the window (clicking on the X mark), while the audio is being played.

This only happens in chrome, because in Explorer the windows media player is being open in a different window.

How can i solve it?
Dobromir
Telerik team
 answered on 01 May 2013
4 answers
286 views
This is a simple example of something I am investigating for use in mail merges.

Telerik suggests using CSS style sheets to stylize the contents of the RadEditor and it works great as expected - in the browser. The issue I am running into is happening when trying to perform a mail merge using the data captured in the RadEditor. The only data captured in the RadEditor is the HTML and obviously doesn't include any styles (Code Snippet 1).

Captured Data 1:
<ol>   
    <li>Item 1</li>   
    <li>Item 2   
        <ol>       
            <li>Sub item a</li>       
            <li>Sub item b       
                <ol>           
                    <li>1</li>           
                    <li>2</li>           
                    <li>3           
                        <ol>               
                            <li>11</li>           
                        </ol>           
                    </li>       
                </ol>       
            </li>   
        </ol>   
    </li>
</ol>

My question is: Is there any setting I can change for the RadEditor to honor the styles for the ordered list displayed in Code Snippet 2 so that the inline styles are saved with the rest of the content?
If there is no setting I can change, how can I go about forcing the injection of these inline styles when the user is entering data into the RadEditor?

Code Snippet 2:
<ol style="list-style-type: decimal;">   
    <li>Item 1</li>   
    <li>Item 2   
        <ol style="list-style-type: lower-alpha;">       
            <li>Sub item a</li>       
            <li>Sub item b       
                <ol style="list-style-type: lower-roman;">           
                    <li>1</li>           
                    <li>2</li>           
                    <li>3           
                        <ol style="list-style-type: lower-roman;">               
                            <li>11</li>           
                        </ol>           
                    </li>       
                </ol>       
            </li>   
        </ol>   
    </li>
</ol>

Thanks,

Kenny

kenny@kennywalter.com
http://kennywalter.com/
Kenneth
Top achievements
Rank 1
 answered on 01 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?