Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
160 views
Hello,

I got this RadFormDecorator on my master page with skin set to A and i wanted to use on some page skin B. So what I did is put RadFormDecorator on this page, wrap my content with div named "someDiv" and set DecorationZoneID="someDiv".
But all form controls inside thisd div are still in skin A. Does it some way to force FormDecorator to overwrite skin for that div?

Gr,
Pawel
Brian Mila
Top achievements
Rank 1
 answered on 20 May 2009
5 answers
268 views
Sorry if my English is not good

When I used RadDock in my project. I have some problem and I don't know what to do. I read some posts here and haven't found what I need yet.

My problems:

- When I clicked Hide symbol ,  the Dock hided. But when I want to show it, it doesn't show the full size.
       Example. First, My DockManager and My DockPanel have size width 200.
    I also set minimum width size 200, but when I hided it and show again, its width approximate 50 and some of my controls doesn't show.
    I can resize the DockPanel in this circumstance but it's not comfortable

- When I set Property Allow Hiding to True in DockManager. Sometimes User can click Hided, but how can I show it again ? I set DockManager visible true but it doesn't work. I think I did wrong way but what I have to do ?

- I doesn't want user to Float, Resize, or Close my DockManager. My application have a table to display results. But input parameters may be diffirent. So I want to add those input to DockManager and TabDocument.

When I want to work full-screen, I can Hided the Dock.Then if I want to work with new result, I show the Dock, choose Tab I want .

So I don't want User to Float, Resize, Close my Dock. What must I have ?

Sorry for asking too much. But I can't read all the post here because they're not sorted into groupped so finding the information I need is difficult
Obi-Wan Kenobi
Top achievements
Rank 1
 answered on 20 May 2009
1 answer
158 views
I have a custom control that extends the RadDock and adds a textbox, regularexpression validator, required field validator and label to the rad dock oninit. These values are then lost in the DockState....I read here that you can put additional values in the "Tag" property however Im not sure I understand how this works.....do I just create a string that I later parse for instance

mycustomdock.Tag = TextBoxRequired:True|LabelText:MyCustomLabel|RegularExpressionValidation:[0-9]

which in the control on init

 if(this.Tag.Length > 0)
 //parse the string
this.TextBoxRequired = mystring[0];
this.LabelText             = mystring[1];
this.TextBoxRegEx     = mystring[2];

Is that correct?
Obi-Wan Kenobi
Top achievements
Rank 1
 answered on 20 May 2009
4 answers
109 views
I've noticed that it is easier to drag and drop docked element on top of another element, as supposed to on the bottom of that element. Is it possible that you guys can make the top and bottom drop zones equally sensitive? Take a look at the igoogle example with their drag panels, it is easy to drag and drop regardless http://www.google.com/ig. With the RAD controls, to drop on the bottom takes several tries.
Please look into it.
Obi-Wan Kenobi
Top achievements
Rank 1
 answered on 20 May 2009
6 answers
233 views
it seems like Telerik has implemented Export to PDF capabilities in several of its recent control versions (most notably, RadGrid and Rad Editor).. This funcitonality is pretty slick, but what I need most in some of my applications is the ability to generate PDFs from raw HTML content, which won't necessarily reside in a grid or editor. Is there a way to use the existing control APIs in order to generate a pdf file from html (or if necessary, xhtml) strings? If not, does Telerik have plans to expose their PDF generation functionality as a standalone control... something like the AjaxManager or RadSpell?
Tsvetoslav
Telerik team
 answered on 20 May 2009
3 answers
325 views

Hi all:

I have a web application where I need the RadGrid to populate with data based on a selection from a DropDown list box. The grid also needs to have paging so I followed the samples on the Telerik site and used OnNeedDataSource to enable the paging. The issue is that when I make a selection from the drop down list, the OnNeedDataSource is called twice, and it doesn't even read the correct value from the drop-down, it always returns 0 as the Selected Index.

I think it has something to do with the OnNeedDataSource being called as part of page load, and so the postback from the drop-down fires the method, but I don’t understand why it runs twice.

Has anyone had any experience with this and know how I can fix this? OR can anyone make a suggestion for a better idea? The selections in the drop-down are dynamic and loaded at run-time, and then what is selected from the drop-down determines what data loads in the RadGrid.

