Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
133 views
Hello All
I Install and use RadComponents I use RadMenu and configure step by step with help description bat when I run the web site menu and root Items display correctly but no sub menu display by clicking mouse
please help me
thanks
Schlurk
Top achievements
Rank 2
 answered on 02 Mar 2010
1 answer
117 views
I have a RadDockLayout that contains a RadGrid.  On the browser window resize smaller than the initial size, it results in some weird table cell background repeating behavior.  I see this in Chrome, Firefox and IE.  Is there a way to fix this?

<telerik:RadDockLayout runat="server" ID="rdlMain"
    <telerik:RadDockZone runat="server" ID="rdzNotes" 
        BorderStyle="None" 
        FitDocks="true" 
        Orientation="Vertical" 
    > 
        <telerik:RadDock runat="server" ID="rdNotes" 
            CloseText="Notes (hidden)" 
            CollapseText="Hide Notes" 
            DefaultCommands="ExpandCollapse" 
            DockHandle="TitleBar" 
            DockMode="Docked" 
            EnableRoundedCorners="true" 
            ExpandText="View Notes" 
            EnableDrag="false" 
            Text="RadDock Notes" 
            Title="Notes" 
            Resizable="True" 
        > 
            <ContentTemplate> 
                <telerik:RadGrid runat="server" ID="rgNotesList" 
                    AllowAutomaticDeletes="true" 
                    AllowAutomaticInserts="true" 
                    AllowAutomaticUpdates="true" 
                    AllowPaging="true" 
                    AutoGenerateColumns="False" 
                    DataSourceID="sqsNotes" 
                    GridLines="None" 
                    Height="99%" 
                    PageSize="4" 
                    ShowHeader="true" 
                    ShowStatusBar="true" 
                    Width="99%" 
                > 
                    <MasterTableView 
                        CommandItemDisplay="Top" 
                        DataSourceID="sqsNotes" 
                        DataKeyNames="NotesID" 
                        EditMode="InPlace" 
                        ShowHeadersWhenNoRecords="false" 
                    > 
                        <Columns> 
                            <telerik:GridEditCommandColumn 
                                ButtonType="ImageButton" 
                                ItemStyle-Width="10px" 
                            /> 
                            <telerik:GridBoundColumn 
                                DataField="Project" 
                                HeaderText="Project" 
                            /> 
                            <telerik:GridBoundColumn 
                                DataField="NotesSubject" 
                                HeaderText="Subject" 
                            /> 
                            <telerik:GridBoundColumn 
                                DataField="NotesDescription" 
                                HeaderText="Description" 
                            /> 
                            <telerik:GridDateTimeColumn 
                                DataField="NoteDate" 
                                DataFormatString="{0:d/MM/yyyy}" 
                                HeaderText="Note Date" 
                            /> 
                            <telerik:GridBoundColumn 
                                DataField="CreatedBy" 
                                HeaderText="Created By" 
                                ReadOnly="true" 
                            /> 
                            <telerik:GridBoundColumn 
                                DataField="ModifiedBy" 
                                HeaderText="Last Modified By" 
                                ReadOnly="true" 
                            /> 
                            <telerik:GridClientDeleteColumn 
                                ButtonType="ImageButton" 
                                ConfirmText="Are you sure you want to delete this note?" 
                                ConfirmTitle="Please confirm:" 
                                ItemStyle-Width="10px" 
                            /> 
                        </Columns> 
                        <HeaderStyle 
                            Wrap="false" 
                        /> 
                        <NoRecordsTemplate> 
                            No notes found. 
                        </NoRecordsTemplate> 
                    </MasterTableView> 
                </telerik:RadGrid> 
            </ContentTemplate> 
        </telerik:RadDock> 
    </telerik:RadDockZone> 
</telerik:RadDockLayout> 

Pero
Telerik team
 answered on 02 Mar 2010
5 answers
338 views

Greetings,

I have what should be a simple thing to do -- keep a pair of DockZones the same height.  What I have is a table with a TR and two TDs. In each TD is a DockZone.

Whenever a dock is dragged from one dropped into the other zone, I want to set the height of both zones to the height of the tallest + about 30px so that when a user drags a dock from one to the other and drops it, it actually lands in a zone instead of landing below the shorter zone.

If I leave DockMode at default, it lands in the empty space and is not docked. If I set it to Docked, it just snaps bacl to it's original location, both of which annoy the user who thought he was dropping it in a zone.

MinHeight is not helping -- as soon as one zone gets taller than the minhieght same problem. Also, in layouts with more than one row, having crazy tall, completely empty space in the top band(s) makes the bands below useless.

Am I missing something?  This seems like a pretty basic need. 

I've tried adding an extension method to the client api, which I call from a handler off the Dock.OnClientDragEnd event, but I have no way to grab the accurate heights of the zones. So what happens is if I start off with ten docks stacked in one zone and zero in the other, if I drag 5 over to the second zone, the original largest height is retained and just passed back and forth:


<script type="text/javascript">  
    Telerik.Web.UI.RadDockZone.prototype.sync_Height = function(that) {  
        if (that) {  
            var thisDock = $('#' + this.get_id());  
            var thatDock = $('#' + that.get_id());  
            var thisHeight = thisDock.height();  
            var thatHeight = thatDock.height();  
            if (thatHeight > thisHeight) {  
                thisDock.height(thatHeight);  
            }  
            else {  
                thatDock.height(thisHeight);  
            }  
        }  
    }   
