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

Sometimes i want to fit quite a few Column Series into the chart, so eventually they are becoming crowded.

Is it possible to use fixed width for series, but enable scrolling?

Vessy
Telerik team
 answered on 03 Nov 2017
1 answer
136 views

I am trying to implement the export to pdf from radscheduler.  In works fine on my local and when I publish to the demo site if I am in HTTP it works fine but if I go to HTTPS it gives the following error.  App logs and server event logs are not giving any more information:

Server Error in '/' Application.

An existing connection was forcibly closed by the remote host
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.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:

[SocketException (0x2746): An existing connection was forcibly closed by the remote host]
System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) +249

[IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.]
   System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) +8442161
System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count) +57
System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) +243
   System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) +470
System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) +8572686
   System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) +230
System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) +645
   System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) +9
System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) +87
   System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) +1467
   System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) +84
System.Net.ConnectStream.WriteHeaders(Boolean async) +816

[WebException: The underlying connection was closed: An unexpected error occurred on a send.]
   System.Net.HttpWebRequest.GetResponse() +8442708
Telerik.Web.UI.Scheduler.SchedulerExporter.GetStyleSheet(String url) +120
Telerik.Web.UI.Scheduler.SchedulerExporter.GetStyleSheetFor(String controlName, Type controlType, Page page, String pathFormatString, String defaultPathFormatString) +318
Telerik.Web.UI.Scheduler.SchedulerExporter.GetStyleSheets(Page page) +99
Telerik.Web.UI.Scheduler.SchedulerExporter.RenderControl(Page page) +695
   Telerik.Web.UI.Scheduler.SchedulerExporter.PdfExportRenderForm(HtmlTextWriter nullWriter, Control form) +154
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +131
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +151
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +49
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +150
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +131
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +150
Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page) +1040
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +131
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +150
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5363

Peter Milchev
Telerik team
 answered on 02 Nov 2017
8 answers
1.4K+ views

Is it possible to show a sort icon on columns when the grid initially loads even though the grid has not been sorted yet. I want to show   sort icons in all columns at first time.Please help

Tiju
David
Top achievements
Rank 1
 answered on 02 Nov 2017
0 answers
82 views

Hi,

 

In my code after ajax call i have to show dynamic error message thats why i am adding "riError" class.

 

 $("#VersionTxt").addClass("riError");

Its successfully added to input text box. but when i hover my mouse on this textbox then red color of textbox and tool tip got removed and some "riEnabled" class append dynamically.

 

Please provide me the solution and how to show dynamuic error message.

DownTown
Top achievements
Rank 1
 asked on 02 Nov 2017
2 answers
82 views

Is there a way to access/set the oncheckchanged event in an autogenerated checkbox column and have it post back?

 

 

Joel
Top achievements
Rank 2
 answered on 02 Nov 2017
1 answer
251 views

I have the following RadProgressArea declaration:

<telerik:RadProgressArea ID="rpaProcessFile"
runat="server"
Width="100%"
Skin="Office2010Blue"
displaycancelbutton="False"
progressindicators="FilesCountBar, FilesCount, FilesCountPercent, CurrentFileName, SelectedFilesCount "
/>

 

In codebehind, I am trying to set the SecondaryTotals label using:

rpaProcessFile.Localization.TotalFiles = "Total Approved Bonuses:"

However, as you can see in the attached screenshot, it is still showing the default "Total Files:"

 

Rumen
Telerik team
 answered on 02 Nov 2017
4 answers
433 views
Hi,
I have a combobox, that when changed, should change the selected value of 2 other comboboxed based on the selection.

<telerik:RadComboBox ID="RadComboBox1" runat="server"  DataTextField="Name" DataValueField="ActTypeNo"                                              
    OnClientSelectedIndexChanged="OnClientSelectedIndexChanged"  > 
