Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
124 views

Hi all,

Getting an error "Access is denied" when trying to submit rad upload from IE only. I have a JavaScript fix in place for the issue where clicking on the file input area does not bring up the file browser:

function pageLoad() {
    if ($telerik.isIE)
        $telerik.$('.ruFileInput, .ruFakeInput').live('mousedown', function () {
            $telerik.$('.ruFileInput', this.parentNode)[0].click();
            return false;
        });
    }

With this code in place the file browser works in IE, but when clicking on the submit button I get an error. This happens on both our dev. server and localhost.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 1.1.4322)
Timestamp: Mon, 30 Aug 2010 18:39:46 UTC

Message: Access is denied.

Line: 5617
Char: 1
Code: 0
URI: http://localhost/SelfServiceQuoterDuplication/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d1.0.61025.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a1f0f78f9-0731-4ae9-b308-56936732ccb8%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.3.1324.20%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a40669927-5ca3-42ff-91d0-f64b5422fc66%3a16e4e7cd%3af7645509%3a24ee1bba%3a19620875%3a874f8ea2%3a33108d14%3abd8f85e4%3a1e771326%3aaa288e2d%3a68f76a79%3a2a2fc429%3aa585d0d4%3aed16cbdc

I'm stumped. Any help appreciated.

Thanks

Stéphane
Top achievements
Rank 1
 answered on 22 Oct 2012
1 answer
63 views
Hello,

Is there anyway that the RadComboBox can be made to allow for multi-select. I have a project and must be able to select one or more items before my postback. I tried CTRL-Select but it did not work. As always, you guys are always a great help and my best Telerik resource!!!!

Thanks,


Steve Holdorf
Steve Holdorf
Top achievements
Rank 1
 answered on 22 Oct 2012
1 answer
437 views

Dear Sir/Madam,

I made a VERY BIG mistake. You see, I needed a net decompiler and stupid google suggested your damned site. A free decompiler, you say? - OK, i need it. I should reconsider as soon as I was asked to download a TRIAL of something (trial of free... hm), or when I saw the first screen of the installer and found out it will install some shitty control panel and other components I will never need. I should turn my back at this point and run away, but NO, I've installed it on my PC (sob). I really made VERY BIG mistake.

And now, I can not remove it! It is written by fucked dilletants and does not have even an uninstaller! So, please, burn in hell you damned bastards!

Andrey
Telerik team
 answered on 22 Oct 2012
0 answers
63 views
I was looking to make some minor changes to an existing skin, the problem is I do not see the css file anywhere in my project.  Is there a way to open the css file and make the changes or do I need to make a custom skin and then edit the css there?
Eric Klein
Top achievements
Rank 1
 asked on 22 Oct 2012
2 answers
349 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
85 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
121 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
69 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
344 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
124 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
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?