Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
253 views
Hi.
I tested the RadRating with a RadGrid and the time to show
results displays two lines of RadRating to select and the other with the assigned value.

As I show only the value of RadRating?

Thanks.

<telerik:RadGrid runat="server" ID="gridResults" AllowPaging="true" GridLines="None" OnItemDataBound="ResultsItemDataBound" AutoGenerateColumns="false" PageSize="10" Width= "570px" 
AllowSorting="true">
<ItemStyle BackColor="White" BorderColor="White" BorderWidth="0px" />
<AlternatingItemStyle BackColor="White" BorderColor="White" BorderWidth="0px" />
<MasterTableView TableLayout="Fixed" BackColor="White" BorderColor="White" BorderStyle="None"
BorderWidth="0px" AllowCustomSorting="true">
    <ItemTemplate>
         <asp:Label ID="lblId" Visible="false" Text='<%#Eval("Id")%>' runat="server" />
            <div class="itemGrid">
                 <div class="cadena">
                   <asp:Image runat="server" ID="imgCadena" Visible="true" Height="75px" Width="75px" 
                        style="margin-left:12px;" ImageAlign="Left" ImageUrl='<%#Eval("thumb") %>'/><br />                                
                  </div>                            
                  <div class="hotel">                            
                  <asp:Label ID="lblHotel" runat="server" Text='<%#Eval("name") %>'></asp:Label>
                  <br />
                  <asp:Label ID="lblDesc" runat="server" Font-Size="XX-Small" ForeColor="Silver" Text='<%#Eval("desc") %>'>
                   </asp:Label>
                   </div>                                                       
                   <div class="Stars">
                   <br />
                   <div style="text-align:center; float:left;">
                   <telerik:RadRating ID="RadRating1" runat="server" DBValue='<%#Eval("starsLevel")%>' />
                   </div>                            
                   <asp:Label ID="lblStars" runat="server"></asp:Label> <br />
                   </div>
                   <div class="precio">
                   <br />                            
                   <asp:Label ID="lblFare" runat="server" style="font-weight:bold" />
                   <br />
                   <div id="divComprar" runat="server" clientidmode="Static">                            
                   <telerik:RadButton ID="btnComprar" runat="server" Height="56px" Width="75px" Text="Comprar"
                           ForeColor="White" OnClick="BtnComprar_OnClick" Image-IsBackgroundImage="true"
                    Image-HoveredImageUrl="~/Images/btnBuscarHovered.png" Image-ImageUrl="~/Images/btnBuscar.png" >
                   </telerik:RadButton>
                   </div>                                                        
                   </div>                                            
                    </ItemTemplate>
                    <Columns>
                           //etc. 
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>
Roberts
Top achievements
Rank 1
 answered on 11 Nov 2011
1 answer
121 views
Is there any way to bind the checked/unchecked status of the listbox checkboxes from the datasource?
Thanks.
Dan
Dan
Top achievements
Rank 2
 answered on 11 Nov 2011
0 answers
113 views
Hello!
I have a RadRibbonBar in Master Page, and RadGrid in Details.
RadGrid contains

  <telerik:GridTemplateColumn  UniqueName="Select" HeaderStyle-Width="3%"  AllowFiltering="false">
                          
                          <ItemTemplate>
                           <asp:CheckBox  id="chkSelect" runat="server"  />
                          </ItemTemplate>
                          
                       </telerik:GridTemplateColumn>

When user click on Export button, I need Get all rows selected in RadGrid. And export to XLS.

I dont kwon how access to selected Rows from radribbonBar :-)

thanks!

july
July
Top achievements
Rank 2
 asked on 11 Nov 2011
3 answers
216 views
Hi,

I'm having trouble with my RadGrid - whenever I try editing an item the row isn't put into edit mode and instead all the data is lost from the Grid.  I have AllowAutomaticUpdates set to true, and am using the NeedDataSource method.

My aspx code:
<telerik:RadGrid ID="SubmittedApplicantsRadGrid" runat="server" GridLines="Both" AutoGenerateColumns="False" OnNeedDataSource="SubmittedApplicantsRadGrid_NeedDataSource" AllowAutomaticDeletes="true" AllowAutomaticInserts="true" AllowAutomaticUpdates="true">
    <ValidationSettings ValidationGroup="SubmittedApplicants"></ValidationSettings>
    <MasterTableView DataKeyNames="Id" EditMode="InPlace" CommandItemDisplay="None" NoMasterRecordsText="No applicants submitted to this job">
    <Columns>       
        <telerik:GridBoundColumn DataField="ApplicantName.Title" DataType="System.String" ReadOnly="true" HeaderText="Name" UniqueName="Name"></telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="PayRate" DataType="System.Double" DataFormatString="{0:C}" ReadOnly="true" HeaderText="Pay Rate" UniqueName="PayRate"></telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="BillRate" DataType="System.Double" DataFormatString="{0:C}" ReadOnly="true" HeaderText="Bill Rate" UniqueName="BillRate"></telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="ApplicantName.Class" DataType="System.String" ReadOnly="true" HeaderText="Employee Class" UniqueName="Class"></telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="SubmittedBy.Title" DataType="System.String" ReadOnly="true" HeaderText="Submitted By" UniqueName="SubmittedBy"></telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="SubmittedDate" DataType="System.DateTime"  ReadOnly="true" HeaderText="Submitted On" UniqueName="SubmittedDate"></telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="ForwardedBy.Title" DataType="System.String" ReadOnly="true" HeaderText="Forwarded By" UniqueName="ForwardedBy"></telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="ForwardedDate" DataType="System.DateTime" ReadOnly="false" HeaderText="Forwarded On" UniqueName="ForwardedDate"></telerik:GridBoundColumn>
        <telerik:GridCheckBoxColumn DataField="Interviewed" DataType="System.Boolean" ReadOnly="false" HeaderText="Interviewed?" UniqueName="Interviewed"></telerik:GridCheckBoxColumn>
 
        <telerik:GridEditCommandColumn ButtonType="ImageButton">
            <ItemStyle Wrap="False" Width="28px" />
        </telerik:GridEditCommandColumn>
    </Columns>
 
    <EditFormSettings>
        <EditColumn UniqueName="EditCommandColumn1"></EditColumn>
    </EditFormSettings>
    </MasterTableView>
