Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
143 views
Hello,

I am currently developing a User Control which contains a RadListView and a RadDataPager. The User Control receives a parameter which is a String representing the Skin to be applied to the Telerik Controls, and the setting is done on 

protected void Page_Load(object sender, EventArgs e)
{
if (Visible == true)
{
this.RadListView_RelevantEvents.Skin = this.Skin;
this.RadDataPager_RadListView_RelevantEvents.Skin = this.Skin;
....
}
}

Nonetheless, only the RadDataPager_RadListView_RelevantEvents gets the skin applied to it whilst RadListView_RelevantEvents inherits the Skin from the Parent element which is a RadDock.

Can someone please provide some help?

Thank you for your attention.

Kind regards,

Kostadin
Telerik team
 answered on 29 May 2013
1 answer
73 views
This option is not working with MetroTouch skin.
Ivan Zhekov
Telerik team
 answered on 29 May 2013
4 answers
231 views
Hi All,

Is there any option to reduce the height of the ribbonbar?

Regards,
Prasad
Ivan Zhekov
Telerik team
 answered on 29 May 2013
2 answers
104 views
Hi,

We have a requirement where we need to show row separator in the exported pdf file, please let us know how this can be implemented in the current html structure (Where Table tr and td has been used) as pasted below.

This is very urgent, please reply asap.

PFA the snap shot where we need row separator after each row.

