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

My RadTextBox has the onchange value set. When the user enters a value, I look up a value on our DB, which returns a value, with which I use set_value to either blank out the RadTextBox or assign it a different value.

But when I use set_value for either reason, it kicks off the onchange event again, creating a loop, which calls our DB 100's of times before finally stopping. How can I prevent that?
Jeremy Yoder
Top achievements
Rank 1
 answered on 09 Mar 2012
8 answers
567 views
I have a table cell that is set to 100% height with a RadTextBox in it.  I want the RadTextBox height to also be 100% and seem not to be able to get this to happen.  The TextMode is set to MultiLine.  I've tried setting the Height property and it yields no results.  There is no way of determining the amount of rows to populate the Rows property properly to make the RadTextBox expand to fit the whole table cell.  Is this possible with this control?
Mike
Top achievements
Rank 1
 answered on 09 Mar 2012
1 answer
114 views
Hi,

radconfirm and window.radopen functionalities are not working in IE 9 browser.

Below are the code examples:
var deleteconfirmationWindow = radconfirm('Are you sure you want to delete this folder?', confirmDeleteCallBackFn, 350, 60, "", 'Delete Folder');

var oWnd1 = window.radopen(url, "CustomReportSelectionWindow");


Also the styles applied for content in a RadEditor are not being displayed.

Thanks

Marin Bratanov
Telerik team
 answered on 09 Mar 2012
3 answers
95 views
Hi

i want to assign my tooltip text value by using the bellow code.  Control ID will be my RadToolTip ID.

string myScript = @"window.opener.document.getElementById('" + controlID + "').value = '" + strcomment.Trim() + "';window.close();";

Regards
Nithya
Marin Bratanov
Telerik team
 answered on 09 Mar 2012
5 answers
112 views
I have a radchart that is a horizontal bar chart (so the X-Axis and Y-Axis are reversed).  The X-Axis (the vertical one in this case) has custom labels that are supposed to be right justified.  However, the right justification is only approximate.  It looks as if the strings with wider characters end further to the right than strings that have on average narrower characters.  The appearance seems as if the code that builds the bitmap uses a formula based on string length * font n-space rather than string.measure string to calculate the starting location of each label in this particular case.
Peshito
Telerik team
 answered on 09 Mar 2012
3 answers
95 views
As far as I understand Combobox doesn't support this key shortcuts. Is it going to be added in some future or is there any known way to add their support to combobox?

Kalina
Telerik team
 answered on 09 Mar 2012
1 answer
83 views
Hi,

I've recently upgraded to 2012q1 and noticed that there my labels width start to act freaky. I've a class in my main css that defines the width off all of my labels and suddenly the inputs started not to fill the whole  width set in the RadTextBox. Switching back to the old DLLs works fine.
Here is simple way to reproduce the issue:
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
    <style type="text/css">
        .labelClass
        {
            display: inline-block !important;
            width: 50px !important;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <div style="width: 600px">
        <telerik:RadTextBox runat="server" ID="r1" Label="TEXT1" Width="49%" LabelCssClass="labelClass" />
        <telerik:RadTextBox LabelCssClass="labelClass" runat="server"  Width="49%"  ID="RadTextBox1" Label="TEXT2"
            /><br />
             
    </div>
    </form>
</body>
</html>


 in the attached file it is possiable to see the difference between the outputs.

I played with it and found that
the generated HTML is
<span id="r1_wrapper" class="riSingle RadInput RadInput_Office2010Silver" style="width: 49%;">
<label id="r1_Label" class="riLabel labelClass" style="width:40%;" for="r1">TEXT1</label>
<span class="riContentWrapper" style="width:60%;">
<input id="r1_ClientState" type="hidden" name="r1_ClientState" autocomplete="off">
</span>

so it looks like the custom width set via the CSS is ignored.

I've noticed that there is new property LabelCssWidth but it will take days to find and change all the label and I don't want to hardcode their width.

Will this be fixed in 2012Q2  or I should stay with the 2011Q2 ?
Vasil
Telerik team
 answered on 09 Mar 2012
1 answer
101 views
Hi,

I have a page with some controls and the last control which is below all other controls is a TreeList.
This TreeList can contain more data than it could fit on the screen, so it automatically gets bigger than the browser window and the
browser displays scroll bars. This could be ok, but the LoadingPanel image could be outside the viewport if there are too many rows.

So I want to prevent that the TreeList grows bigger than the page. I know I can set AllowScrolling to true, but this seems to work only for fixed heights, not relative ones.
Could you please tell me how I can prevent the TreeList from growing larger than the viewport?

Thanks!
Tsvetina
Telerik team
 answered on 09 Mar 2012
13 answers
244 views

Hi

I am testing a new website with IE8 and Chrome 2.0 and noticed some strange behavior with Telerik TreeView. I'm using Telerik.Web.UI Version 2009.2.701.35. On this Website, I have 2 TreeViews which works great in FireFox without any problems, but if I open the Website in Internet Explorer 8.0 or Chrome 2.0 the left TreeView doesn't work. Screenshots:

Website in IE 8.0: http://bit.ly/cqvc6

Website in Chrome 2.0: http://bit.ly/6YkBU


Both Browsers are installed on Windows Vista SP2 with default Settings (I made no changes to the configuration after installation)

 

In IE 8.0 I receive many of the following JavaScript Errors:

-------------------------------------------------------------------------------------------------------
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Tue, 21 Jul 2009 22:52:07 UTC

Message: 'this._element' is null or not an object
Line: 1931
Char: 1
Code: 0
URI: http://localhost:4500/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3ade-CH%3a0d787d5c-3903-4814-ad72-296cea810318%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.2.701.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3ade-CH%3a7e598a31-3beb-49a1-914c-5f530240f0ea%3a16e4e7cd%3af7645509%3a24ee1bba%3a1e771326%3ae524c98b%3ae330518b%3ac8618e41%3ae4f8f289%3aed16cbdc%3a874f8ea2%3a19620875%3a33108d14%3abd8f85e4

-------------------------------------------------------------------------------------------------------

 

Do you have any suggestions to fix this problem.

Thank you in advanced.


Beste regards

Mike Miller

Plamen
Telerik team
 answered on 09 Mar 2012
1 answer
105 views
I have a question about the groups. I see from the examples in the help about how the groups can be used with the core scripts that most controls use. What about other telerik controls?

I have one particular type of page that has a telerik grid, buttons, textboxes, combo boxes and a window on it. I use this same display page in numerous spots in my web application (but not on every page). Could I combine the scripts for these controls into a group so the script manager will cache these scripts in this combination and then know to get the cache for this page?
 
If so then how would I do that? So in other words when it encounters this page it gets the cached scripts for the control combination but if it encounters another page that say only has a radgrid and buttons on it then it would use the normal script combine method.
Simon
Telerik team
 answered on 09 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?