Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
124 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
84 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
70 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
63 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
314 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
2 answers
1.1K+ views
How do you set the Z-Index of a RadWindow or what is the Z-Index so that it is behind another element.?

Michael
Michael
Top achievements
Rank 1
 answered on 01 May 2013
5 answers
145 views
Hello Telerik team,

I have been struggling with one issue, how to declaratively localize PagerTextFormat through App_GlobalResources custom file. I have created Application.resx file from which I want to add text to PagerTextFormat.

Here is the current definition inside of MasterTableView, which works normally:
<PagerStyle Mode="NextPrevAndNumeric" PagerTextFormat="{4}Celkový počet záznamov: <b>{5}</b>" />
In English it means: Total records: 18

Now, I want to make it multilingual, so I tried to replace text with variable from my .resx file, something like this:
<PagerStyle Mode="NextPrevAndNumeric" ShowPagerText="true" PagerTextFormat="{4}<%$ Resources: Application, String1 %>{5}" />

The problem is that Radgrid doesn't show my text from variable String1, instead of full text, it shows just number 18.

Please help me to solve this issue. I don't want to use codebehind solution...

Thank you.

Best regards

Vasssek
Eyup
Telerik team
 answered on 01 May 2013
1 answer
134 views
hi all,

som im trying to do a grid view with hierarchical details, but having problems if i connect directlyu to DB no prob using sqldatasource, trhe problem begins when i do with a objectadatasource, i have exeptions and i doesnt work whant can i be doing wrong?
Martin
Telerik team
 answered on 01 May 2013
1 answer
93 views
Hi
After checking nodes I need to update a Grid. I do this by handeling the EntryAdded and EntryRemoved events. After handling those events, I call Rebind() on the grid. The problem is that when I am using "CheckChildNodes", the Rebind on the grid only fires the first time EntryAdded event is handled. After that, Rebind() is ignored.
How can I trigger the Rebind() event after all entries are added to the DropDownTree? All my code is serverside.

- Thorgeir
Peter Filipov
Telerik team
 answered on 01 May 2013
1 answer
166 views
Hi,

I have created a RadCombo control and binded some values to it. I want to add filter to that combobox and applied the filter value using Filter="Contains" property as seen in the code below. When I expect the values to be filtered, it does not. Please find the screenshot attached. 

btw, I have referenced the script resource assembly i.e. axd file in the web.config (included) and is there anything wrong in that file. 
Am I missing anything ? 

  
<form id="form1" runat="server">
   <div>
        
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1">
          
    </telerik:RadScriptManager>
    <table>
       <tr>
           <td><telerik:RadComboBox ID="RadComboBox1" runat="server" Width="186px"  AutoPostBack="true"  EnableLoadOnDemand = "true" Filter="Contains" OnSelectedIndexChanged="RadComboBox1_SelectedIndexChanged" Label="Country:" /></td>
           <td><telerik:RadComboBox ID="RadComboBox2" runat="server" Width="186px" AllowCustomText="true" Filter="Contains" Label="Province:" OnSelectedIndexChanged="RadComboBox2_SelectedIndexChanged" /></td>
       </tr>
        <tr>
           <td>Country : <asp:Label ID="lblCountry" runat="server" Text=""></asp:Label> </td>
           <td>Province :<asp:Label ID="lblProvince" runat="server" Text=""></asp:Label></td>
       </tr>
    </table>
     <asp:XmlDataSource runat="server" id="XmlDataSource1" XPath="Countries"
           DataFile="~/App_Data/CountryRegionMapping.xml"/>
   </div>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadComboBox1" >
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadComboBox2" />
                </UpdatedControls>
            </telerik:AjaxSetting>           
        </AjaxSettings>        
       </telerik:RadAjaxManager>
       <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />
   </form>
<configuration>
    <system.web>
        <compilation debug="true" targetFramework="4.0" />
      <httpHandlers>
        <remove verb="*" path="*.asmx" />
        <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
      </httpHandlers>
      <httpModules>
        <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      </httpModules>
    </system.web>
    
   
</configuration>
Plamen
Telerik team
 answered on 01 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?