</script>
 

-Al

Pero
Telerik team
 answered on 02 Mar 2010
8 answers
241 views
Weird thing I noticed.. I developed a webpage that has lists of people to send an email to... I am able to create the html in dreamweaver, Then I used the RadEditor to paste the html in there, which belongs to a web page i made as a flyer... (the page is posted live on a server...) i changed all the links to absolute...
then there is a save button so the radeditor's html is saved to the db..

funny thing is... when i access the page from SAFARI... and load up the radeditor... switch to html mode (so i can see the tags..) everything is fine...

When i do the same thing from any other browser... well...  the abolsute part of the link is REMOVED...

i cannot understand this... for the life of me... i checked the database (MSSQL) and i store the html there as ntext.... and when i paste the field into a notepad, the links are there in full...

on safari, or raw from the db... the html reads like this:

<img height=20 alt="" src="http://maximlrg.com/invite/images/camo_01.jpg" ....>

when i go to the same page from ie 6,7, firefox,or opera it looks like this:
<img height=20 alt="" src="/images/camo_01.jpg"...>

why it removes the first part of the link is my question...

it HAS to have the link because the picture is showing when i go to view mode.. and the images folder is nowhere near that directory...

very odd...


Can anyone shed any light on this?

Jeff





Rumen
Telerik team
 answered on 02 Mar 2010
1 answer
92 views
Hi,
I am facing a issue in Safari; it adds <div>'s and <span>'s instead of <br />'s.
For other browsers (firefox,IE) it's working fine.

Is that a bug in editor or caused by browser?
 




Rumen
Telerik team
 answered on 02 Mar 2010
1 answer
227 views
I have a scenario in my project where I Have to fill in a webform using details from a PDF form. My PDF form is displayed in a RadWindow, when the web page is loaded. Webpage has two panes (documentPane and formPane, implemented using RadSplitter and RadPane controls.) The bottom Pane displays the web form. What I want to be able to do is DOCK the window displaying the PDF form in the documentPane so that my users can have both the document and webform visible all the time.

Can this be achieved using RadDock control? How? I could find any example that would help me with this scenario. Please let me know or if you can send me a sample tutorial, that would be great.

Thanks,
MSS
Pero
Telerik team
 answered on 02 Mar 2010
1 answer
140 views
Hi;
I have an user control in an aspx page. I had find a sample that can be use as autocomplete function at listbox.
In user control i had 3 search textboxes, and 3 listboxes. And the javascript code as follows:
<script type="text/javascript">
    function filterListBox(sender, e) {
        var list = $find("<%= RadListBox1.ClientID %>");
        var searchText = sender.get_value() + e.get_keyCharacter();
        var items = list.get_items();
        for (var i = 0; i < items.get_count(); i++) {
            var item = items.getItem(i);
            if (item.get_text().toLowerCase().startsWith(searchText.toLowerCase())) {
                item.select();
            }
        }
    }
</script>       
I don't want to write 2 more same javascript code block. And i decide to send the controls names to the javascript too. But as i see the sender and e arguments generating by telerik. And i can't add more arguments.
How can i add two more arguments into this javascript?
Yana
Telerik team
 answered on 02 Mar 2010
1 answer
96 views
Hello there,

At GuildPortal we host guild sites for people who play massively multi-player online games (like World of Warcraft).  All of the code is custom. The back-end administration piece (for guild administrators) uses the Telerik ASP.Net AJAX components for the user interface.  The only thing we are currently using that the vast majority of our users see (the guild members, not admins) is the WYSIWYG editor.

We'd really like to use more of the suite in the guild pages, but in order to do that, we'd need some kind of uniform approach to the components.  Just looking at the multitude of styles across all the various controls, including inline styles, doesn't give me much confidence that this will work out, but...

I don't suppose you folks have anything in the pipeline for diagramming all of the controls and the styles that apply to them?  I've seen some of these types of things in your documentation for various controls, but they're not there for all of them.  Our users require a high degree of customizability, so the only way we can provide that and still use your suite to its fullest is if we have some kind of sane approach to overriding the appearance of your controls, dynamically, at run-time.
Dimo
Telerik team
 answered on 02 Mar 2010
1 answer
132 views
in my rad grid i have 2 detail tables on same level. During debug sessions one appears on top of the other, which is normal. Then I moved the code onto another machine with Win Server 2008 R2 OS for testing. In the new environment one detail table appears next to each other (shown horizontally). Not sure what's wrong here....  Has anyone had same problem before?
Dimo
Telerik team
 answered on 02 Mar 2010
3 answers
185 views
I have a very strange problem .
I have a web application that is published on my computer.
If I execute the web application on my computer, it looks fine (mimaquina.jpg), but if I run the same application on others computers, it looks bad (other.jpg).

Example: Explorer 8, same screen resolution.
The web application looks different.

I send you an example, the 2 pictures, one of my computer and other in the other computer.

1-My Computer. (mimaquina.jpg)
2-Other Computer (other.jpg)

I will really apreciate if you can send me a solution or at least, what is happening.

Dimo
Telerik team
 answered on 02 Mar 2010
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?