Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
177 views
Is it possible to change the currency despite the cuture(only currency). Becouse i have an app that changes the language depending on culture info but i wan`t to keep the same currency.

When i change only the currency it doesn`t work:

CultureInfo currentCulture = new CultureInfo(System.Threading.Thread.CurrentThread.CurrentCulture.LCID);
currentCulture.NumberFormat.CurrencySymbol = "zł";
System.Threading.Thread.CurrentThread.CurrentCulture = currentCulture;
Eyup
Telerik team
 answered on 11 Feb 2013
2 answers
140 views
Hey Guys,

We are facing the problem with the RadComboBox that if the value of the box contains quotes, the value is gone after a postback.
It looks like this is the only character which makes trouble.
Everything else works as expected.

Is this a known issue and any workaround?

Cheers,
Thomas
Thomas Luck
Top achievements
Rank 1
 answered on 11 Feb 2013
1 answer
108 views
Hi,

Is it possible to change the RadNumericTextBox currency symbol through javascript?

Vasil
Telerik team
 answered on 11 Feb 2013
4 answers
146 views
I have the next code:

<telerik:GridTemplateColumn 
                        HeaderText="<%$ Resources:Nervia.Plus.Axon, NUMERO_SERIE %>" 
                        UniqueName="NUMEROSERIE" 
                        AllowFiltering="True"
                        >
                        <ItemTemplate>
                        <%# Eval("Articulos.NUMEROSERIE")%>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <telerik:RadComboBox 
                                ID="rcbNumeroSerie" 
                                runat="server" 
                                Width="130px"
                                DropDownWidth="560px" 
                                ShowMoreResultsBox="True" 
                                EnableVirtualScrolling="True"
                                Filter="Contains">
                                <HeaderTemplate>
                                    <table style="width: 360px" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td style="width: 110px;"> <asp:Label ID="lbl1" runat="server" Text="<%$ Resources:Nervia.Plus.Axon, MARCA %>" Font-Bold="True"></asp:Label></td>
                                            <td style="width: 200px;"> <asp:Label ID="lbl2" runat="server" Text="<%$ Resources:Nervia.Plus.Axon, MODELO %>" Font-Bold="True"></asp:Label></td>
                                            <td style="width: 200px;"> <asp:Label ID="Label2" runat="server" Text="<%$ Resources:Nervia.Plus.Axon, NUMERO_SERIE %>" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                    </table>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <table style="width: 360px" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td style="width: 100px;">
                                                <%# DataBinder.Eval(Container, "Attributes['MARCA']")%>
                                            </td>
                                            <td style="width: 200px;">
                                                <%# DataBinder.Eval(Container, "Attributes['MODELO']")%>
                                            </td>
                                            <td style="width: 200px;">
                                                <%# DataBinder.Eval(Container, "Text")%>
                                            </td>
                                        </tr>
                                    </table>
                                </ItemTemplate>
                            </telerik:RadComboBox>
                        </EditItemTemplate>
                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="140px" />
                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="140px" />
                    </telerik:GridTemplateColumn>

the values of radcombobox it's loaded in the server but when i enter in insert mode and load the newValues, numeroSerie don't show in the array, even newValues["NUMEROSERIE"] = null :S

thanks for your helps and sorry for my english.
Santos
Top achievements
Rank 1
 answered on 11 Feb 2013
1 answer
106 views

I have a timer which refreshes the browser every 30 seconds. If I try to drag a task from Radgrid to RadScheduler, at that point if the timer refreshes the browser the task freezes/getting stuck somewhere. (Please see screenshot). It is disappearing when I hit F5.

How can I fix this issue?

Thanks in advance

      

Boyan Dimitrov
Telerik team
 answered on 11 Feb 2013
1 answer
124 views
I have a legacy asp application that I am converting into a telerik application. The .NET framework has been converted to 4.0. In visual studio I used the Telerik menu option to update the project to a Telerik project (i.e. update the web.config, etc.). On the first page being converted I replaced an asp combobox with a radcombobox then added hard coded radcomboboxlistitems to the combobox in the asp page. When I displaly the page the telerik radcombobox is disabled or appears to be. Next, I added a new page to the project and again added the same radcombobox control with items; however, in this page it worked. Has anyone seen this behavior before? One note, I checked the javascript on the page and nothing appears to be disabling any controls. This is a strange one?

Thanks,


Steve Holdorf
Princy
Top achievements
Rank 2
 answered on 11 Feb 2013
