Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
274 views
var grid = $find(gridID);          
 var masterTable = grid.get_masterTableView();
            var dataItems = masterTable.get_dataItems();
            var row = dataItems[itemIndex].get_element();
            masterTable.set_currentPageIndex(page);
            row.focus();
What I am trying to do is: i have a textbox with a number and when I mouse over on it, I pass the number to the parameters of "page" and "itemIndex", I want the grid show on that page and also focus on the row of that number. I can see the grid is refreshed on mouseover but the current page stay unchanged and the row focus doesn't work, if I change to masterTable.selectItem(row), it works ONLY when the current page is set to the one contains that row. Did I miss anything?

Thank you!
Vasil
Telerik team
 answered on 12 Apr 2011
4 answers
119 views
I have a page which includes both a master and details panel scenario and i want to update the page title when i hit the detail sub routine.

The code to this is working but as I am using RadAjaxPanel the head seciton of the page is not being updated.  I have tried EnablePageHeadUpdate="true" but does not make difference, am i missing something?

Of course as soon as I remove the RadAjaxPanel everything works just fine but dont want to lose my slick looking telerik stuff!

Cheers,

S
Maria Ilieva
Telerik team
 answered on 12 Apr 2011
1 answer
147 views
I have a RadEditor placed on a content page. When I run the web application locally (ASP.NET 3.5), the RadEditor shows up fine. When I deploy the web application to our production server, the editor doesn't show up, instead I get a series of bullet points that when hovered over show a tooltip of a toolbar.

I don't have the code with me right now, but can anyone suggest what I should check when I get back into work on Monday? Any pointers would be appreciated! I don't understand how it works fine locally (when I hit F5 in visual studio 2010), but when I deploy to the server it doesnt work. I can confirm that there are other applications on the server I am deploying to where the RadEditor works fine, just not in my web application project. Do I need to check any specific web.config settings?

Thanks
Dobromir
Telerik team
 answered on 12 Apr 2011
6 answers
284 views

I haven't used the slider control before, so hopfully I am missing something simple. First,
using the follwing code, the slider value are not displayed: 

<telerik:RadSlider id="RadSlider1" runat="server" Height="95px"

 

 

ItemType="Tick" Length="300" MaximumValue="5" MinimumValue="1" Value="3" Width="400px" Skin="Windows7" TrackPosition="TopLeft" >

 

 

 

</telerik:RadSlider>


Thanks for you help.

 

Niko
Telerik team
 answered on 12 Apr 2011
3 answers
225 views
Hello,

I have a page that pops up a RadWindow.  Then the page pops up a radconfirm.  I want the radconfirm to appear over the RadWindow, but it appears beneath the RadWindow.  Is there anyway to give the radconfirm a higher z-index?

Thanks.
Svetlina Anati
Telerik team
 answered on 12 Apr 2011
3 answers
253 views
Quick question - I've been trying to figure out how to horizontally align these columns of a simple instance of RadCalendar using 100% width and inside of a fixed width div.

Image: http://i.imgur.com/ksOfZ.jpg

Code:
<div style="width:400px; vertical-align:top;">
         
       <telerik:RadCalendar ID="RadCalendar1" runat="server" AutoPostBack="true" Width="100%"
               PresentationType="Preview" DayNameFormat="Short" ShowRowHeaders="false" ShowOtherMonthsDays="true"
               EnableMultiSelect="false" UseRowHeadersAsSelectors="false" UseColumnHeadersAsSelectors="false"
               OnDayRender="RadCalendar1_DayRender" OnPreRender="RadCalendar1_PreRender">
           <DayStyle HorizontalAlign="Center" />
           <SpecialDays>
               <telerik:RadCalendarDay Repeatable="Today" Date="" ItemStyle-CssClass="rcToday" />
           </SpecialDays>
       </telerik:RadCalendar>        
 </div>

Appreciate any help.  Thanks.

-- Mike
Tsvetina
Telerik team
 answered on 12 Apr 2011
1 answer
79 views
Hello

I am implementing the RadToolTip and I have a senary quite common in systems today. I want to register as a User is in a textbox the tootltip shows a message about that field, then assigns an onclick event ShowEvent so that when users click on the textbox the message appears, but when we navigate between fields by pressing "Tab" sailed in this field when the tooltip does not open, so it must use an event OnFocus.
But my need is to use the two behaviors OnFocus and OnClick events, how could I do this? Is it possible?
Svetlina Anati
Telerik team
 answered on 12 Apr 2011
2 answers
156 views
Hello,

I have a Treelist that binds data that is not more then 1 level deep (Parent and 0 or 1 child). Now I have a button bind to each itemrow. What I want is that only the parentitem show the button (not the childitem). Is there a way in the ItemDataBound event to determine is a item is the parentnode (hasParent property) so I can only show the buttons for the parentitems?

Thanks in advance.

Kind regards,

Patrick
Patrick
Top achievements
Rank 1
 answered on 12 Apr 2011
5 answers
158 views
I have had this happen to me a few times now. Sometimes I'll add radtextboxes to a page and they won't show up at all. I can copy the code ver batum into a new differently named page, and they show just fine. I was just wondering if you have heard of this issue or if you think it's something with VS. I can say I have these in a page that has a masterpage with a radpanel on it. I can send some code if you like, I just don't know how much help it would be because like I said, if you copy and paste it to another page, it works fine. Any thoughts? I know this is probably the worst question to ask you to troubleshoot ever :)
Web Services
Top achievements
Rank 2
 answered on 12 Apr 2011
9 answers
319 views
I would like to use the RadMaskedTextBox in the following scenario:

My user has a multiline textbox in which he can enter text. This text has a maximum length per line and
must match certain criteria. In this  case it can be any character. When I set the text property of my
maskedtextbox the only thing that appears is my mask. I already tried to set the defaultmask, but when
the user clicks the textbox the default mask is applied. How  should I use the RadMaskedTextBox.
The code I am using is posted below

<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
 
<!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>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" />
         
        <telerik:RadMaskedTextBox
            Width="300px"
            Height="80px"
            ID="RadMaskedTextBox1"
            runat="server"
            Label="Masked"
            TextMode="MultiLine"
            Mask = "aaa\r\naaa"
            TextWithLiterals = "123\r\n456"
            />
         
        <br />
        <telerik:RadTextBox
            Width="300px"
            Height="80px"
            ID="RadTextBox1"
            runat="server"
            Label="Normal"
            TextMode="MultiLine"
            Text = "123 456"
        />
    </div>
    </form>
</body>
</html>
Radoslav
Telerik team
 answered on 12 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
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?