Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
217 views
Hai,

I have a Radgrid. In that I have a RadCombobox in a GridTemplateColumn. I want 
to access this RadCombobox inside javascript for some client side validation.

Please Help. Its very urgent

Please email the solution to me as Telerik forums and documentation links are not working in none of the browsers.( I am using Windows 7 and latest browser versions)

regeesh@kottsoftware.com

Thad
Top achievements
Rank 2
 answered on 05 Aug 2011
2 answers
405 views
Is there a simple way to add a custom attribute to a selected HTML element?

For example, I want to add an ID attribute to H1 tag for use with an anchor link.  I was using standard anchor tags, but the issue is that they are not visible in edit mode.  It makes working with anchors for non-HTML savvy people very hard.

Any ideas would be greatly appreciated.
Mark
Top achievements
Rank 1
 answered on 05 Aug 2011
3 answers
79 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
167 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
197 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
149 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
92 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
271 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
164 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
111 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?