Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
101 views
I am experiencing some behavior I consider strange when using the grid with the settings of HierarchyLoadMode="Client" along with paging.  My highest grid has it's PageSize = 10 and is using a NestedViewTemplate with a grid inside of it.  When I execute the page the markup is automatically loaded with 11 rows of controls for the parent grid and then each of them have a nested table with 11 rows within them.  This would be fine if I had that much data, but in most cases I only have a few rows of data at the parent and a two or three at the child grid level. 

In most of my cases, it is causing the size of my pages to increase from 400kb to 1700kb.

Is it expected to populate all of these extra rows in preparation for client activity?

Best Wishes,
Keith
Tsvetina
Telerik team
 answered on 05 Dec 2011
2 answers
118 views
Hi,
I was able to hide the toolbar for visitors and display the content from a database. But I can't get the scrollbar where the content is larger than the control height..
How can I display the scrollbar?

Thanks,
Kamal
Rumen
Telerik team
 answered on 05 Dec 2011
1 answer
135 views

I am making a Telerik Radgrid with EntityDataSource control as its Datasource.

The current table has a Many-To-Many relationship with a second table. I wanted to show the list of Title (field) of the second table on a repeater inside a GridTemplateColumn.

Is it possible to fill the repeater with the list of object from the second table? If it is, then how?

Thanks a lot.

Tsvetina
Telerik team
 answered on 05 Dec 2011
1 answer
153 views
Hello, I am trying to export to pdf using a radeditor, however, when i open the file with adobe reader i get this message:

"Adobe Reader could not open 'Certificate.pfd' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and was wasn't correctly decoded)"

i am assigning to the radeditor.content the html code:

<h1>
<span class="titulo" id="ctl00_ContentPlaceHolder1_Label1">Aplicaciones por tipo</span>
</h1>
<p>
<span id="ctl00_ContentPlaceHolder1_Label2">Aqu&iacute; encuentra las aplicaciones agrupadas por tipo</span>
</p>

Any suggestions?
this is how my radeditor is defined:
 <telerik:RadEditor ID="redCertificate" runat="server" Width="90%" Height="800px"
                Language="es-ES"
                ContentFilters="PdfExportFilter, DefaultFilters">
                <exportsettings openinnewwindow="true" filename="Certificate">
                <Rtf PageHeader="RadEditor content" />
                <Pdf PageTitle="Sample page title" />
            </exportsettings>
                <content></content>
            </telerik:RadEditor>

thanks in advance
Shinu
Top achievements
Rank 2
 answered on 05 Dec 2011
2 answers
92 views
Hi. I have a weird issue where I am trying to enable an HTML button with JQuery from TabStrip. The button is enabled on Chrome and Firefox but only appears enabled when you mouse off the TabStrip in IE7 (or IE7 standards mode under IE8 & IE9). This is a rather urgent problem that needs resolving. Below is the code I'm using. Thanks.

Daniel
<telerik:RadScriptManager runat="server" ID="RadScriptManager1">
    <Scripts>
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
    </Scripts>
</telerik:RadScriptManager>
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
 
    <script type="text/javascript">
        window.$ = $telerik.$;
 
        function OnClientTabSelected(sender, eventArgs) {
            $("#Button1:button").removeAttr("disabled");
        }
         
    </script>
 
</telerik:RadCodeBlock>
<telerik:RadTabStrip ID="RadTabStrip1" runat="server" OnClientTabSelected="OnClientTabSelected" MultiPageID="RadMultiPage1">
    <Tabs>
        <telerik:RadTab runat="server" Text="Root RadTab1">
        </telerik:RadTab>
        <telerik:RadTab runat="server" Text="Root RadTab2">
        </telerik:RadTab>
        <telerik:RadTab runat="server" Text="Root RadTab3">
        </telerik:RadTab>
    </Tabs>
</telerik:RadTabStrip>
<telerik:RadMultiPage ID="RadMultiPage1" runat="server">
    <telerik:RadPageView ID="RadPageView1" runat="server">
        RadPageView1</telerik:RadPageView>
    <telerik:RadPageView ID="RadPageView2" runat="server">
        RadPageView2</telerik:RadPageView>
    <telerik:RadPageView ID="RadPageView3" runat="server">
        RadPageView3</telerik:RadPageView>
</telerik:RadMultiPage><br />
<br />
<input id="Button1" type="button" value="button" disabled="disabled" />


Daniel
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 05 Dec 2011
4 answers
211 views
Hi There,

I am facing an issue and not able to figure out what is happening. Here is the scenario.

I have a
MasterPage->ContentPage->RadGrid
MasterPage->ContentPage->RadWindow

I have enabled drag drop functionality on the RadGrid.
Once an Item is dropped a RadWindow(Modal Popup) opens where the user can select a MSDD (stored in the database).
This Rad Popup window has a user control which also has another RadWindow which opens on click of an image and the user can configure a MSDD on this window.

The problem starts when the 2 Popup is used to save new or delete existing MSDD in subsequent calls.
When I reach to the main page I have code which rebinds the grid which contains the newly added MSDD but for mentioned scenario the RadGrid completely disappears as it cannot find any data for that grid on the AjaxRequest method on the server.

It is really difficult to explain the exact issue so I thought of creating a sample project which could re-create the problem, but I was not successful in that.

I cannot attach the sample project due to file type limitaion on this site.
So I am really not sure if its possible to show what I am trying to achieve.