</telerik:RadGrid>

And my C# code:
protected void SubmittedApplicantsRadGrid_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
{
    EntityList<ApplicantsSubmittedJobsItem> ApplicantsSubmittedJobs = data.GetList<ApplicantsSubmittedJobsItem>("ApplicantsSubmittedJobs");
 
    var applicantSubmittedJobs = from applicantSubmittedJob in ApplicantsSubmittedJobs
                                 select applicantSubmittedJob;
 
    SubmittedApplicantsRadGrid.DataSource = applicantSubmittedJobs;
}

Any help you could provide would be much appreciated.

Thanks!
Tarkon
Top achievements
Rank 1
 answered on 11 Nov 2011
6 answers
177 views

I have a TreeList with text columns and checkbox columns. Is there a way to allow the checkboxes to be clicked and change state in the TreeList and display a popup dialog for text editing?

Paul
Top achievements
Rank 1
 answered on 11 Nov 2011
3 answers
142 views
Hello

I've been able to set some properties like header, footer, margins, orientation, etc but I got stuck on others:
- header/footer right alignment
- PaperSize property
- PrintHeadings property
- Zoom property
- set scaling to "fit all columns on one page".

Any help will be greatly appreciated.
Daniel
Telerik team
 answered on 11 Nov 2011
5 answers
154 views
Hello,

For anyone out there using IE 9 and version 2010.1.519.35 ASP .NET I think I may have found a bug. Now I am not sure if this is a Telerik or Msoft issue but it is there either way. The drag and drop capability was not working between the two list boxes. Had me pulling my hair out till I tried other IE versions along with Safari and Firefox. The code below worked in every way except for drag and drop and the Server side API event were not firing.

<td>
     <telerik:RadListBox ID="AvailableRolesListBox" runat="server" Height="200" DataTextField="DisplayName" DataValueField="RoleId" CssClass="AvailableRolesListBox" SelectionMode="Multiple" AllowTransfer="true" TransferToID="SelectedRolesListBox" OnTransferred="RadListBox_Transferred" AutoPostBackOnTransfer="true" EnableDragAndDrop="true" AllowTransferOnDoubleClick="true" OnDropped="RadListBox_Dropped" Skin="WebBlue" />
</td>
 
<td>
       
</td>
                     
<td>
     <telerik:RadListBox ID="SelectedRolesListBox" runat="server" Height="200" DataTextField="DisplayName" DataValueField="RoleId" CssClass="SelectedRolesListBox" SelectionMode="Multiple" AllowTransfer="true" TransferToID="AvailableRolesListBox" OnTransferred="RadListBox_Transferred" AutoPostBackOnTransfer="true" EnableDragAndDrop="true" AllowTransferOnDoubleClick="true" OnDropped="RadListBox_Dropped" Skin="WebBlue" />
</td>


As I mentioned earlier I don't know if this is a problem with IE or Telerik and I know that Telerik has a newer release of the ASP .NET controls and hopefully by Q4 I can get this very large site upgraded to them. This post is mostly to help anyone out there hitting the same wall and Goggling for help.

JB
federic batista
Top achievements
Rank 1
 answered on 11 Nov 2011
1 answer
125 views
Hi telerik team,

I need a clarification in add custom drop down.
When i add custom drop down via code behind,only able to see the custom drop down only.

Instead of that ,Is any possibility to add custom dropdown in that full set of tools. If possible,share any idea to proceed.

Expecting your valuable suggestions.

Thank you.
Rumen
Telerik team
 answered on 11 Nov 2011
2 answers
87 views
Currently, the date is a Link, and I don't want it to be.  How do I disable that?
Peter
Telerik team
 answered on 11 Nov 2011
10 answers
160 views
I just ran the Telerik update wizard because for some reason my web.config was not setup to run RadControls. It modified my web.config. I am not getting the following error:

ASP.NET Ajax client-side framework failed to load.

What is going on? Can someone please help me unscrew my project...

Thanks,
Duncan
Duncan
Top achievements
Rank 2
 answered on 11 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?