Thanks.

John.

Tsvetoslav
Telerik team
 answered on 20 May 2009
1 answer
89 views
Hello,

I got a radtoolbar with in it 2 normal buttons and one with a template, the one with the template should be aligned right, in IE7 it works good, however when going to IE8 it is going to left.

good:  http://img34.imageshack.us/img34/2569/ie7.jpg
wrong: http://img193.imageshack.us/img193/551/ie8.jpg

My code is the following

<telerik:RadToolBar ID="RadToolBar1" runat="server"   
                style="display:block; float: none" CssClass="SeparatedButtons"   
                Skin="MyToolbarSkin" EnableEmbeddedSkins="False"   
                onbuttonclick="RadToolBar1_ButtonClick" OnClientButtonClicked="HandleExport">  
                <CollapseAnimation Duration="200" Type="OutQuint" /> 
                <Items> 
                    <telerik:RadToolBarButton runat="server" CommandName="LIJST.REFRESH" ImageUrl="../Pics/refresh.png" Text="Refresh" Value="REFRESH" ></telerik:RadToolBarButton> 
                    <telerik:RadToolBarButton runat="server" CommandName="LIJST.FILTER" ImageUrl="../Pics/filter.png" Text="Filter" Value="FILTER" ></telerik:RadToolBarButton> 
                    <telerik:RadToolBarButton runat="server" Value="rtbbSearch" CssClass="rightAligned" PostBack="False" > 
                        <ItemTemplate> 
                            <asp:Panel runat="server" ID="pnlSearchBlok" DefaultButton="cmdSearchTB" > 
                                <table align="right" > 
                                    <tr valign="top">  
                                        <td> 
                                            <asp:Label ID="lblZoekenOp" runat="server" Text="Zoeken op" CssClass="DHStandard"></asp:Label> 
                                        </td> 
                                        <td> 
                                            <asp:DropDownList ID="cboSearchFieldsTB" runat="server" CssClass="DHStandard">  
                                            </asp:DropDownList> 
                                        </td> 
                                        <td> 
                                            <asp:DropDownList ID="cboSearchOperatorsTB" runat="server" Width="90px" CssClass="DHStandard">  
                                            </asp:DropDownList> 
                                        </td> 
                                        <td> 
                                            <asp:TextBox ID="txtSearchValueTB" runat="server" CssClass="DHStandard"></asp:TextBox> 
                                        </td> 
                                        <td> 
                                            <asp:ImageButton ID="cmdSearchTB" runat="server" ImageUrl="../Pics/search2.png" CommandName="SEARCH" onclick="cmdSearchTB_Click" /> 
                                        </td> 
                                        <td> 
                                            <asp:CheckBox ID="cbAlterateView" runat="server" oncheckedchanged="cbAlternatief_CheckedChanged" AutoPostBack="true"/>  
                                        </td> 
                                    </tr> 
                                </table> 
                            </asp:Panel> 
                        </ItemTemplate> 
                    </telerik:RadToolBarButton> 
                </Items> 
            </telerik:RadToolBar> 

How to make it like IE7

Thanks.

Peter
Paul
Telerik team
 answered on 20 May 2009
5 answers
176 views
I'm creating a Portal Page with RadDock using Prometheus/RadControls for ASP .NET Ajax.  It's pretty neat and our business owners were excited to see some of the built-in features such as pinning, collapsing, docking / drag&drop.  I haven't had too many issues, however I did notice one that is problematic.

If you have a dockzone that goes off the screen's viewable area (e.g. a page with a scrollbar) and you attempt to drag a dock component from the bottom (e.g. with the page scrolled down) to any other dockzone on the page, the page will JUMP to the very top and automatically highlight one of the top-most dockzones.

This behavior is undesirable because the user is not able to move the dockable object to where he/she wants to dock it (e.g. one position above where it is along the bottom with the page scrolled down).  Draging automatically forces the user to the top of the screen and prevents them from scrolling down to the position they would like.

The only way I can see to fix this is to shorten the height so that the dockzone does not scroll off the page (vertically).  Is there anyway to fix this or code around this automatic "jumping"?  Or is there a fix planned?

Please let me know if my description requires an example, as I might be able to mock one up for you.  This issue occurs in Internet Explorer 7.0, by the way.

