Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
98 views
In my solution I have RadSplitter with two panes top / bottom. RadRibbonBar is placed inside top pane, content inside bottom.
How can I make RibbonBarMenu to appear above bottom pane (now it hides underneath bottom pane - see attached file)?

piotre6
Top achievements
Rank 1
 answered on 13 Feb 2012
4 answers
171 views
Hi all,

I have a RadWindow control that has its NavigateURL set to an aspx page in my application. The window is displayed as a result of the user selecting an item from the RadToolBar. I have the window loading correctly, but it seems like the first time the window loads, it uses some predefined dimensions and then snaps to the size of the content. This looks really ugly. If I close the window and open it again, it loads fine until the parent page is reloaded and then it starts all over again.

Is there any way to get the content to load before the window is shown so that it has time to figure out the required dimensions? I have tried calling the autoSize method from the ClientOnPageLoad, but that didn't work.

Any recommendations?

Thanks,
Jen
Marin Bratanov
Telerik team
 answered on 13 Feb 2012
2 answers
174 views
Hi guy's

I'm using Radeditor on a ASP.Net webpage using VB.NET
On the page I use an radeditor with enabled = false just to show HTML content and use some features of the editor.

The content below is sample content and when I try to export to PDF it gives me an error.
When I remove the image all works fine.

I used the sample database content provider and everything worked fine except the export to PDF with images having that database path still in the source string.

So I made my program that the images are stored in the db manually and just before loading the content I load the images from the db manually so that the images in the content can use local (virtual) references.

Does anybody see what's wrong with the image in my sample content and especially the image waterlelies.jpg ??

The error comes after i clicked "open" in the pdf dialog and it say's that de pdf cannot be opened because the filetype is not supported by acrobat reader. If I save the pdf it's size is 0kb ...

Where can I see more detaild error subscription?

Regards,

Rick Rehorst

Sample content:
h2 id="H1.0"><span style='color: #e36c09; font-size: 18px;'>Hoofdstuk 1</span></h2><br/>Dit is een test voor klant 8<br />
<br />
Ik kan hier plaatjes invoegen<br />
<br />
<span style="font-family: ms sans serif;">Een ander lettertype selecteren<br />
</span><br />
en een opssomminkje maken<br />
<ul>
    <li>test</li>
    <li>test2</li>
    <li>test3</li>
    <li><fieldset style="width: 200px; height: 76px;"><legend>Title</legend>Content... </fieldset> </li>
</ul><h2 id="H1.1"><span style='color: #e36c09; font-size: 18px;'>1.1 Gegevens</span></h2><br/><img alt="" src="/RadControlsWebSite1/imgtemp/Waterlelies.jpg" />Empty <br />
<br /><h2 id="H1.2"><span style='color: #e36c09; font-size: 18px;'>1.2 Beschrijving</span></h2><br/>Empty <br />
<br /><h2 id="H2.0"><span style='color: #e36c09; font-size: 18px;'>Hoofdstuk 2</span></h2><br/>Dit is hoofdstuk 2<br />
<br /><h2 id="H2.1"><span style='color: #e36c09; font-size: 18px;'>2.1 Gegevens</span></h2><br/>Empty <br />
<br /><h2 id="H3.0"><span style='color: #e36c09; font-size: 18px;'>Hoofdstuk 3</span></h2><br/>Empty <br/><br/><h2 id="H4.0"><span style='color: #e36c09; font-size: 18px;'>Hoofdstuk 4</span></h2><br/>Dit is Hoofdstuk 4<br />
Dit ook<br />
Dit ook<br />
Dit ook<br />
<p>Dit ook<br />
Dit ook<br />
Dit ook<br />
Dit ook<br />
Dit ook<br />
Dit ook<br />
Dit ook<br />
Dit ook<br />
Dit ook<br />
Dit ook<br />
Dit ook<br />
Dit ook<br />
<br />
<br />
</p>
Rumen
Telerik team
 answered on 13 Feb 2012
3 answers
309 views

I have a repeater control in which I hava 2 labels and a radcombo box. I am able to populate the labels and the radcombobox.

The way it should work is I need to map a label text to the value in the radcombo box . The problem is even though the value in the combo is selected it keeps reseting to the first item in the drop down list.
Can someone help me to keep the selected value of the radcombo box selected.See attached jpg.

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
 <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">
    </telerik:RadStyleSheetManager>
    <h2>Server Request Dynamic Reports Creation</h2>
