Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
338 views
Hi Guys,

I need to know how can I show a trendline (regression line) to a scatter plot? or How can I simulate this functionallity?
I have attached a sample image.

Thanks Guys, this is too importante for me.

Alex.

Alex
Top achievements
Rank 1
 answered on 22 Oct 2012
1 answer
81 views
hi,
Is there a way to send query without delay after each key press?

thank you

Francesco
Kalina
Telerik team
 answered on 22 Oct 2012
1 answer
114 views
Hi!

I'm running PIE(http://css3pie.com/) and am trying to style my <asp:textbox> inputs using my own custom CSS.   When the page first loads, the CSS styles I have written are applied, but then once all the javascript runs on the page and the telerik style stuff appears, all of the CSS for my text input boxes get cleared in IE, and in Chrome a bunch of them just get overridden.  

I have added the tags EnableEmbeddedBaseStylesheet="False" EnableEmbeddedSkins="False" to an input to see if it had an effect, but nothing so far. 

In the pictures attached I show the <asp:textbox> input (login name) having loaded the CSS correctly and the regular non css <input type="textbox"> loaded at the bottom with the telerik Radbutton not loaded yet (on the login button).

The second image shows the login name input as totally blank, the other inputs having applied the CSS3 work that PIE applies, and the Telerik Radbutton styles applied.   

The css looks like this:

HTML BODY input[type=text]
{
color: #777c75;
padding: 6px 10px;
 border: 1px solid #9dabb8;
width: 200px;
-pie-background:url('/images/cssStyle/searchInputBackground.png') repeat-x 0px 0px;
backgroundurl('/images/cssStyle/searchInputBackground.png') repeat-x;
-webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;
behavior: url(/includes/PIE.htc);
 
}

The HTML looks like this after being fully loaded:

<input name="ctl00$MasterPage$UserWelcome1$UserNameTextBox" class=" pie_first-child      " id="ctl00_MasterPage_UserWelcome1_UserNameTextBox" style="width: 145px;" _pieId="_19" EnableEmbeddedSkins="False" EnableEmbeddedBaseStylesheet="False" />


And the aspx looks like this:

<telerik:RadAjaxPanel ID="LoginPanel" runat="server" Visible="False" meta:resourcekey="LogoutPanelResource1"
       EnableAJAX="True" Enabled="True" LoadingPanelID="RadAjaxLoadingPanel2">
       <asp:Literal runat="server" ID="boxstart"></asp:Literal>
       <div style="float: right">
           <a id="ResendPasswordLink" onclick="return ExitPage();" href="~/Login/ResetPassword.aspx"
               runat="server">
               <asp:Literal ID="passwordLink" runat="server"></asp:Literal>
           </a>
       </div>
       <div>
           <span style="font-size: 18px; font-weight: bold;">
               <asp:Literal ID="loginText" runat="server" />
           </span>
       </div>
       <div class="loginForm">
           <asp:Literal ID="loginName" runat="server" />
           <asp:TextBox  ID="UserNameTextBox" runat="server" Width="145px" meta:resourcekey="UserNameTextBoxResource1"  EnableEmbeddedBaseStylesheet="False" EnableEmbeddedSkins="False" />
           <asp:Literal ID="password" runat="server" />
           <asp:TextBox ID="UserPassword" runat="server" Width="75px" TextMode="Password" meta:resourcekey="UserPasswordResource1" EnableEmbeddedBaseStylesheet="False" EnableEmbeddedSkins="False" />
           <telerik:RadButton runat="server" ID="RadLogin" OnClick="RadLoginClick" />
       </div>
       <asp:CheckBox ID="RememberMeChk" runat="server" meta:resourcekey="RememberMeChkResource1">
       </asp:CheckBox>
       <asp:Label ID="RememberMe" Style="color: Black" runat="server" meta:resourcekey="RememberMeResource1"></asp:Label>
       <asp:CustomValidator runat="server" ID="CustomValidator1" Display="None" EnableClientScript="False"></asp:CustomValidator>
       <asp:ValidationSummary runat="server" ID="WelcomeUserValidationSummary" ForeColor="Red"
           ShowSummary="True" />
       <asp:Literal runat="server" ID="boxstop"></asp:Literal>
   </telerik:RadAjaxPanel>



Galin
Telerik team
 answered on 22 Oct 2012
1 answer
64 views
Hi, I have a web form application deployed to azure. the skin seems to be having display problem. see attached. any advice appreciated. thanks.

I redeployed many times still no improvement but it worked a few days ago.

Regards
cwk
Pavlina
Telerik team
 answered on 22 Oct 2012
