Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
87 views
I am having a problem with a radgrid page that is based off the example code found here: 
http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/nestedviewtemplate/defaultcs.aspx

It uses the same functionality but includes two pageviews that are radcharts.

The radgrid functions just fine with all radchats functioning and all data being displayed up until the 7th page (displaying 5 records per page). On the 34th record and any records after this one when I try to expand a record (in the example above this would be clicking on the persons name) I get the following error:

Line: 16886
Error: Unterminated string constant

Line 16886 is:
}},_dataBind:function(){var c=eval(this._dataSource);


All data is displayed after this error, and I can continue paging though nested records etc. but the nested tabs are un-clickable.

I am pretty sure it is not specific to my data because I have removed several records to insure none of these were causing an error.  I also know what a unterminated string is, but I can't figure out why this is happening.  Is it simply reaching some type of maximum limit set on allowed string length after X number of records?


Maria Ilieva
Telerik team
 answered on 28 Aug 2013
1 answer
118 views
Hi,

Vesion : Q2 2012 SP2
Browser : IE7
OS : XP

We have a link which will open a new radWindow.
Most of the time, the radWindow is open normally which is in the center of the browser.
But, few times, it is miss-align, you can refer to the screen capture attched.
Below are the script we open the radWindow.

 function openWin(xmlName, ID1, ID2) {
            var oWnd = radopen("filename", "RadWindow2");
            oWnd.setSize(980, 580);
            oWnd.SetModal(true);
            oWnd.set_behaviors(Telerik.Web.UI.WindowBehaviors.None);
            oWnd.show();
        }

Do you have any idea why it cause the miss-align?

Thanks,
KyLeow
Marin Bratanov
Telerik team
 answered on 28 Aug 2013
1 answer
39 views
Hi,

I have developed a code block in my application that would allow the user to submit the editform template using the Enter Key.

However during our testing we found that when you hit the Enter key multiple times in a row or if you're holding it down this generates duplicate rows. After racking my brain, thinking maybe it was something that we were doing wrong I found this demo on your website http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/alleditablecolumns/defaultcs.aspx

When I clicked on Add record, entered data, navigated through the fields using the Tab key and hit Enter Key when the submit button was focused the grid indeed populated with duplicate rows.

Has a fix been developed for this? If so where can I find it?

Thank you!
Deyan Enchev
Telerik team
 answered on 28 Aug 2013
3 answers
236 views
Hi there all,

lets get down to business,

so here I am using RadCombobox and as usual i fill the item with data from sharepoint list.

The problem is the DropDownAutoWidth
is not working even though I've set it to "Enabled",

I have RadCombobox using checkboxes and not using checkboxes,
I also have RadCombox which width is specified and one that the width is not specified
with all those radcombobox none of the DropDownAutoWidth
is working, as far as the documentation goes all I need to do is set the DropDownAutoWidth to Enabled

<td class="ms-formbody">
    <telerik:RadComboBox ID="rcbxContinuity" runat="server" AutoPostBack="false" HighlightTemplatedItems="True"
        MarkFirstMatch="true" EmptyMessage="Choose a continuity" Width="175px" Sort="Ascending" DropDownAutoWidth="Enabled">
    </telerik:RadComboBox>
</td>
 
<td class="ms-formbody">
    <telerik:RadComboBox ID="rcbxContinuity" runat="server" CheckBoxes="true" Width="175px"
        Sort="Ascending" EnableCheckAllItemsCheckBox="false" EmptyMessage="Choose continuity"
        DropDownAutoWidth="Enabled">
    </telerik:RadComboBox>
</td>

.ms-formbody
{
    font-family: verdana;
    font-size: 12px;
    vertical-align: top;
    background: #f6f6f6;
    color: #000000 !important;
    border-top: 1px solid #d8d8d8;
    padding: 3px 6px 4px 6px;
}


Help and suggestion will be really appreciated.


Thanks in Advance.
Magdalena
Telerik team
 answered on 28 Aug 2013
1 answer
114 views
hello 

i have the following grid with client databind odata, it's works fine, but the problem is with the datetime fields i can't display the field correctly, its the code 

<telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="true" AllowSorting="true" ShowGroupPanel="true" PageSize="5" AllowPaging="true">
    <MasterTableView ClientDataKeyNames="IdNavegacionenMenus">
      
        <Columns>
            <telerik:GridBoundColumn DataField="IdNavegacionenMenus" UniqueName="ClId" HeaderText="Id Navegacion" DataType="System.Int64"></telerik:GridBoundColumn>                       
            <telerik:GridBoundColumn DataField="FechaNavegacion" UniqueName="ClHora" HeaderText="Fecha suceso" DataType="System.DateTime" ></telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="NombreUsuario" DataType="System.String" UniqueName="Nombre" HeaderText="Nombre"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="OpcionNavegada" DataType="System.String" UniqueName="Opcion" HeaderText="Opcion navegada"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="CodigoUsuario" DataType="System.String" UniqueName="Codigo" HeaderText="Codigo"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="MacEntrada" DataType="System.String" UniqueName="Mac" HeaderText="Mac"></telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
 
    <ClientSettings AllowGroupExpandCollapse="true">
        <DataBinding Location="http://localhost:50155/ODataAuditoria.svc" DataService-Type="OData" ResponseType="JSONP">
            <DataService TableName="NavegacionenMenus" Type="OData" />
        </DataBinding>
    </ClientSettings>
</telerik:RadGrid>

the datetime fields display like "/Date(1377165480000)/"

anybody help me please?
Kostadin
Telerik team
 answered on 28 Aug 2013
10 answers
389 views
Hi,

I have a problem with RadDateTimePicker ASP.NET control.

I would like to have a RadDateTimePicker with DataInput-ReadOnly="true".
Lets suppose initially there a no data selected. Afetr I will select I want to reset it (to empty the DataInput).
How can I do that without some JavaScript code ... othere are some property?

Another problem bellow.

I need the next behaviour:
1. My aplication contains: Domain Tier, ControllersTier, App Logic Tier, Presenters Tier, UI Tier.
I insert PresenterTier for reusing later in another UI the same logic ... For me the UI is just a mapping way between User and App Logic.

2. I am not interested to do any kind of validation on UI side. So my validation are made in presenters. So I need to pass to the server all values (either wrong which the user enters .. I will validate in presenter and I will fire a message).

3. The RadDateTimePicker  when has a wrong data will pass in PostBack null value.  I do not want that.
I am interested to get the wrong value (not NULL) when the user input has introduced into UI (because validation I will make in Presenter)
So i need to deactivate the validation mechanism for RadDateTimePicker ... because the RadDateTimePicker on the client side when somehting is not good with what the user enter then will pass null on postback. This is not good.

Thank you.
Princy
Top achievements
Rank 2
 answered on 28 Aug 2013
2 answers
206 views
Hi,
I created my master page menu using radpanelbar by setting parent child datafileds
Sometimes i am getting an error
These columns don't currently have unique values

This is happening occasionally.So i cant even debug it..I dont knw where to begin to solve this problem.

Any idea..
Thanks in advance....
Princy
Top achievements
Rank 2
 answered on 28 Aug 2013
1 answer
229 views
Hi All,

How to bind SQL data to RadHtmlChart-pie control? All example are just binding static data only, i want to know how to bind sql query result (Name and total) columns in RadHtmlChart-pie?
Marin Bratanov
Telerik team
 answered on 28 Aug 2013
1 answer
119 views

We have a telerik grid with 2 freezed columns . we have used below code to make the column freeze.

<Scrolling AllowScroll="True" SaveScrollPosition="true" UseStaticHeaders="true" FrozenColumnsCount="2" />

 

We have a hyperlink in a column of Grid. And Clicking on that link one popup opens. But when we scroll and click on that link then it shows 3 columns and that popup never opens. and also horizontal scrollbar gets disappear.  Please find the screen shots for the same in attached doc.

Please provide the solution asap.

Princy
Top achievements
Rank 2
 answered on 28 Aug 2013
3 answers
334 views
Where can I find sample database / structure to the example Grid - Attachment Column
Maria Ilieva
Telerik team
 answered on 28 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?