Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
80 views
Hi
I have a GridButtonColumn. When this button is clicked I need to access one of the cells in this row on the client side. How do I do this?

Thank you
Neelima
Pavlina
Telerik team
 answered on 05 Aug 2011
12 answers
173 views
Hi,

I'm looking into the OnClientDragEnd event of the radWindow control. I want to get the window to simulate a snap to grid. in the event, I've tried the using the following:

- sender.getWindowBounds().x
- sender.get_Left()

Both always return the position of the window before the drag. i've looked at the online demo, but it doesn't look at the co-ordinates. Is there another property I need to look at for the dropped left/top?

BTW: on the bottom of the screen for the demo, it mentions 2 parameters expected, but says "sender" is the tooltip, not RadWindow.

Regards

Bobby
LeBear
Top achievements
Rank 1
 answered on 05 Aug 2011
2 answers
211 views

I wanted to know if there is a solution to a radgrid issue with the shift key in multiselection. When i do a multiselection of rows with shift key pressed, the radgrid doesn't throw a postback when the shift key is released.

I was testing some alternatives with the onkeyup event over radgrid but doesnt work well with shift key (dont throw event until ctrl key is pressed) , instead the event it works better with the ctrl key.

However i would appreciate a better solution that doesn't imply handling the key events.

I been follow this issue in this threads

http://www.telerik.com/community/forums/aspnet/grid/how-to-capture-special-keys-ctrl-shift-click-in-server-side.aspx

http://www.telerik.com/community/forums/aspnet-ajax/grid/selection-with-shift-doesn-t-work-as-expected-strange-behaviour.aspx

Thanks in advance.

 

 

 

 

Nicolas
Top achievements
Rank 1
 answered on 05 Aug 2011
6 answers
153 views
Hi! 

In this thread I read about the animation feature with the set_currentItemIndex()-Method

So I tried it. But it does not work for me. Here is what I've done to get it work:

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadRotator ID="RadRotator1" runat="server" DataSourceID="xmlDataSource1"
        FrameDuration="360000000" Width="675" ItemWidth="675" Height="265" ScrollDirection="Up"
        ItemHeight="265">
        <ItemTemplate>
            <div class="itemTemplate">
                <img src="Images/<%# XPath("filename") %>" style="border: 0px;" alt="banner" />
            </div>
        </ItemTemplate>
    </telerik:RadRotator>
    <asp:XmlDataSource ID="xmlDataSource1" runat="server" DataFile="banners.xml"></asp:XmlDataSource>
    <div class="nav">
        <a href="#" onclick="javascript:setNewContent(0);">Banner 1</a>
        <a href="#" onclick="javascript:setNewContent(1);">Banner 2</a>
        <a href="#" onclick="javascript:setNewContent(2);">Banner 3</a>
        <a href="#" onclick="javascript:setNewContent(3);">Banner 4</a>
        <a href="#" onclick="javascript:setNewContent(4);">Banner 5</a>
    </div>
here the js:
function setNewContent(selectedContentIndex) {
    // finding the radRotator
    var rotator = $find('<%= RadRotator1.ClientID %>');
 
    rotator.set_currentItemIndex(selectedRotatorItem, true);
}
But doesn't work. What I have to do? //EDIT: What does not work? -> The animation does not work... the banner changes but without animation 

Also it would be nice if you could show me how to turn off auto-scrolling, cannot find anything how to do this. 


Thanks in advance!


Julian
Julian
Top achievements
Rank 1
 answered on 05 Aug 2011
3 answers
94 views
I'm using RadConfirm on a linkbutton to confirm a delete action. Since firefox 5.0 the button doesnt seem to continue the delete event untill i click it a second time. So first it shows the confirm, if I click ok, it does nothing untill i the linkbutton again. On older versions of firefox (havent tested 4.0) , IE or safari no problem..

I'm using the 2010 Q3 release.

