Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
121 views

Hi

im using RadGrid with  AllowScroll="True" UseStaticHeaders="True".

also, TableLayout="Fixed" and i not using ItemStyle-Width.

when i got scrolling the header is not aligment with the data. atteched screenshots

reproduce on 

2016.3.1027.40 and 2013.3.1114 versions

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 21 Dec 2016
3 answers
413 views
I have a Kendo grid to this div
<div id="grid"></div>

Then I have a custom popup template like below...

<script type="text/x-kendo-template" id="myUpdateTemplate"><div id="tempCode">// here my template code</div></script>

In my script I have grid code and custom validation code

<script>      $(document).ready(function () {
 
     var grid = $("#grid").kendoGrid({// my grid code in here});
 
     var val = $("#grid").kendoValidator({
     // my custom validation rules and messages are here
     }).data("kendoValidator");
 
     }); <script>

My question is how I bind the validation with my update popup.
Here is ways that I try to do that : I add grid id to validation object....

var val = $("#grid").kendoValidator({
 
 
// my custom validation rules and messages are here
 
 
 }).data("kendoValidator");

Not working .....

Then I add template id to grid object ..

var val = $("#myUpdateTemplate").kendoValidator({
 
 
// my custom validation rules and messages are here
 
 
 }).data("kendoValidator");

Not working ...
Then I add a inside div id to validation object..

var val = $("#tempCode").kendoValidator({
 
 
// my custom validation rules and messages are here
 
 
 }).data("kendoValidator");

Not working.....
So I am asking can we add 
kendoValidator()
 object to custom grid update popup ??

Marin
Telerik team
 answered on 21 Dec 2016
3 answers
515 views

Hello, Im using Radcombo with checkboxes. When selecting, items are shown in order i checked them. After postback they are sorted in ascending order.

I checked C, B, A and A, B, C is shown. I need to preserve order i checked.

I didn't find a property to prevent this like (SortCheckedItems='false'). Is there any way how to achieve this?

Thanks

Ivan Danchev
Telerik team
 answered on 21 Dec 2016
1 answer
3.0K+ views

When the telerik button control is pressed page gets refreshed and erases all the data in the text boxes in the same page. How to Avoid Refereshing the page....

Tried below things did not work:

1. Upgraded to .NET Framework 4.0 to 4.5.2
2. Upgraded telerik from 2014.3.1024.40 to 2016.1.225.45

Bozhidar
Telerik team
 answered on 21 Dec 2016
17 answers
617 views

I have a diagram which is built based upon a couple of data objects in memory.  I need to basically have a title within the shape and then a description in a different font.

 Because the data objects are memory resident, I am building the diagram in code behind.

 

Any suggestions?

Bhavya
Top achievements
Rank 1
 answered on 21 Dec 2016
4 answers
835 views

Hello Telerik team,

I have a weird problem with the datepickers on the production site.

Since I migrated the Telerik.Web.UI.DLL, Telerik.Web.UI.Skins.DLL and Telerik.Web.Design.DLL from 2014.3.1002.40 to 2016.1.322.40 the popups of my datepicker, datetimepicker, Timepicker and MonthYearpicker don't work anymore on my costumers website. The page flickers somewhat when clicking the control and the horizontal scrollbars appears shortly at the bottom of the browsers window but that's it. In my own Visual Studio environment all's working well. If I migrate back to the previous DLL's it's working again.

I can't find out where the problem lies, I've checked everything (I think). Do you have any clue?

Many thanks,

Geert Jansen

Miguel
Top achievements
Rank 1
 answered on 20 Dec 2016
1 answer
137 views
I have a RadMenu for our application navigation, with css styles to show what item you are on for any given page. This works perfectly fine until I am on a page with a RadGrid included. If I set  EnableEmbeddedBaseStylesheet="false"  then the RadMenu shows up fine, but the RadGrid looks HORRIBLE. How can I have the RadMenu and RadGrid both show up as they should?
Pavlina
Telerik team
 answered on 20 Dec 2016
1 answer
108 views

For Better understaning my problem go through the Image I have attached.

scenario is that I have two values in rad combo box 1 setting in Value field and 1 in Test Field and the 3rd one I have show in another label depending on selected value. 

Means if I have 3 users and total marks 

StudendId - Name - Total Marks

     1          -   Studend1 - 50

     2          -   Studend2 - 60

     3          -   Studend3 - 70

Now I have show 70 in a separate label if I select Student3 to do this as it is only single value I don't want to make any round trip to server. Please help.

 

Ivan Danchev
Telerik team
 answered on 20 Dec 2016
3 answers
244 views
I like the way the left hand nav operates on the Telerik Demo pages (E.g. http://demos.telerik.com/aspnet-ajax/label/overview/defaultcs.aspx). It looks like its built with a SearchBox at the top, a ToggleButton to switch between the currently selected Control and the 'All Controls' menu. Is there a source code example of this anywhere? I like the way the menu slides left and right based on the Toggle Button and wanted to know how this was achieved.
Vessy
Telerik team
 answered on 20 Dec 2016
1 answer
165 views

A couple of weeks ago, there was an error of an invalid json primitive. From reading about it, it's basically that the json is improperly setup. The error log below seems to trace that to the Rad date picker. However, the only client scripts I am using for that control is resizing it and focusing on the input box. I do not think that would be the problem.  What strange is that there is more than 25 errors with this error that happened within a minute from the same IP Address. Could this be a bot or something else?

Error:   Invalid JSON primitive: ovAA
Stack Trace:   at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializePrimitiveObject() at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth) at System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer) at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit) at Telerik.Web.UI.RadWebControl.LoadPostData(String postDataKey, NameValueCollection postCollection) at Telerik.Web.UI.RadDatePicker.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Vasil
Telerik team
 answered on 20 Dec 2016
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?