<telerik:RadGrid runat="server" ID="RadGrid2" EnableEmbeddedSkins="false" GridLines="None"
       ShowFooter="false" AllowPaging="false" OnPdfExporting="TestGrid2_PDFExporting" OnItemCreated="RadGrid2_ItemCreated" >
       <ExportSettings OpenInNewWindow="true">
           <Pdf PageHeight="210mm" PageWidth="297mm" PageBottomMargin="20mm" PageTopMargin="20mm"
               PageLeftMargin="20mm" PageRightMargin="20mm"></Pdf>
       </ExportSettings>
       <MasterTableView AutoGenerateColumns="False" CommandItemDisplay="Bottom">
           <Columns>
               <telerik:GridTemplateColumn UniqueName="InvName">
                   <HeaderTemplate>
                       <asp:Label ID="labelHInvName" runat="server" Text="Inv Name"></asp:Label>
                   </HeaderTemplate>
                   <ItemTemplate>
                       <table>
                           <colgroup>
                              <col  />
                           </colgroup>
                           <tr>
                               <td>
                                   <asp:Label ID="label1" runat="server" Text="AC Test Data One"></asp:Label>
                               </td>
                           </tr>
                           <tr>
                               <td>
                                   <asp:Label ID="label2" runat="server" Text="AC Test Data Two"></asp:Label>
                               </td>
                           </tr>
                           <tr>
                               <td>
                                   <asp:Label ID="labelInvName" runat="server" Text='<%# Bind("InvName") %>'></asp:Label>  
                                   <asp:Label ID="labelShortName" runat="server" Text='<%# Bind("ShortName") %>'></asp:Label>  
                                   <asp:Label ID="labelStatus" runat="server" CssClass="FundStatus" Text='<%# Bind("Status") %>'></asp:Label>
                               </td>
                           </tr>
                       </table>
                   </ItemTemplate>
               </telerik:GridTemplateColumn>
               <telerik:GridTemplateColumn UniqueName="Symbol">
                   <HeaderTemplate>
                       <asp:Label ID="labelHSymbol" runat="server" Text="Symbol"></asp:Label>
                   </HeaderTemplate>
                   <ItemTemplate>
                       <table>
                           <colgroup>
                              <col  />
                           </colgroup>
                           <tr>
                               <td>
                               </td>
                           </tr>
                           <tr>
                               <td>
                               </td>
                           </tr>
                           <tr>
                               <td>
                                   <asp:Label ID="labelSymbol" runat="server" Text='<%# Bind("Symbol") %>'></asp:Label>
                               </td>
                           </tr>
                       </table>
                   </ItemTemplate>
               </telerik:GridTemplateColumn>
               <telerik:GridTemplateColumn UniqueName="MSRating">
                   <HeaderTemplate>
                       <asp:Label ID="labelHMSRating" runat="server" Text="MSRating"></asp:Label>
                   </HeaderTemplate>
                   <ItemTemplate>
                       <table>
                           <colgroup>
                              <col  />
                           </colgroup>
                           <tr>
                               <td>
                               </td>
                           </tr>
                           <tr>
                               <td>
                               </td>
                           </tr>
                           <tr>
                               <td>
                                   <asp:Label ID="labelMSRating" runat="server" Text='<%# Bind("MSRating") %>'></asp:Label>
                               </td>
                           </tr>
                       </table>
                   </ItemTemplate>
               </telerik:GridTemplateColumn>
               <telerik:GridTemplateColumn UniqueName="NERatio">
                   <HeaderTemplate>
                       <asp:Label ID="labelHNERatio" runat="server" Text="NERatio"></asp:Label>
                   </HeaderTemplate>
                   <ItemTemplate>
                       <table>
                           <colgroup>
                              <col  />
                           </colgroup>
                           <tr>
                               <td>
                               </td>
                           </tr>
                           <tr>
                               <td>
                               </td>
                           </tr>
                           <tr>
                               <td>
                                   <asp:Label ID="labelNERatio" runat="server" Text='<%# Bind("NERatio") %>'></asp:Label>
                               </td>
                           </tr>
                       </table>
                   </ItemTemplate>
               </telerik:GridTemplateColumn>
               <telerik:GridTemplateColumn UniqueName="GERatio">
                   <HeaderTemplate>
                       <asp:Label ID="labelHGERatio" runat="server" Text="GERatio"></asp:Label>
                   </HeaderTemplate>
                   <ItemTemplate>
                       <table>
                           <colgroup>
                              <col  />
                           </colgroup>
                           <tr>
                               <td>
                               </td>
                           </tr>
                           <tr>
                               <td>
                               </td>
                           </tr>
                           <tr>
                               <td>
                                   <asp:Label ID="labelGERatio" runat="server" Text='<%# Bind("GERatio") %>'></asp:Label>
                               </td>
                           </tr>
                       </table>
                   </ItemTemplate>
               </telerik:GridTemplateColumn>
               <telerik:GridTemplateColumn UniqueName="OneQ">
                   <HeaderTemplate>
                       <asp:Label ID="labelHOneQ" runat="server" Text="OneQ"></asp:Label>
                   </HeaderTemplate>
                   <ItemTemplate>
                       <table>
                           <colgroup>
                              <col  />
                           </colgroup>
                           <tr>
                               <td>
                               </td>
                           </tr>
                           <tr>
                               <td>
                               </td>
                           </tr>
                           <tr>
                               <td>
                                   <asp:Label ID="labelOneQ" runat="server" Text='<%# Bind("OneQ") %>'></asp:Label>
                               </td>
                           </tr>
                       </table>
                   </ItemTemplate>
               </telerik:GridTemplateColumn>
               <telerik:GridTemplateColumn UniqueName="YT">
                   <HeaderTemplate>
                       <asp:Label ID="labelHYT" runat="server" Text="YTenure"></asp:Label>
                   </HeaderTemplate>
                   <ItemTemplate>
                       <table>
                           <colgroup>
                              <col  />
                           </colgroup>
                           <tr>
                               <td>
                               </td>
                           </tr>
                           <tr>
                               <td>
                               </td>
                           </tr>
                           <tr>
                               <td>
                                   <asp:Label ID="labelYT" runat="server" Text='<%# Bind("YT") %>'></asp:Label>
                               </td>
                           </tr>
                       </table>
                   </ItemTemplate>
               </telerik:GridTemplateColumn>
               <telerik:GridTemplateColumn UniqueName="OneY">
                   <HeaderTemplate>
                       <asp:Label ID="labelHOneY" runat="server" Text="OneY"></asp:Label>
                   </HeaderTemplate>
                   <ItemTemplate>
                       <table>
                           <colgroup>
                              <col  />
                           </colgroup>
                           <tr>
                               <td>
                               </td>
                           </tr>
                           <tr>
                               <td>
                               </td>
                           </tr>
                           <tr>
                               <td>
                                   <asp:Label ID="labelOneY" runat="server" Text='<%# Bind("OneY") %>'></asp:Label>
                               </td>
                           </tr>
                       </table>
                   </ItemTemplate>
               </telerik:GridTemplateColumn>
               <telerik:GridTemplateColumn UniqueName="ThreeY">
                   <HeaderTemplate>
                       <asp:Label ID="labelHThreeY" runat="server" Text="ThreeY"></asp:Label>
                   </HeaderTemplate>
                   <ItemTemplate>
                       <table>
                           <colgroup>
                              <col  />
                           </colgroup>
                           <tr>
                               <td>
                               </td>
                           </tr>
                           <tr>
                               <td>
                               </td>
                           </tr>
                           <tr>
                               <td>
                                   <asp:Label ID="labelThreeY" runat="server" Text='<%# Bind("ThreeY") %>'></asp:Label>
                               </td>
                           </tr>
                       </table>
                   </ItemTemplate>
               </telerik:GridTemplateColumn>
               <telerik:GridTemplateColumn UniqueName="FiveY">
                   <HeaderTemplate>
                       <asp:Label ID="labelHFiveY" runat="server" Text="FiveY"></asp:Label>
                   </HeaderTemplate>
                   <ItemTemplate>
                       <table>
                           <colgroup>
                              <col  />
                           </colgroup>
                           <tr>
                               <td>
                               </td>
                           </tr>
                           <tr>
                               <td>
                               </td>
                           </tr>
                           <tr>
                               <td>
                                   <asp:Label ID="labelFiveY" runat="server" Text='<%# Bind("FiveY") %>'></asp:Label>
                               </td>
                           </tr>
                       </table>
                   </ItemTemplate>
               </telerik:GridTemplateColumn>
               <telerik:GridTemplateColumn UniqueName="TenY">
                   <HeaderTemplate>
                       <asp:Label ID="labelHTenY" runat="server" Text="TenY"></asp:Label>
                   </HeaderTemplate>
                   <ItemTemplate>
                       <table >
                           <colgroup>
                              <col  />
                           </colgroup>
                           <tr>
                               <td>
                               </td>
                           </tr>
                           <tr>
                               <td>
                               </td>
                           </tr>
                           <tr>
                               <td>
                                   <asp:Label ID="labelTenY" runat="server" Text='<%# Bind("TenY") %>'></asp:Label>
                               </td>
                           </tr>
                       </table>
                   </ItemTemplate>
               </telerik:GridTemplateColumn>
               <telerik:GridTemplateColumn UniqueName="ThreeYR">
                   <HeaderTemplate>
                       <asp:Label ID="labelHThreeYR" runat="server" Text="ThreeYR"></asp:Label>
                   </HeaderTemplate>
                   <ItemTemplate>
                       <table>
                           <colgroup>
                              <col  />
                           </colgroup>
                           <tr>
                               <td>
                               </td>
                           </tr>
                           <tr>
                               <td>
                               </td>
                           </tr>
                           <tr>
                               <td>
                                   <asp:Label ID="labelThreeYR" runat="server" Text='<%# Bind("ThreeYR") %>'></asp:Label>
                               </td>
                           </tr>
                       </table>
                   </ItemTemplate>
               </telerik:GridTemplateColumn>
           </Columns>
           <CommandItemStyle HorizontalAlign="Left" Wrap="true" Width="100%" />
           <CommandItemTemplate>
               <asp:Label ID="lblText" runat="server" Visible="false" Width="100%"></asp:Label>
           </CommandItemTemplate>
       </MasterTableView>
   </telerik:RadGrid>