<p>
      
    <telerik:RadScriptManager ID="rsmDynamicReports" Runat="server">
    </telerik:RadScriptManager>    </p>
  
       
      <telerik:RadAjaxPanel ID="RadDynamicRpt" runat="server" HorizontalAlign="NotSet"  >
         <table id="telerikTable"  >
            <tr valign = "top">
                <td  > <asp:Label ID="lblRptServer" runat="server" Text="Report Server :" Font-Size="Small"></asp:Label></td>
                            <td colspan= "2" > <asp:DropDownList ID="ddlDynamicRpt" runat="server" AutoPostBack="True" ForeColor="#3366FF" Font-Size="Small">
                                    <asp:ListItem Value="0">--Select One--</asp:ListItem> </asp:DropDownList></td>
         
            </tr
            <tr valign="top">
                <td colspan="3" ><asp:Label ID="lblReportName" runat="server" Text="Select Report :" Font-Size="Small"></asp:Label></td>
          
            </tr>
            <tr valign="top">
                <td  ></td>
                    <td  colspan="2"
            <div style="width: 396px">
                <asp:Panel ID="panel1" Width="400px" BorderStyle="Solid" BorderWidth ="1pt" ScrollBars="Vertical"    runat="server">         
                <asp:TreeView ID="tvCatalog" runat="server" AutoGenerateDataBindings="true" 
                        BorderStyle= "none" Height="100px" Font-Size="Small" >
             
                </asp:TreeView>      
            
                </asp:Panel>                     
            
        </div></td>
         
     </tr>
      <tr valign="top">
        <td  ><asp:Label ID="label1" runat="server" Text="Report Path :" Font-Size="Small"></asp:Label></td>
        <td colspan="2"><telerik:RadTextBox ID="RadPath" runat="server" Width=398px 
                ForeColor="#3366FF" BorderStyle="Solid" BorderWidth="1pt" Enabled="False" 
                Font-Size="Small"></telerik:RadTextBox></td>
          
     </tr>
     <tr valign="top">
     <td></td>
     <td colspan="2">
                 <table>
                  
            <asp:Repeater ID="rptFields" runat="server" >
                <HeaderTemplate>
                    <tr>
                        <td width="150px">
                            <asp:Label ID="lblReportParam" runat="server"  ForeColor="Blue" Text="Report Parameter" Font-Bold="true"></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="lblServeRequest" runat="server" ForeColor="Blue"  Text="Server Request Field" Font-Bold="true"></asp:Label>
                        </td>
                    </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                            <asp:Label ID="lblReportParamField" runat="server" Text='<%# Bind("RptParam") %>'></asp:Label>
                        </td>
                        <td>
                              
                 <telerik:RadComboBox ID="rcbServerRequest" runat="server"  OnItemDataBound="rptFields_ItemDataBound" >
                   
                 </telerik:RadComboBox>
                   
  
                        </td>
                          
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
            </table>
  
  
       
     </td>
     </tr
     <tr valign = "top">
                <td  > </td>
                            <td colspan= "2"
                                <asp:Button ID="btnrpt" runat="server" Text="Submit" /></td>
         
            </tr
     </table>
        </telerik:RadAjaxPanel>
  
</asp:Content>

 

Dimitar Terziev
Telerik team
 answered on 13 Feb 2012
2 answers
111 views
I would like to do a postback with onClientHiding.... It seems that onClientHiding does fire but the postback is not..

   function OnClientHiding(sender, args) {
        __doPostBack('<%=btnCloseMessage.ClientID %>', 'OnClick');
    }
 
<asp:UpdatePanel ID="Message" runat="server" ChildrenAsTriggers="True" UpdateMode="Conditional"
    Visible="True">
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="btnCloseMessage" EventName="Click" />
    </Triggers>
    <ContentTemplate>
        <div style="visibility: hidden; height: 1px; width: 1px; overflow: hidden">
            <telerik:RadButton ID="btnCloseMessage" runat="server" OnClick="btnCloseMessage_Click" CausesValidation="False">
            </telerik:RadButton>
        </div>
        <telerik:RadNotification ID="RadNotification1" runat="server" Skin="Black" AutoCloseDelay="0"
            VisibleOnPageLoad="False" Width="300" Animation="Fade" EnableRoundedCorners="true"
            OnClientHiding="OnClientHiding" EnableShadow="true" Title="Breaking News" OffsetX="-20"
            OffsetY="-20">
            <ContentTemplate>
                <asp:Literal ID="litMessage" runat="server"></asp:Literal>
            </ContentTemplate>
        </telerik:RadNotification>
        <asp:Timer ID="Timer1" runat="server" Interval="1000" OnTick="Timer1_Tick">
        </asp:Timer>
    </ContentTemplate>