<ItemTemplate> 
    <table> 
       <tr> 
         <td style="width: 200px;"
                 <asp:Label ID="ChaufName" runat="server" EnableViewState="false" Text='<%#DataBinder.Eval(Container.DataItem, "Name")%>'></asp:Label> 
         </td> 
       <td style="display:none;"
           <asp:Label ID="ChaufGr1" runat="server" EnableViewState="false" Text='<%#DataBinder.Eval(Container.DataItem, "Gr1")%>'></asp:Label> 
           </td> 
       <td style="display:none;"
           <asp:Label ID="ChaufGr2" runat="server" EnableViewState="false" Text='<%#DataBinder.Eval(Container.DataItem, "Gr2")%>'></asp:Label> 
           </td> 
       </tr> 
</table> 
</ItemTemplate> 
 </telerik:RadComboBox> 

My goal is to get the values of "ChaufGr1" and "ChaufGr2" in a javascript function:
function OnClientSelectedIndexChanged(sender, args) { 
                //get values 
               
                //set selected value of other combos - i know how to do this 
            } 

I have searched the documentation and forums, but i couldn't find anything exactly like this. 
Can you point me in the right direction?
Aruldoss
Top achievements
Rank 1
 answered on 02 Nov 2017
0 answers
75 views

I want to know how to add custom css class into server side control. Let's say I want to create a navigation like stackoverflow. For this I am using Telerik's radmenu control. Now here is the problem

Please find attached file 1.png

As in RadMenu I cannot specify class -list or -item.
<telerik:RadMenu runat="server" ID="rm_menu_e2c" CssClass="HowToAddHere"></telerik:RadMenu>

But I have to inject the style to get result. How can I achieve this ?
Suvankar
Top achievements
Rank 1
 asked on 02 Nov 2017
0 answers
270 views

Does somebody know how to change RadTabStrip's RadTab hover color?

I use the method as below, but do not work.

 <style type="text/css">
  .selectedTab {
   background-position: 0 -26px;
   font-weight: bold;
   font-size: 13px;
   color: lightgreen;
   text-emphasis-color: lightgreen;
  }
  .hoveredTab {
   background-position: 0 -26px;
   font-weight: bold;
   font-size: 13px;
   color: Highlight;
   text-emphasis-color: Highlight;
  }

</style>

        <telerik:RadTabStrip RenderMode="Lightweight" runat="server" ID="RadTabStripMenu" MultiPageID="RadMultiPageMenu" SelectedIndex="0" OnTabClick="RadTabStripMenu_TabClick">
         <Tabs>
          <telerik:RadTab Font-Size="Medium" CssClass="TabItem" SelectedCssClass="selectedTab" HoveredCssClass="hoveredTab" Text="AAA"></telerik:RadTab>
          <telerik:RadTab Font-Size="Medium" CssClass="TabItem" SelectedCssClass="selectedTab" HoveredCssClass="hoveredTab" Text="BBB"></telerik:RadTab>
          <telerik:RadTab Font-Size="Medium" CssClass="TabItem" SelectedCssClass="selectedTab"
         </Tabs>
        </telerik:RadTabStrip>

章民
Top achievements
Rank 1
 asked on 02 Nov 2017
1 answer
134 views

Hello,

I'm attempting to use a RadDatePicker to feed into a query using a ControlParameter linked to it.  The very of adding it in causes the grid to not render even if I don't use the parameter in the query itself.  If add a default value to the RadDatePicker it seems to work fine so something is going on when it is trying to pass the default value (i assume null) and map it to the parameter.

Example code:

<telerik:RadDatePicker ID="Record_Date" MinDate="1900-01-01" runat="server" CssClass="birtForm" AutoPostBack="True" Width="200px" DataTextField="Record_Date" DataValueField="Record_Date">
</telerik:RadDatePicker>

 

<asp:ControlParameter Name="Record_Date" PropertyName="SelectedDate" ControlID="Record_Date"></asp:ControlParameter>

 

Is there a solution to this?

Thanks

Eyup
Telerik team
 answered on 01 Nov 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?