Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
318 views
Hello,

I use a RadComboBox in my web application. I need to disable it at a certain point using JavaScript. I referred to the Client-API on your site where you said this can be accomplished with "combo.disable()" statement.

I used this statement. However, I noticed that the combobox border has kind of disappeared; it's like it turned to a label with the selected field as text. I'd like to be able to get the combobox disabled using JavaScript but without loosing the "rcbDisabled" style from the component. I tried to disable it in the codebehind and in the markup and it showed the desired behavior. But I need to achieve the same result in JavaScript. Recommendations?

Screenshots attached to showcase: 
* Enabled: to show the enabled version [Skin = Windows7].
* JavaScriptDisabled: showing the weird result I got with JavaScript's "combo.disable()"
* Markup_CodebehindDisabled: showing the desired behavior I'd like to get but using JavaScript.

Thanks!
Hristo Valyavicharski
Telerik team
 answered on 20 Mar 2013
1 answer
103 views
Telerik version: 2012.3.1308.40

Hopefully this question hasn't been answered already.  I searched but couldn't find anything.

Our RadMaskedTextBoxes no longer render with the _text on the inner <input element.  Like in this example:

<span style="width: 100px;" class="riSingle RadInput RadInput_Default" id="ctl00_cphMasterAjax_ucPhone_rlvEdit_ctrl0_rmtbDomesticPhoneNumber_wrapper">
<input type="text" value="(515) 555-5555" controlid="ctl00_cphMasterAjax_ucPhone_rlvEdit_ctrl0_rmtbDomesticPhoneNumber" class="riTextBox riEnabled" size="15" name="ctl00$cphMasterAjax$ucPhone$rlvEdit$ctrl0$rmtbDomesticPhoneNumber" id="ctl00_cphMasterAjax_ucPhone_rlvEdit_ctrl0_rmtbDomesticPhoneNumber">
<input type="hidden" name="ctl00_cphMasterAjax_ucPhone_rlvEdit_ctrl0_rmtbDomesticPhoneNumber_ClientState" id="ctl00_cphMasterAjax_ucPhone_rlvEdit_ctrl0_rmtbDomesticPhoneNumber_ClientState" autocomplete="off" value="{"enabled":true,"emptyMessage":"","validationText":"(515) 555-5555","valueAsString":"(515) 555-5555","valueWithPromptAndLiterals":"(515) 555-0001"}">
</span>

I'm sure that prior to updating to the latest version the ID of the control would have rendered as such:
id="ctl00_cphMasterAjax_ucPhone_rlvEdit_ctrl0_rmtbDomesticPhoneNumber_text"

Either of these scenarios are possible:
a) The product (Telerik) has changed
b) Someone working on our product (we are a large team) modified some global setting somewhere and has broken things.
c) I'm officially nuts.

We have a lot of JavaScript that is no longer working, so I don't think that the answer is C.  And because when I look at your online demos I see the same thing I think it goes back to A being the culprit.

Can anyone shed any light on this?

Thanks!
Thad
Thad
Top achievements
Rank 2
 answered on 20 Mar 2013
7 answers
119 views
When the smallest values of my series are 0 then the YAxis is not extended as expected even if it's not zero based and AutoScale set to true. To test, I changed the values that were at 0 to be -10 and then the YAxis is extended to make sure values are shown. I attached an image to show the bug.
Missing User
 answered on 20 Mar 2013
5 answers
294 views
Hello,

I have an image button on my page and I would like its image to match with the GridEditCommandColumn's one (which is based on the theme).

Is there any way to achieve this ?

Thanks !


Algo
Top achievements
Rank 1
 answered on 20 Mar 2013
0 answers
133 views
Update: Disregard this post, I've since fixed the issue.

I'm using a RadToolTipManager on my master page with AutoTooltipify="False". Even though the feature is turned off a RadToolTip is still being displayed for asp:ImageButton and asp:Button elements on the website. I'm using the RadToolTipManager in my code by dynamically adding RadTab items to the TargetControls collection of the RadToolTipManager instance on the master page.

 <telerik:RadToolTipManager ID="PortalNavigationRadToolTipManager" AutoTooltipify="False" RegisterWithScriptManager="True"
              Width="455" Height="130" HideEvent="LeaveTargetAndToolTip" EnableEmbeddedSkins="True" ContentScrolling="Default" 
              Position="BottomRight" RelativeTo="Mouse" OffsetY="20"  runat="server"></telerik:RadToolTipManager>
Eric
Top achievements
Rank 1
 asked on 20 Mar 2013
2 answers
122 views
Hello,
I´ve beein using PivotGrid since it's beta fase and I´ve localized it for portuguese and spanish.
You've been doind a realy good job and I want to proceed using it!
Users love the tool but now I want to update my app and don´t know how to translate the new features included, such as the filtering options. Is there any resx file (like radfilter)... or will i need to use jquery for that?
Thanks for any help on the subject!
Joao
Top achievements
Rank 1
 answered on 20 Mar 2013
3 answers
246 views
Hi,

I have RadEditor control in my application. It had white background initially. I had used a directive @import to have default background of Telerik i.e. white. This is because Telerik ignored out styles of gray background. Now, I happened to switch over to the <link>. So it seems like the background is now gray instead.

Any idea on this?
Rumen
Telerik team
 answered on 20 Mar 2013
5 answers
277 views
Hello,

I'm using the custom http handler method for AsyncUpload and I need to pass some values to my .ashx handler with query string. When I upload a  2048KB or smaller file everything works fine. But if I try to upload anything more than 2048KB, all query string variables become NULL but the UploadedFile content is fine. My application is setup to upload 2GB file and I have no problem with the standard method. What can possible cause the query string variables to become NULL?

Thanks.

<telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" MultipleFileSelection="Automatic" OverwriteExistingFiles="True" OnClientFileUploaded="OnFileUploaded" DropZones="#FileContainerWrap" HttpHandlerUrl="~/File/RadUploadHandler.ashx" EnableInlineProgress="False" OnClientFileUploading="OnFileUploading" OnClientFilesSelected="OnFilesSelected" Width="100" OnClientValidationFailed="OnFileValidationFailed">
</telerik:RadAsyncUpload>

<script type="text/javascript">
function OnFileUploading(sender, args) {
var obj = { CustomerID: window.CustomerID };
                args.set_queryStringParams(obj);
}
.....
</script>

protected
override IAsyncUploadResult Process(UploadedFile file, HttpContext context, IAsyncUploadConfiguration configuration, string tempFileName)
{
    try
    {
        var CustomerID = context.Request.QueryString["CustomerID"];

......

Plamen
Telerik team
 answered on 20 Mar 2013
2 answers
882 views
Hi, Im using the RadAutoCompleteBox on the right side of my page and when DropdDown appears, it is aligned with the left side of the textbox with width expanding to the right (and I miss some portion of the DropDown content if too wide). Is there a way to align the DropDown to the right of the input textbox and have the its width growing to the left? Im not sure if the DropDownPosition property is for that since it doesnt seem to be documented in control's documentation.

TIA

Martin
Martin Roussel
Top achievements
Rank 1
 answered on 20 Mar 2013
2 answers
98 views
Hello all,
While handling controls in client side, some times I have to use $find("<%= txtSearch.ClientID %>") and some times $find("txtSearch").
So what is the difference between $find("<%= txtSearch.ClientID %>") and  $find("txtSearch"). Also when I have to use $find("<%= txtSearch.ClientID %>") and   $find("txtSearch"). Expecting a good explanation.

Thank you
Abhilash
Abhilash
Top achievements
Rank 1
 answered on 20 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?