Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
145 views
Hello,

it 'll be great if telerik can create a component , to export or update a web app by ftp

We click right on the file and the context menu show export or update on the web server.

Same for the bin , and possibilites on the web server to get a telerik dll on download.

thanks
Olivier,
Slav
Telerik team
 answered on 24 Mar 2014
1 answer
175 views
I have an issue pasting data from Word or Excel inside the radEditor control when using IE8.
I was able to reproduce the issue on the demo page: ​http://demos.telerik.com/aspnet-ajax/editor/examples/cleaningwordformatting/defaultcs.aspx

I erased the contents of the radeditor (ctrl-A Del), while staying in design view.
Paste a chunk of Excel or tabular Word data inside the radEditor (still in design view).
Problem 1: At first, I thought it didn't paste any data, but it seems the data is pasted after a lot of top whitespace, so you have to scroll down to see it.
Problem 2: Switch to HTML view (not noticing any HTML tags to justify the whitespace), and back to design view. Now the data is placed at the top of the editor, but it seems the cells of the original tabular data are expanded.

My browser is IE8.0 on Windows XP (but same issue happens on Windows 7 according to our client )
Ianko
Telerik team
 answered on 24 Mar 2014
1 answer
115 views
Hi.
How to have filtering avoid cases? I dont want to match cases on filtering.
Princy
Top achievements
Rank 2
 answered on 24 Mar 2014
1 answer
60 views
Hi,

i am using sharepoint foundation 2010,and trying to use sharepoint .
--my site uses telerik control but in that page i am not having single telerik control,i tried to added the register directive in page,
--but while modifying webpart i am getting telerik error.
--also attched screenshot
Thanks
Slav
Telerik team
 answered on 24 Mar 2014
3 answers
161 views
I am very green with using the Telerik Controls and AJAX as a whole.

I am taking over coding a Project that was first developed with Visual Studio 2003, .NET 1.1 and Rad Controls.

I am now trying to upgrade the whole Project to Visual Studio 2010, .NET 4.5 and the Latest Telerik Web UI Controls (2014.1 225).

Everything seems to be working ok now but I have this error in IE8

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; InfoPath.3)
Timestamp: Mon, 17 Mar 2014 12:05:26 UTC


Message: 'length' is null or not an object
Line: 1982
Char: 1
Code: 0
URI: http://localhost/PolsDev/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=EmployeeDetails1_ctlAjax_ScriptManager0_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3ac9cbdec3-c810-4e87-846c-fb25a7c08002%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2013.3.1324.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a597c6a37-3447-4509-ba46-0faaa25cf6f9%3a16e4e7cd%3aed16cbdc%3af7645509%3a88144a7a%3a24ee1bba%3af46195d3%3a2003d0b8%3a1e771326%3aaa288e2d.

The page seems to load but at the bottom is this error.

Any help is appreciated.


























Angel Petrov
Telerik team
 answered on 24 Mar 2014
3 answers
805 views

What I am trying to do is set the color of the inside of the radwindow.  The skin I have set as Web20, but for what resides on the inside of the radwindow i want the color to the antiqueWhite.  I have tried applying a css style but it does not take even if I put important.

<telerik:RadWindowManager ID="rwManager" runat="server" CenterIfModal="true" Modal="true" Animation="FlyIn" Behaviors="Close" Skin="Web20" VisibleStatusbar="false" >
                <Windows>
 
                    <telerik:RadWindow ID="rwdelete" runat="server" NavigateUrl="~/MAC/Delete.aspx" Width="600px" Height="300px" ShowContentDuringLoad="false" CssClass="rwDelete"></telerik:RadWindow>
 
                    <telerik:RadWindow ID="rwChange" runat="server" NavigateUrl="~/MAC/Change.aspx" Width="800px" Height="600px" ShowContentDuringLoad="false"></telerik:RadWindow>
                    <telerik:RadWindow ID="rwNew" runat="server" NavigateUrl="~/MAC/NewUser.aspx"></telerik:RadWindow>
                </Windows>
            </telerik:RadWindowManager>
 
 
.rwDelete {
    background-color:antiquewhite !important;
}


I applied to the div that sits on the inside of the window and this works but it does not fill the whole inside of the radwindow.














Princy
Top achievements
Rank 2
 answered on 24 Mar 2014