2 answers
171 views
Good day,

  we have a number of pages in a website, that use a Radgrid with custom skinning and column templates. Our issue is that the very first grid database update operation (insert, change, delete) is very slow (in the order of 10 to 15 seconds),
while all the consecutive operations are very fast (in the order of a fraction of a second).

We experience this behavior regardless of the first page that we operate into, and regardless of the consequently opened pages, so there is no relation between the first grid of operation, and the consequent pages that are opened, and their grids,
it's always the first grid database update operation that's slow. We already verified that this is also not PC related. Very different systems behave identically.
Basically, once the application is running and has performed an update operation, the problem goes away, until the application is restarded in Visual studio, and a first database update operation is performed.

Given the spectrum of possible places to look at, to pinpoint the origin of this behavior, we would like to know if anybody has experienced something similar, or has a suggestion on the matter.

Thanks in advance.

archimede
Top achievements
Rank 1
 answered on 11 Feb 2013
1 answer
199 views
Hi,
I'm using the checkbox=true property for the RadComboBox.
Here is the code:

  <telerik:RadComboBox ID="cboApplication" runat="server" 

            CheckBoxes="true" EnableCheckAllItemsCheckBox="true">

            <Localization CheckAllString="All" AllItemsCheckedString="All" ItemsCheckedString="Items Selected" />

        </telerik:RadComboBox>

In code behind I fill in the values and set all items to selected.

My Problem is that after changing the selection (un selecting a few items) and closing the combobox, only the first item is displayed in the combobox.
I would like that all the selected items will be displayed.

Naphtali

Kalina
Telerik team
 answered on 11 Feb 2013
1 answer
350 views
Hi,

We are using RadGrid to render our data in tabular format. There is one DateTime column that is going to show the data in "MMMM dd, yyyy" format (i.e. December 15, 2012). We are trying using GridDateTimeColumn and GridTemplateColumn for the same. But we are not able to fulfill our requirements.

Requirements are :
1. Datetime column should not show "12:00 AM" if it does not have any time information. (should show date part only) (i.e. December 15, 2012)
2. Null or 1/1/1900 date value should be shown as Blank. (i.e. EMPTY)
3. If time part is available, column/cell should have time part visible next to date (i.e. December 15, 2012 05:00 PM)
4. there should be datepicker for filtering on column.

All these should work together.

We have tried following approaches but we are not able to do conditional formatting. We are able to go either way. Can anyone please help on this?


Your quick reply should be really helpful.

<rad:GridDateTimeColumn UniqueName="GridDateTimeColumnEndDate" AllowSorting="true" Visible="True" HeaderText="Ends" DataField="EndDate" SortExpression="EndDate" ReadOnly="true" AutoPostBackOnFilter="true" CurrentFilterFunction="EqualTo" ShowFilterIcon="false" DataType="System.DateTime" DataFormatString="{0:MMMM dd, yyyy}" EnableTimeIndependentFiltering="false" >
      <ItemStyle Width="260px" />
</rad:GridDateTimeColumn>


<rad:GridTemplateColumn UniqueName="EndDate" HeaderText="EndDate" DataField="EndDate" SortExpression="EndDate" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false" DataType="System.DateTime">
 
        <ItemTemplate>
                <asp:Label ID="lblend" runat="server" Text='<%# fixDate(DataBinder.Eval(Container.DataItem,"EndDate")) %>'></asp:Label>
        </ItemTemplate>
 
         <FilterTemplate>
                <rad:RadDatePicker ID="rp" runat="server" Width="100px" SelectedDate='<%# SetEndDate(Container) %>' ClientEvents-OnDateSelected="DateSelected" >
                                <DateInput runat="server" DateFormat="MMMM dd, yyyy" ></DateInput>
                </rad:RadDatePicker>
         </FilterTemplate>
         <ItemStyle Font-Size="10pt" Width="150px" />
</rad:GridTemplateColumn>


Regards,
Maulik
Princy
Top achievements
Rank 2
 answered on 11 Feb 2013
3 answers
103 views
My search is failing me, so I apologize if I've missed this.

What I have is a Grid, with multiple rows, and each row has has various checkboxes, textboxes, and dropdowns in it. The user selects various options and enters data.
(think of an advanced search option screen)

I have this grid working correctly.

They then click a submit button.

I would like to make an ajax request to populate a 2nd grid, right below the 1st grid, so they can see there results.

This 'seems' like it should be easy to do, but I just can't put it together.

Can someone point me in the right direction to a tutorial?

Thanks!
Shinu
Top achievements
Rank 2
 answered on 11 Feb 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?