If required I can paste the code for each page.

Thanks,
Nilesh

Nilesh
Top achievements
Rank 1
 answered on 05 Dec 2011
1 answer
94 views
Hi, I have a RadGrid, created entirely programatically, I need to add the equivalent to

<Telerik:GridTemplateColumn UniqueName="Assigned" HeaderText="Assigned">
                    <ItemTemplate>
                        <Telerik:RadButton ID="rbAssigned" runat="server" ToggleType="CheckBox" ButtonType="ToggleButton"
                            AutoPostBack="false" Skin="Forest" EnableEmbeddedSkins="true" EnableEmbeddedBaseStylesheet="true"
                            OnClientLoad="ButtonLoad" CommandName="Select" OnCheckedChanged="ToggleRowSelection">
                            <ToggleStates>
                                <Telerik:RadButtonToggleState PrimaryIconCssClass="rbToggleCheckboxChecked" Selected="true" />
                                <Telerik:RadButtonToggleState PrimaryIconCssClass="rbToggleCheckbox" />
                            </ToggleStates>
                        </Telerik:RadButton>
                    </ItemTemplate>
                    <ItemStyle Width="50px" />
                </Telerik:GridTemplateColumn>

How can I do this? I didn't find any example
Shinu
Top achievements
Rank 2
 answered on 05 Dec 2011
1 answer
257 views
I have a RadListBox implemented thusly:

    <telerik:RadPane ID="radPaneLeft" runat="server" Scrolling="None" MinWidth="170" MaxWidth="300"><br>      <telerik:RadSlidingZone ID="radSlidingZone" runat="server" Width="22" Height="0" ClickToOpen="true" DockedPaneId="radSlidingPane"><br>        <telerik:RadSlidingPane ID="radSlidingPane" runat="server" BackColor="#F0F8FF" CssClass="slidingPane" TabView="TextAndImage" IconUrl="~/Images/hierarchy.gif"<br>                                DockOnOpen="true" OnClientDocked="radSlidingPane_Docked" OnClientUndocked="radSlidingPane_Undocked"><br>          <telerik:RadListBox ID="radListBoxStopes" runat="server" Width="100%" Height="100%" AutoPostBack="true" <br>                              OnItemCreated="radListBoxStopes_ItemCreated" OnSelectedIndexChanged="radListBoxStopes_SelectedIndexChanged"><br>            <ItemTemplate><br>              <asp:Panel runat="server"><br>                <asp:Label ID="labelStope" runat="server" Text='<%# Eval("Description") %>' CssClass="muckListPrimary" /><br /><br>                <asp:Label ID="labelUnits" runat="server" Text='<%# Eval("Units", "{0:0 units}") %>' CssClass="muckListSecondary" /><br>                <asp:HiddenField ID="hidFieldMaterial" runat="server" Value='<%# Eval("Material").ToString() %>' /><br>              </asp:Panel><br>            </ItemTemplate><br>          </telerik:RadListBox><br>          <telerik:RadContextMenu ID="radContextMenu_ListBoxStopes" runat="server" OnItemClick="radContextMenu_ListBoxStopes_Click"><br>            <Targets><br>              <telerik:ContextMenuControlTarget ControlID="radListBoxStopes" /><br>            </Targets>          <br>            <Items><br>              <telerik:RadMenuItem Text="Set as desktop" Value="D" /><br>              <telerik:RadMenuItem Text="Open in a new window" Value="W" /><br>            </Items><br>          </telerik:RadContextMenu><br>        </telerik:RadSlidingPane><br>      </telerik:RadSlidingZone><br>    </telerik:RadPane><br>

I would like to be able to double-click on any item in the ListBox and have the ContextMenu appear.  I've tried several approaches to make this work but to no avail.

How would I do it?

Robert



Princy
Top achievements
Rank 2
 answered on 05 Dec 2011
1 answer
413 views
I'm writing to ask how best to align a RadToolBarDropDown item to the far right of the RadToolBar;

Setting dir="rtl" on the RadToolBar itself aligns the RadToolBar to the right - but setting dir="rtl" on the RadToolBarDropDown has no affect;

Thanks in advance for any insight;  Best regards - Rob

<telerik:RadToolBar ID="RadToolBar1" runat="server" Width="100%" 
           Skin="Black">
           <Items>
               <telerik:RadToolBarButton runat="server" Text="Documents">
               </telerik:RadToolBarButton>
               <telerik:RadToolBarButton runat="server" IsSeparator="true">
               </telerik:RadToolBarButton>
               <telerik:RadToolBarDropDown runat="server" Text="Fleet Advantage">
                   <Buttons>
                       <telerik:RadToolBarButton runat="server" Text="Sign Out" >
                       </telerik:RadToolBarButton>
                       <telerik:RadToolBarButton runat="server" Text="Contact Us" >
                       </telerik:RadToolBarButton>
                   </Buttons>
               </telerik:RadToolBarDropDown>
           </Items>
       </telerik:RadToolBar>
Princy
Top achievements
Rank 2
 answered on 05 Dec 2011
1 answer
40 views
Hi,

I have same problem trying to achieve single expand in hierachical grid. I have searched old posts and found same but answers are keep pointing to missing links. Can anybody help regarding this issue ?

http://www.telerik.com/help/aspnet-ajax/grdsingleexpandinhierarchicalgrid.html

Regards,
              ctikiki
Shinu
Top achievements
Rank 2
 answered on 05 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?