Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
720 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
106 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
63 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
209 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
129 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
9 answers
318 views

I am handling opening file by myself in browser, but this empty, small preview window also opens when file is double-clicked.

how to disable, hide it or close it?   I don't want to disable fileopen event though.

thank you

Vessy
Telerik team
 answered on 20 Dec 2016
13 answers
397 views
Hello, 

I am using this method to save a local PDF from a radeditor when a form is submitted:  http://blogs.telerik.com/blogs/posts/08-12-08/how-to-export-grid-to-pdf-file-and-show-the-result-using-the-window.aspx 

But this sends the PDF to the client as well. 

How can I save a PDF to the server without sending a copy to the client? 



Ianko
Telerik team
 answered on 20 Dec 2016
5 answers
166 views

Hi, I got confused with all the threads I've read and I wasn't able to find an answer to my problem.

I have a RadGrid bound to RadClientDataSource. I'm using ClientItemTemplate to format my data in a single cell and my column does not have a header. 

So each data item occupies a single cell per row.

I want to know how I can group/ungroup the grid using a checkbox.

I was able to group by declaring the grouping in the grid but I want to achieve this using the checkbox.

 

One of the data field in the cell is a date, I want to sort my grid based on this field in a descending order.

How can I do it?

ps. type is string representing the name of the typeid.

<telerik:RadClientDataSource ID="AlarmClientDataSource" runat="server" AutoSync="True">
    <ClientEvents OnDataParse="AlarmClientDataSource_OnDataParse" OnChange="AlarmClientDataSource_OnChange" />
    <SortExpressions>
        <telerik:ClientDataSourceSortExpression FieldName="Created" SortOrder="Desc" />
    </SortExpressions>
    <Schema DataName="Result" ResponseType="JSON" ErrorsName="ErrorMessage">
        <Model ID="ID">
            <telerik:ClientDataSourceModelField FieldName="ID" DataType="String" Nullable="true" Editable="False" />
            <telerik:ClientDataSourceModelField FieldName="TypeID" DataType="String" Nullable="false" Editable="False" />
            <telerik:ClientDataSourceModelField FieldName="Created" DataType="Date" />
        </Model>
    </Schema>
</telerik:RadClientDataSource>
<telerik:RadCheckBox ID="AlarmGroupCheckBox" runat="server" Text="Group Alarms By Type" Width="100%" RenderMode="Classic"
            AutoPostBack="False" OnClientCheckedChanged="AlarmGroupCheckBox_OnClientCheckedChanged">
        </telerik:RadCheckBox>
        <telerik:RadGrid ID="AlarmGrid" runat="server" ClientDataSourceID="AlarmClientDataSource" Width="100%"
            AutoGenerateColumns="False" RenderMode="Lightweight" Skin="Material" CssClass="noWrapRadGrid">
            <ClientSettings AllowGroupExpandCollapse="true">
                <Selecting CellSelectionMode="SingleCell"></Selecting>
                <ClientEvents OnCellSelected="AlarmGrid_CellSelected" OnCellSelecting="AlarmGrid_CellSelecting" OnGridCreated="gridCreated"></ClientEvents>
            </ClientSettings>
            <SortingSettings SortedBackColor="#FFF6D6" EnableSkinSortStyles="false"></SortingSettings>
            <MasterTableView ShowHeader="False" AllowNaturalSort="True">
                <%--<SortExpressions>
                      <telerik:GridSortExpression FieldName="Created" SortOrder="Descending" />
                </SortExpressions>--%>
                <GroupByExpressions>
                    <telerik:GridGroupByExpression>
                        <SelectFields>
                            <telerik:GridGroupByField FieldAlias="Type" FieldName="type"></telerik:GridGroupByField>
                        </SelectFields>
                        <GroupByFields>
                            <telerik:GridGroupByField FieldName="type" />
                        </GroupByFields>
                    </telerik:GridGroupByExpression>
                </GroupByExpressions>
                <Columns>
                    <telerik:GridTemplateColumn UniqueName="Alarms">
                        <ClientItemTemplate>  
                            <table>
                                <tr>
                                    <td>
                                        <div class="alarm">
                                            <div class="alarm-wrapper">
                                                <div style="color:red; font-weight:bold">Alarm: #: ID #</div>
                                                <dl class="alarm-list-details">
                                                    <dt class="name">#= fecha.format(Created, 'YYYY-MM-DD hh:mm:ss A') #</dt>
                                                </dl>
                                            </div>                     
                                        </div>
                                    </td>
                                </tr>
                            </table>             
                        </ClientItemTemplate>
                    </telerik:GridTemplateColumn>             
                </Columns>
            </MasterTableView>
            <GroupingSettings ShowUnGroupButton="true" />
        </telerik:RadGrid>
    </ItemTemplate>
</telerik:RadPanelItem>
Marin
Telerik team
 answered on 20 Dec 2016
1 answer
309 views

Good day Telerik Community,

I'm starting at Telerik and I need help with Custom Skins and web resources for showing Icons.

I have made my custom Skin that is the same as the Old Forest Skin One, it's all good with my DLL until I see Icons ("Edit","Delete","Ok","Cancel", etc.). This Icons are not showing (Html broken Image shown and Alt shown), I want to know how to call the Image from the DLL web resource and not through the File itself (for example: ~/Image/Edit.gif, is what I'm doing now but I want to call it from the Web Resource to keep independance of the Skin).

I hope I'm clear with my trouble I am having,

I hope you can help me Solve it :)...

Thanks for Reading,

Bozhidar
Telerik team
 answered on 20 Dec 2016
3 answers
143 views

Hi all,

So im having a problem with de radcombobox, i have a combobox getting values from the database, no problem there, the problem starts when i selecta a option, and then is i select the combobox, and no value is selected, and i press autside de combobox to get out of the selection the box loses the value previously selected.

 

Does anybody ave any ideas?

 

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 19 Dec 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?