joe
Obi-Wan Kenobi
Top achievements
Rank 1
 answered on 20 May 2009
3 answers
149 views
Hi

I am having trouble figuring out what function is called when i click my custom submit button within the InlineInsertTemplate.
I think its RadScheduler1_AppointmentInsert but if that is so how can i tell what type of button was clicked ie insert or cancel?(I have given them commandnames) I also cannot see how i gain access to the values with any of the custom fields i have added within this template as

RadScheduler1_AppointmentInsert(

object sender, SchedulerCancelEventArgs e)

 

doesnt seem to allow me access anythjing othere than the apppointment information.
 <Telerik:RadPane runat="Server" ID="leftPane" Scrolling="None">   
                <div style="padding:10px 0px 10px 10px;">  
                    <Telerik:RadScheduler Culture="en-GB" runat="server" ID="RadScheduler1" Skin="Office2007" EnableEmbeddedSkins="True" 
                        ShowFooter="true"  DayStartTime="08:00:00" DayEndTime="21:00:00" 
                        TimeZoneOffset="00:00:00" OverflowBehavior="Expand" SelectedView="MonthView" Height="100%" 
                        TimelineView-UserSelectable="false" OnNavigationComplete="RadScheduler1_NavigationComplete" 
                        OnAppointmentDelete="RadScheduler1_AppointmentDelete" 
                        OnAppointmentUpdate="RadScheduler1_AppointmentUpdate" OnAppointmentInsert="RadScheduler1_AppointmentInsert" 
                        FirstDayOfWeek="Monday" LastDayOfWeek="Friday" CustomAttributeNames="customTitle" OnClientAppointmentEditing="OnClientAppointmentEditing"    
                        OnClientAppointmentMoveStart="OnClientAppointmentMoveStart" ShowAllDayRow="true" OnFormCreated="RadScheduler1_FormCreated" 
                        MinimumInlineFormWidth="300" MinimumInlineFormHeight="150">  
                        <AppointmentTemplate> 
                            <asp:Label ID="lblTitle" runat="server"><%# Eval("customTitle") %></asp:Label>   
                        </AppointmentTemplate>   
                        <InlineInsertTemplate> 
                           <div id="InlineInsertTemplate">  
                           <table width="100%">  
                            <tr>                                  
                                <td align="right">Note</td>                             
                                <td> 
                                    <asp:TextBox ID="txtboxNote" runat="server" TextMode="MultiLine" Width="100%" Height="50px"></asp:TextBox> 
                                </td> 
                            </tr> 
                            <tr> 
                                <td align="right">Appointment Type</td> 
                                <td> 
                                    <asp:DropDownList ID="ddlCalendarTypes" runat="server"></asp:DropDownList> 
                                </td> 
                            </tr> 
                            <tr> 
                            <td colspan="2" align="right">  
                                <table> 
                                    <tr> 
                                        <td> 
                                           <asp:LinkButton ID="InsertButton" runat="server" CommandName="Insert" > 
                                               <asp:Image runat="server" ID="imgInsert" ImageUrl="Images/ok.gif" AlternateText="insert" /> 
                                           </asp:LinkButton> 
                                        </td> 
                                        <td>&nbsp</td>                         
                                        <td> 
                                            <asp:LinkButton ID="CancelButton" runat="server" CausesValidation="False" CommandName="Cancel">  
                                                <asp:Image runat="server" ID="imgCancel" ImageUrl="Images/cancel.gif" AlternateText="cancel" /> 
                                            </asp:LinkButton> 
                                        </td> 
                                    </tr> 
                                </table> 
                            </td> 
                            </tr> 
                           </table> 
                                  
                           </div> 
                        </InlineInsertTemplate>   
                                                 
                    </Telerik:RadScheduler>                  
                    </div>             
                </Telerik:RadPane>               

Thanks



Yana
Telerik team
 answered on 20 May 2009
3 answers
271 views
Hi There

Im curretnly using a tabstrip as a navigation and would like to know if there is a way of autowrapping tabs onto a new line instead of scrolling the tabs.


I have a tabstrip that is 100% of the page width. If there is not enough room to display all the tabs i would like the overflow to move down to the next line

Thanks in advance
Paul
Telerik team
 answered on 20 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?