Kostadin
Telerik team
 answered on 29 May 2013
1 answer
86 views
Hi,

How can I integrate radinputmanager in my MVC app. Any sample solution will be really helpful.

Thanks and regards
Robert
Shinu
Top achievements
Rank 2
 answered on 29 May 2013
1 answer
185 views
Hello,
I have 2 scenarios.
First:
1. Open Sitecore Content Editor in "Internet Explorer".
2. Navigate to an item with an empty rich text field and click on 'Show Editor'.
3. Select Html view, select All and delete the contents.
4. Select Design view.
5. Press 'Enter' only once.
6. Go back to Html view.
7. The html markup produced is as below:
<p> </p>
<p> </p>

8. Repeat the above steps in Chrome.
9. The html markup produced is as below:
<br />
<p><br /></p>

Second:
1. Paste the following markup in a Rich Text Editor's Html view:
<div style="width: 100%;">ABC</div>
<div style="width: 100%;">DEF</div>
2. Go back to design view.
3. In "Internet Explorer" the above 'div's can be selected, dragged and dropped.
4. In Chrome they are not selectable.

Why does the editor behaves differently in IE and Chrome? Can this be fixed?

Slav
Telerik team
 answered on 29 May 2013
6 answers
242 views
Hi,

Exporting data to pdf file which is forming border around <td> tag even if "boarder:0px" has been used, please let us know the resolution to get rid of this border around <td>.