</asp:UpdatePanel>
Svetlina Anati
Telerik team
 answered on 13 Feb 2012
3 answers
267 views
Hi,

I have a radupload control. When I deploy the site to the server the select button does not render and I only see a cropped text input. I can click on that and select a file but it's not intuitive for the user.

I've gone through the forum threads and tried several things but none of them seemed to work. I've also tried the suggestions under http://www.telerik.com/help/aspnet-ajax/upload-select-button-not-visible-in-ie.html.

It renders fine when I run it through my visual studio but the sleect is not visible when deployed on the server.

Please help.
Bozhidar
Telerik team
 answered on 13 Feb 2012
1 answer
190 views
Hello, Telerik Team.

In the attached file, you will find a screen shot of the same web application in different browsers. On the left, Firefox 3.6.12; on the right, IE 8.0.

In Firefox, a vertical scroll bar is displayed because the RadDock component is not large enough to display all controls.
In IE, the vertical bar is not displayed.
It appears that padding in IE is "smaller" than in Firefox.

Is there any change I should implement in the following code in order to have a similar lay out in both browsers?
<asp:Panel runat="server" ID="DockPanel">
    <telerik:RadDock 
        runat="server" ID="RadDock1" Width="445px" Height="410px" Closed="true" Style="z-index: 2000;" Title="Group Training Class" OnClientDockPositionChanged="dockMoved">
        <Commands>
            <telerik:DockCloseCommand />
        </Commands>
        <ContentTemplate>
            <div class="editForm">
                <div class="content">
                    <table border="0" cellpadding="2" cellspacing = "5">
                        <tr><td></td><td></td></tr>
                        <tr><td></td><td></td></tr>
                        <tr>
                            <td align="right" style="padding:3px 0px 0px 0px;">
                                <asp:Label ID="label1" runat="server">Description:</asp:Label>
                            </td>
                            <td>
                                <telerik:RadTextBox ID="description" runat="server" TextMode="MultiLine" Rows="2" Columns="50" ReadOnly="true" Style="padding:5px;"></telerik:RadTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="padding:3px 0px 0px 0px;">
                                <asp:Label ID="label2" runat="server">Date:</asp:Label>
                            </td>
                            <td>
                                <telerik:RadTextBox ID="date" runat="server" ReadOnly="true" style="padding:2px;"></telerik:RadTextBox>
                            </td>
                        </tr>                          
                        <tr>
                            <td align="right" style="padding:3px 0px 0px 0px;">
                                <asp:Label ID="label3" runat="server">Start Time:</asp:Label>
                            </td>
                            <td>
                                <telerik:RadTextBox ID="start_time" runat="server" ReadOnly="true" style="padding:2px;"></telerik:RadTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="padding:3px 0px 0px 0px;">
                                <asp:Label ID="label4" runat="server">End Time:</asp:Label>
                            </td>
                            <td>
                                <telerik:RadTextBox ID="end_time" runat="server" ReadOnly="true" style="padding:2px;"></telerik:RadTextBox>
                            </td>
                        </tr>                            
                        <tr>
                            <td align="right" style="padding:3px 0px 0px 0px;">
                                <asp:Label ID="label5" runat="server" style="padding:2px;">Personal Trainer:</asp:Label>
                            </td>
                            <td>
                                <telerik:RadTextBox ID="personal_trainer" runat="server" ReadOnly="true" style="padding:2px;"></telerik:RadTextBox>
                            </td>
                        </tr>
                        <tr style="display:none;">
                            <td align="right">
                                <asp:Label ID="label7" runat="server">Registered Members:</asp:Label>
                            </td>
                            <td>
                                <telerik:RadTextBox ID="registered_members" runat="server" TextMode="MultiLine" Rows="2" Columns="50" ReadOnly="true"></telerik:RadTextBox>
                            </td>
                        </tr>
                        <tr style="display:none;">
                            <td align="right">
                                 <asp:Label ID="label8" runat="server">Wait List Members:</asp:Label>
                            </td>
                            <td>
                                <telerik:RadTextBox ID="wait_members" runat="server" TextMode="MultiLine" Rows="2" Columns="50" ReadOnly="true"></telerik:RadTextBox>
                            </td>
                        </tr>
                        <tr style="display:none;">
                            <td align="right">
                                 <asp:Label ID="label9" runat="server">Date (mm/dd/yyyy format):</asp:Label>
                            </td>
                            <td>
                                <telerik:RadTextBox ID="date_mmddyyyy" runat="server" ReadOnly="true"></telerik:RadTextBox>
                            </td>
                        </tr>
                        <tr style="display:none;">
                            <td align="right">
                                 <asp:Label ID="label10" runat="server">Start Time (hh:mm format):</asp:Label>
                            </td>
                            <td>
                                <telerik:RadTextBox ID="start_time_hhmm" runat="server" ReadOnly="true"></telerik:RadTextBox>
                            </td>
                        </tr>
                    </table>
  
                    <br />
                    <span style="padding:0px 145px 0px 3px;">Not Registered</span><span>Registered</span>
                    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" style="padding: 2px 0px 0px 3px;">
                        <telerik:RadListBox ID="members_not_assigned" runat="server" Width="225px" Height="100px"
                            SelectionMode="Single" AllowTransfer="true" TransferToID="members_assigned" AutoPostBackOnTransfer="false"
                            AllowReorder="false" AutoPostBackOnReorder="false" EnableDragAndDrop="true" ButtonSettings-ShowTransferAll="false" OnClientTransferring="TransferringListBoxItem">
                        </telerik:RadListBox>
                        <telerik:RadListBox ID="members_assigned" runat="server" Width="195px" Height="100px"
                            SelectionMode="Single" AllowReorder="false" AutoPostBackOnReorder="true" EnableDragAndDrop="true">
                        </telerik:RadListBox>
                    </telerik:RadAjaxPanel>
                    <label style="padding: 0px 0px 0px 3px; font-size:smaller">* Member name followed by an asterisk indicates member is on the wait list</label>
                </div>
                <br />
  
                <div>
                    <input type="checkbox" id="agree" onclick="UpdateSubmitButton()" />I understand the terms and conditions listed
                    <a href="TermsAndConditions.aspx" target="_blank"> here</a>.
                </div>
                <br />
  
                <div class="footer">
                    <button id="submit" onclick="UpdateAppointment()" type="button" disabled="disabled">Submit</button>
                    <button onclick="hideForm();" type="button">Cancel</button>
                </div>
            </div>
        </ContentTemplate
    </telerik:RadDock>