I took the telerik examples and changed the button in the example into a linkbutton and noticed that it also stopped working on firefox 5.0.
Is there a workaround for this problem?

Thanks
Jonathan
Marin Bratanov
Telerik team
 answered on 05 Aug 2011
3 answers
286 views
I'm using the RadTreeView control in a ASP.Net user control. Each of my nodes have a ImageUrl and text.  I need to add a button to each node that triggers an event when the button is clicked.

Is there an example of this?

Ivan Zhekov
Telerik team
 answered on 05 Aug 2011
2 answers
167 views
Hi all...I'm trying to make a pdf of a radgrid from a button...This radgrid has a default skin (Windows7)...Can someone explain me how to give the skin equal to this pdf ? I have so many row...But generating the file...I have every row overlapped in one...
Andrea
Top achievements
Rank 1
 answered on 05 Aug 2011
3 answers
121 views
I have a the rad date picker that is giving the following error on IE8 when clicking on the calendar for the date picker:
Microsoft JScript runtime error: 'iframeShim.style' is null or not an object

It's happening on this line of code:

}d.iframeShim.style.top=(RadHelperUtils.IsDefined(c))?(c+"px"):d.style.top;

Here is my aspx code:

 

<div class="labels"><asp:Label ID="lblStartDate" runat="server" Text="Start Date:"></asp:Label></div>

 

 

<div class="textlabel"><telerik:RadDatePicker ID="dtStartDate" runat="server" Skin="DMID" EnableEmbeddedSkins="false"

 

 

OnSelectedDateChanged="dtStartDate_SelectedDateChanged" AutoPostBack="True" ToolTip="start date">

 

 

<Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x"

 

 

Skin="DMID" EnableEmbeddedSkins="False">

 

 

</Calendar>

 

 

<DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton>

 

 

<DateInput DisplayDateFormat="MM/dd/yyyy" DateFormat="MM/dd/yyyy" EnableEmbeddedSkins="False"

 

 

AutoPostBack="True">

 

 

</DateInput>

 

 

</telerik:RadDatePicker>

 

 

<asp:RequiredFieldValidator ID="rfvStartDate" runat="server" ControlToValidate="dtStartDate"

 

 

ErrorMessage="<label for='dtStartDate'>Start Date</label>" Text="*" Display="Dynamic"

 

 

ValidationGroup="vRequired"></asp:RequiredFieldValidator>

 

 

</div>

 

 

<div class="labels">

 

 

<asp:Label ID="lblEndDate" runat="server" Text="End Date:"></asp:Label>

 

 

</div>

 

 

<div class="textlabel">

 

 

<telerik:RadDatePicker ID="dtEndDate" runat="server" Skin="DMID" EnableEmbeddedSkins="false">

 

 

</telerik:RadDatePicker>

 

 

<asp:RequiredFieldValidator ID="rfvEndDate" runat="server" ControlToValidate="dtEndDate"

 

 

ErrorMessage="<label for='dtEndDate'>End Date</label>" Text="*" Display="Dynamic"

 

 

ValidationGroup="vRequired"></asp:RequiredFieldValidator>

 

 

</div>

 

khaled
Top achievements
Rank 1
 answered on 05 Aug 2011
1 answer
82 views
Hi Friends,

I'm facing a problem in Rad Tree View. If i Drag a Node, I need to show the Image for Node Position in Tree View.

Here i attached the image. If i drag and drop the Node as Child or Move to New Position. I'll need to give clear picture for this.


Thanks
Plamen
Telerik team
 answered on 05 Aug 2011
2 answers
111 views
Hi

I am trying to evaluate RAD Editor for SP2010 and of particular interest is the way it deals with List item editing, however when I attempt to edit a list item, i recieve a very basic text bar, I have tried an IISREST with no luck.
Attached is a screenshot of the toolbar in SP2010.

Any help is appreciated.
Yeamin Al
Top achievements
Rank 1
 answered on 05 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?