13 answers
332 views
Hello,
I am trying to find a way to around a difficult issue I have been having with a scenario that involves the RadInputManager and RadAjaxPanel.  Normally I want the page to do an async postback when the value in a control changes (e.g. similar to OnPropertyChanged and TextChanged ) except when the control fails validation, but it is posting back every time.  Note that my controls are actually usercontrols and I do not want to utilize Asp.net Validators that are embedded in the user control definitions as the entire application is dynamic (e.g. the validations are added dynamically and are rarely the same from control to control).

  • I have an application that dynamically loads regular Asp.net textboxes and other controls (decorated with the RadDecorator) into a Placeholder control that is hooked up to the RadAjaxManager
  • The controls are also added to the RadInputManager so they can receive the benefit of the RadInput control style validations (the inputsettings/validations like a RegEx Setting are added successfully)
  • I have an event handler hooked up on the server side for when the value in the user control is changed by the user and that triggers every time causing an async postback (the page is where the event handler resides and the user control's throw the event)
  • When a control fails validation, the error css/warning triangle image and error message displays for a second but then the page starts posting back, the loading panel displays, and when it returns the validation error message/css, etc. are missing.
    • I have tried also adding the RadInputManager to the list of controls updated by the RadAjaxManager, however that results in errors related to ViewState (e.g. Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back led to load viewstate)

      Is there a way to check if a control failed the RadInput inputsettings style validations and stop the async postback while still displaying the error message css/message (the client side methods in the documentation for RadInput will indeed stop the postback, but they keep the error message css/text, etc. from displaying), or to display the validation css/message etc. when the async postback comes back?  Basically I would like the user to be able to view that there is an error in their input (instead of seeing a flicker of an error) correct it, then have the regular events and actions tied to a change in their input fire after it passes through validation.  Note, I cannot use Asp.net validators in the app.


      Thanks for any help provided,
Tsvetina
Telerik team
 answered on 22 Oct 2012
1 answer
116 views
I'm using the radajaxpanel, and Loadingpanel but radajaxmanager is in the masterpage. I woul like to make the loading panel display for the the duration of of the initial loading event on my pages. How and what is the best way to accomplish that?
Pavlina
Telerik team
 answered on 22 Oct 2012
1 answer
105 views
Hello,
can someone give me some sample codes and/or steps on how to make the new ASP.NET 4.5 WebForms unobtrusive validation works with the embedded Telerik.Web.UI jQuery library, please?

Thank you.
John Swenson
Top achievements
Rank 1
 answered on 22 Oct 2012
7 answers
161 views
Hi

I have a page with several input controls, combos and sliders with some javascript. Every thing works fine till I add an Ajax Panel. After that I got an error:

The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).

The code from this Ajax Panel do not use any <% ...%>.
All my javascripts are below the Body section and not in the Header.
In the existing scripts I already try to replace <%= ...> with <%# ...> and I also try to replace for example '<%= ctr_txn6.ClientID %>' with '<%= String.Format("{0}", ctr_txn6.ClientID) %>', but all of these changes only work if I remove the Ajax Panel.

Thanks
Gabriel
Top achievements
Rank 2
 answered on 22 Oct 2012
3 answers
498 views
Hello,

I'm using the RadHtmlChart, and I'm trying to programmably set the range of the X axis to a value.  The difficulty with my situation is that the chart will show values anywhere from 2000 to 8,000,000, and because of this, I'm trying to programmably set the range.  I set the XAxis MinValue and MaxValue to the values of the smallest and largest elements.  What I'm doing is, say I have an element of 1,000,000, and one of 1,500,000; I programmably use these values as the range (+/- 2000 to add some padding around it).  However, when I do this, it never takes.  It's as if these values are not retained, so it uses a MinValue of 0 and MaxValue of the maximum element plus some (whatever the default logic is).

How can I get this to work?

Thanks.
Marin Bratanov
Telerik team
 answered on 22 Oct 2012
5 answers
144 views
hi experts ,

i am using the file explorer control in my project , i have one dropdown with two folder names when user select the folder all the file explorer functionality will apply to that chosen folder here i find two panels one is for folder treeview other one is for files which shows the file name and size when i change the option in the folder dropdown first panel didn't show the selected folder but second panel shows the selected folder files can u tell me the reason  plz, please check the screen shots also,

following is the code sinnpet which is written by be
-====================-------
<%@ Page Title="" Language="VB" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="false" CodeFile="FileExplorer.aspx.vb" Inherits="Admin_FileExplorer" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" Runat="Server">
  <div style="margin-left:50px" >
  <asp:DropDownList ID="ddlFiles" runat="server" AutoPostBack="true">
  <asp:ListItem >Images Folder</asp:ListItem>
  <asp:ListItem  Selected="True">Mass Image Uploading Folder</asp:ListItem>
  </asp:DropDownList>
 <br /><br />
    <telerik:RadFileExplorer runat="server" ID="fileExp" Width="520px" Height="520px">
                    <Configuration ViewPaths="~/HTMLEditorImages" UploadPaths="~/HTMLEditorImages" MaxUploadFileSize="26214400"
                    DeletePaths="~/HTMLEditorImages" />

                </telerik:RadFileExplorer>
                </div>
</asp:Content>


-===============================------
Imports Telerik.Charting
Imports Telerik.Web.UI
Partial Class Admin_FileExplorer
    Inherits AdminPage

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        If ddlFiles.SelectedIndex <= 0 Then
            fileExp.Configuration.UploadPaths = {"~/HTMLEditorImages"}
            fileExp.Configuration.ViewPaths = {"~/HTMLEditorImages"}
            fileExp.Configuration.DeletePaths = {"~/HTMLEditorImages"}
        Else
            fileExp.Configuration.UploadPaths = {"~/Admin/FTPDirectory/MassImages"}
            fileExp.Configuration.ViewPaths = {"~/Admin/FTPDirectory/MassImages"}
            fileExp.Configuration.DeletePaths = {"~/Admin/FTPDirectory/MassImages"}
        End If

    End Sub

End Class

 
Vessy
Telerik team
 answered on 22 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?