</asp:Panel>

Thank you in advance.
Paulo
Slav
Telerik team
 answered on 13 Feb 2012
5 answers
145 views

Good afternoon,
I have code in my aspx page:

 

 

 

<telerik:RadComboBox ID="ddlSuperintendent" runat="server" Width="170px" AllowCustomText="false" >

 

 

 

 

 

 

 

 

</telerik:RadComboBox>

 


After I load ComboBox with a names of the superintendents and then I choose appropriate name and RadComboBox get fill with choosen name but for some reason the choosen name get shifted on the left so almost half name not visible.Second time when I choose the name it working fine.
This happens only in VS2010
In VS 2005 worked fine.
I have just converted my web app to VS2010.
Please help me to resolve this issue.
Simon
Telerik team
 answered on 13 Feb 2012
1 answer
99 views
It appears the image editor is saving images as .png files. Is there a way to save it as other file types (.jpg, .gif, etc). Also when saving as .jpg is it possible to set the compression/optimization?

Thanks,
Tim
Rumen
Telerik team
 answered on 13 Feb 2012
1 answer
97 views
I upgraded to Q3 2011 and in the processing of porting my applications over from an older version (2007).

The problem is the following - when I restore a RadWindow, the contents of the window goes back its initial configuration.

Ive done this simple test - a aspx page with just just one control - a test box.  I call it into a RadWindow - the text box is blank.  I enter some text, minimise it and the restore it.  The test box is blank.  It appears to do a call back even thought ive added the line  'If Page.IsPostBack = True then Exit Sub' in the Page_Load event.  The Text box is in an UpdatePanel .

The text is retained if I run it in IE8 (or in IE9 using the 2007 controls)




Marin Bratanov
Telerik team
 answered on 13 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?