1 answer
322 views
I have two RadDateTimePickers and I want to set the value of one of the pickers equal to the other RadDateTimePicker any time the user changes the date (either by typing or using the calendar popup.   I was looking for an example of how do this but cannot figure it out.

Here is what I have...

<tr>
<td>
<asp:Label ID="Label2" runat="server" Text="Start Time:"></asp:Label>
</td>
<td>
<telerik:RadDateTimePicker ID="dtStart" runat="server" Width="200px">
<Calendar>
<ClientEvents OnDateClick="StartDateClick" />

</Calendar>
</telerik:RadDateTimePicker>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" Visible="true" ErrorMessage="Start Time is required." Display="Dynamic" Text="*" ControlToValidate="dtStart"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label3" runat="server" Text="End Time:"></asp:Label>
</td>
<td>
<telerik:RadDateTimePicker ID="dtEnd" runat="server" Width="200px"></telerik:RadDateTimePicker>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" Visible="true" ErrorMessage="End Time is required." Display="Dynamic" Text="*" ControlToValidate="dtEnd"></asp:RequiredFieldValidator>
<asp:CustomValidator ID="cvDateRange" runat="server" Visible="true" Text="*" ErrorMessage="Events cannot span multiple days. Starting and Ending dates must be the same." OnServerValidate="ServerValidation"></asp:CustomValidator>
</td>
</tr>

​ function StartDateClick(sender, eventArgs) {
                   var day = sender.get_selectedDate();
                   var endDate = $find("<%= dtEnd.ClientID %>");
                    endDate.set_selectedDate(day);
}
Princy
Top achievements
Rank 2
 answered on 24 Mar 2014
4 answers
276 views
I have browsed over similar posts, but cannot find a solution.  Here is my request:

Simple Part
I have a client login page
I have a textbox for a username and one for password
In the username the .text value is "Enter your 8 digit Account #"
In the password the .text value is "Enter your Password"

Dificult Part
When the user gives focus to the password textbox I want the .text="" and the .textmode="password"

This is giving me fits.

The control has the property of EmptyMessage which is nice, it would be nice if that would display even if the Textmode was set to password.  I understand not allowing the password to be compromised, but this is a diferent situation being a login screen.

Any help would be appreciated!

John
nissim
Top achievements
Rank 1
 answered on 24 Mar 2014
4 answers
337 views
hello friends,

is there any way to increase the size of the footer text for the same 
do not break the line? Something similar to colspan attribute of html ... 

Thank you!

Code:

<telerik:RadGrid ID="rgTeste" runat="server" AutoGenerateColumns="false" ShowFooter="true"
        AllowPaging="true" PageSize="10" AllowSorting="true" AllowFilteringByColumn="False"
        EnableTheming="false" Width="99.7%" OnNeedDataSource="rgTeste_NeedDataSource" 
        OnSelectedIndexChanged="rgPedidosPessoa_SelectedIndexChanged" OnItemDataBound="rgTeste_ItemDataBound">
        <ClientSettings AllowGroupExpandCollapse="false" ReorderColumnsOnClient="false" AllowDragToGroup="false"
                        AllowColumnsReorder="false" EnablePostBackOnRowClick="true"  >
            <Selecting AllowRowSelect="true" />

            <ClientEvents OnRowContextMenu="RowContextMenuRgPedidosPessoa" />
        </ClientSettings>
        <MasterTableView AutoGenerateColumns="false" NoMasterRecordsText="Sem informações."
            Width="100%" TableLayout="Fixed" DataKeyNames="codigoPessoa,nome">
            <Columns>                  
               <telerik:GridBoundColumn DataField="quantidade" HeaderText="Qtde" HeaderStyle-Width="6%" Aggregate="Sum" 
               FooterText="Total: " HeaderTooltip="Quantidade">//                    
               </telerik:GridBoundColumn>
               <telerik:GridBoundColumn DataField="adress" HeaderText="Código SG." HeaderStyle-Width="10%" HeaderTooltip="Código sistema gestão"/>               
               <telerik:GridBoundColumn DataField="total" HeaderText="Total" HeaderStyle-Width="10%" DataFormatString="{0:N}" Aggregate="Sum" 
               FooterAggregateFormatString="Total: {0:N}" FooterStyle-Width="400px"/>//                                                            
            </Columns>                                    
        </MasterTableView>        
</telerik:RadGrid>
Viktor Tachev
Telerik team
 answered on 24 Mar 2014
1 answer
70 views
I have a RadGrid with a Details Table that is using a RadComboBox in the FilterTemplate.  The RadComboBox get populated correctly and it works correctly filtering one Details Table.  

<telerik:GridTemplateColumn HeaderText="State" SortExpression="State_cd" UniqueName="State_cd" ShowFilterIcon="True"
     DataField="State_cd" CurrentFilterFunction="EqualTo" AutoPostBackOnFilter="True" >
    <ItemTemplate>
        <asp:Label runat="server" ID="lblState" Text='<%# Eval("State_cd") %>'></asp:Label>
    </ItemTemplate>
 
    <FilterTemplate>
        <telerik:RadComboBox runat="server" ID="rcbState" DataTextField="State_cd" DataValueField="State_cd" AppendDataBoundItems="true"
            RenderingMode="Simple" EnableEmbeddedSkins="False" Skin="2015"
            SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("State_cd").CurrentFilterValue %>'
            OnClientSelectedIndexChanged="State_Changed" OnInit="rcbState_Init">
            <Items>
                <telerik:RadComboBoxItem Text="All" />
            </Items>
        </telerik:RadComboBox>
        <telerik:RadScriptBlock ID="RadScriptBlock2" runat="server">
            <script type="text/javascript">
                function State_Changed(sender, args) {
                    var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
                    var strState = args.get_item().get_value();
                    tableView.filter("State_cd", strState, "EqualTo");
                }
            </script>
        </telerik:RadScriptBlock>
    </FilterTemplate>                   
</telerik:GridTemplateColumn>
 

But as soon as I set that one filter and go to expand a different Details Table, I'm getting an error.

Selection out of range
Parameter name: value 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.ArgumentOutOfRangeException: Selection out of range
Parameter name: value

I'm going to guess that is because I am attempting to populate the RadComboBox uniquely for each Details Table so that it only contains values in the data source for that Details Table.  Is what I'm trying to achieve possible?  Or does the datasource for the RadComboBox  filter need to be the same in all the Details Tables.
Eyup
Telerik team
 answered on 24 Mar 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?