In OnPdfExporting, if we access e.RowHtml, there formatting is correct but while exporting it's creating border around <td>, trying to figure it out why it's happening.

Please let me know If you already have any idea / solution to fix this.
Kostadin
Telerik team
 answered on 29 May 2013
1 answer
169 views
Folks,

Using RadControls for ASP.NET AJAX Q1 2013 SP2 with VS 2010. I am using below link as prototype.
 

http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/threelevel/defaultcs.aspx


Also my grid has making a Grid Row Selected at All Times (similar to WinForms grids) is enabled as described by below link.


http://www.telerik.com/help/aspnet-ajax/grid-selected-row-at-all-times.html


My question is it possible to highlight the parent row if it is expanded(Attached)? In attached file 1st row is highlighted, not the expanded row. I do want a grid row be selected all times also want highlight the parent row when it is expanded. That is my intention.

Any help is appreciated.
Sincerely

gc_0620
Princy
Top achievements
Rank 2
 answered on 29 May 2013
2 answers
159 views
Hi,
I have problems with IE showing CheckBox. It's working prefect in Chrome. In IE it's not showing checkbox at all.

Here's the code:

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .RadForm_CRM {
  

 /* checkboxes */
  }

  .RadForm_CRM.rfdCheckbox input[type="checkbox"], .RadForm_CRM.rfdCheckbox input[type="checkbox"][disabled]:hover, .RadForm_CRM.rfdRadio input[type="radio"], .RadForm_CRM.rfdRadio input[type="radio"][disabled="disabled"]:hover {
    /*height: 30px;
    line-height: 30px !important;
    padding-left: 22px !important;*/
    /*background-image: url('../Common/MetroTouch/CheckBoxRadioSprites.png');
    background-repeat: no-repeat;*/
 background-position:0 0 !important; 
  }
  .RadForm_CRM.rfdCheckbox label, .RadForm_CRM.rfdRadio label {
    vertical-align: middle;
  }
  .RadForm_CRM.rfdCheckbox input[type="checkbox"], .RadForm_CRM.rfdCheckbox input[type="checkbox"][disabled]:hover {
     background-image: url('../Common/MetroTouch/CheckBox.png') !important;
 background-position:0 0 !important;
 background-repeat: no-repeat !important;
 height:24px !important;
 width:24px !important;
  }
  .RadForm_CRM.rfdCheckbox input[type="checkbox"]:hover {
    background-image: url('../Common/MetroTouch/CheckBoxHover.png') !important;
 background-position:0 0 !important;
 background-repeat: no-repeat !important;
 height:24px !important;
 width:24px !important;
  }
  .RadForm_CRM.rfdCheckbox input[type="checkbox"]:checked, .RadForm_CRM.rfdCheckbox input[type="checkbox"][disabled]:hover:checked {
    background-image: url('../Common/MetroTouch/CheckBoxChecked.png') !important;
 background-position:0 0 !important;
 background-repeat: no-repeat !important;
 height:24px !important;
 width:24px !important;
  }
  .RadForm_CRM.rfdCheckbox input[type="checkbox"]:hover:checked {
    background-image: url('../Common/MetroTouch/CheckBoxCheckedHover.png') !important;
 background-position:0 0 !important;
 background-repeat: no-repeat !important;
 height:24px !important;
 width:24px !important;
  }

Any ideas?

THX.

Uros

Uros
Top achievements
Rank 1
 answered on 29 May 2013
4 answers
185 views
Hello,

We want to create a Web-Application like SharePoint.

To do this, we use the Ribbon-Bar.

At the first RibbonBarTab in SharePoint you see an Image (logo) an the name of the WebApplication.

So you need a Panel with an Label and an Image...

But your <items>-Tag does not accept a panel...

Please open the attached image.

Thank you for your help.

Best Regards,
Jan
Jan
Top achievements
Rank 1
 answered on 29 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?