Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
256 views
I have a pure AJAX web form, with no code-behind file.  I have the NoRecordsTemplate declaratively set to one value, indicating that no data has been found *yet*.  After I query a web service for data, I bind the data to the grid, and the grid displays properly.  However, if no data is found, I would like to programmatically change the no records text to say something else. 

I haven't found anything on this topic in the Telerik docs or the internet.  Is this possible?  I see other people being told it's possible using server-side code, but that's not an option here.


Thanks
Tsvetina
Telerik team
 answered on 27 Apr 2012
0 answers
86 views
Hi,
I have a RadTree in User Control A & RadioButtonList in another User Control B under my main aspx page. When I check a node in RadTree in User Control A., I want to get selected index of RadioButtonList 
in User Control B. How i'm i supposed to get the output.??

Regards,
Aditya
Aditya
Top achievements
Rank 1
 asked on 27 Apr 2012
1 answer
169 views
I have RadControls for ASP.NET AJAX Q1 2010 installed so I can develop my .Net 2.0 projects/websites. Due to IE 9.0 incompatibilities with that version... I need to upgrade only "some" of my projects to a version that suports IE9.0. I have chosen the most recent version... RadControls for ASP.NET AJAX Q1 2012 SP1.    
I installed that version too. Not upgraded. I have two versions on the Win7 PC.
Is there way to be able to have two sets of Rad controls in the toolbox simultaeneosly? I will need to frequently switch between 2.0 and 4.0 projects in VS 2010. In the unfortunate case that I cannot have that... how would I switch what version of the Rad Controls is in the toolbox depending on the .Net Framework version that I am working on?

thanks in advance,
dana
Marin Bratanov
Telerik team
 answered on 27 Apr 2012
3 answers
174 views
Hello, I try from client side (java script) set index for RadListBox.

How can I use document.getElementById for finding and set index for RadListBox ?

regards,
Dominik Kolcio
Dominik
Top achievements
Rank 1
 answered on 27 Apr 2012
3 answers
137 views
Hello friends, i have a issue in Rad DatePicker in IE8.
when i launch the screen in IE browser, the date picker sets currrent date and time.
in IE browser, the datepicker  is overlapped and it is not visible the datetime clearly. but in other browser the datetime is clearly visible.
screen shots
1. IE8
2. other browser
what to do the clear this issue.
thanks in advances
S.Rajkumar 
Vasil
Telerik team
 answered on 27 Apr 2012
7 answers
491 views
Hi,

        I am using GridTemplateColumn in Radgrid with checkbox in <headertemplate> and <itemtemplate>
I am unable to select/deselect the rows on <HeaderTemplate> checkbox click at client side....

Code is as follows...
<Columns>
                            <telerik:GridTemplateColumn AllowFiltering="false">
                                <HeaderTemplate>
                                    <asp:CheckBox ID="chkSelectAll" runat="server" onclick="CheckAll()" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:CheckBox ID="chkStatus" runat="server"  />
                                </ItemTemplate>
                                <HeaderStyle Width="50px" HorizontalAlign="Center" />
                            </telerik:GridTemplateColumn>
                            <telerik:GridBoundColumn HeaderText="Security Code" UniqueName="Code" DataField="cod">
                                <HeaderStyle Width="200px" HorizontalAlign="Center" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn HeaderText="Description" UniqueName="Description" DataField="dsc">
                                <HeaderStyle Width="500px" HorizontalAlign="Center" />
                            </telerik:GridBoundColumn>
                        </Columns>

Please let me know.
Shinu
Top achievements
Rank 2
 answered on 27 Apr 2012
1 answer
119 views
I was told to add an undo button for the RadListBox that will track and then revert he changes a user makes. I have the code set up but I am getting undefined errors in dynmiac code when it is running through transferItem(). I am not entirely sure whats going wrong with it. If someone could look and give some advice that would be great.

var UndoList = new Array();
function onClientTransferring(sender, e) {
    var items = e.get_items();
    for (var i = 0; i < items.length; i++) {
        var item = items[i];
        if (item.get_text() != "Select" || item.get_value() != "") {
            UndoList.push(item);
            UndoList.push(e.get_sourceListBox());
            UndoList.push(e.get_destinationListBox());
        }
    }
}
function undoChanges() {
    if (UndoList[UndoList.length - 1]._clientStateFieldID == "rlbStations_ClientState") {
    var listbox = $find('rlbStations');
    }
else if (UndoList[UndoList.length - 1]._clientStateFieldID == "rlbAllowedStations_ClientState") {
    var listbox = $find('rlbAllowedStations');
    }
    listbox.transferItem(UndoList[UndoList.length - 3], UndoList[UndoList.length - 1], UndoList[UndoList.length - 2]);
}
<telerik:RadListBox ID="rlbStations" runat="server" AllowTransfer="True" TransferToID="rlbAllowedStations" Height="200px" Skin="Web20" SelectionMode="Multiple" Sort="Ascending" DataKeyField="station_id"
 AutoPostBackOnTransfer="true" Width="250px" OnClientTransferring="onClientTransferring"
OnTransferred="rlbStations_Transferred"><ButtonSettings ShowDelete="False" ShowReorder="False" /> </telerik:RadListBox>
<asp:Button Text="Undo" runat="server" OnClientClick="undoChanges()" /><telerik:RadListBox ID="rlbAllowedStations" runat="server" Height="200px" Width="250px" Skin="Web20"> </telerik:RadListBox>
Dimitar Terziev
Telerik team
 answered on 27 Apr 2012
3 answers
136 views
Are there any client events on the PageView (or event MultiPage) control that I can subscribe to with jQuery ?

Specifically, I would like to be able to subscribe to an event that lets me know the selected pageview is about to be shown, so that I can make some adjustments to the content - analogous to the RadWindow "beforeShow" event.

I know that the default answer is probably to use one of the tabSelect events, but that is not quite what I require.
Dimitar Terziev
Telerik team
 answered on 27 Apr 2012
4 answers
290 views
Hi,
when entering a value in rad text box it shows in normal font, and when changing the focus, the value gets bold.
How can i avoid the behavior of changing the font weight to bold when changing the focus in sharepoint site page.
I am using telerik Q1 2012 ( 2012_01_215)


thanks
Jiju
Jiju
Top achievements
Rank 1
 answered on 27 Apr 2012
5 answers
235 views
I have a RadGrid. In this RadGrid I ahve below code

<MasterTableView ClientDataKeyNames="ID,Name,Path" runat="server" >
     <Columns>
            <telerik:GridButtonColumn UniqueName="headerDelete" CommandName="Delete"
runat="server" ButtonType="ImageButton" ImageUrl="~/CommonUI/Images/delete.png"
HeaderTooltip ="hhhh" ItemStyle-Width="40px" ItemStyle-HorizontalAlign="Center"
HeaderStyle-Width="40px" HeaderStyle-HorizontalAlign="Center" Text="Delete"/>
       </Columns>
 </MasterTableView>

I want to Add Text to telerik:GridButtonColumn using OnRowDataBound event in javascript because i am filling this grid from another
grid using WebService and javascript function. Like

var tableView = $find("<%= gridSelected.ClientID %>").get_masterTableView();
                tableView.set_dataSource(result);
                tableView.dataBind();

Please suggest How can add text for <telerik:GridButtonColumn> using javascript for it ?

Thanks

 

 
Jayesh Goyani
Top achievements
Rank 2
 answered on 27 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?