Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
271 views
Hi,

   I created a Textbox object as an ItemTemplate for a RadToolBarButton item on my RadToolBar.

   I just need to get its value and also set a new value both on the client side. I found some codes/suggestions here in the forum that access these values, but I think they are all done on the server side. 

  I really appreciate your help!

Thanks,
Arthur
Hansik
Top achievements
Rank 1
 answered on 02 Mar 2010
2 answers
117 views
Working with this rad grid
<telerik:RadMenu ID="RadMenu1" runat="server"   
    Width="100%" OnItemClick="RadMenu1_ItemClick"   
    > 
    <Items> 
        <telerik:RadMenuItem Text="Item1" runat="server"   
        Selected="true" 
            /> 
        <telerik:RadMenuItem Text="Item2" runat="server"   
            
            /> 
        <telerik:RadMenuItem Text="Item3" runat="server"   
            
            /> 
        <telerik:RadMenuItem Text="Item4" runat="server"   
            
            /> 
    </Items> 
</telerik:RadMenu> 

And it appears that all the menu items are more on the left side of the screen.  how do i get them so that they are center aligned with widths of 25%.  I tried doing RadMenuItem.width = "25%" but doing that on each of them makes it wrap to the next line.  It also doesnt center the text, so not sure what to do.

J
J
Top achievements
Rank 1
 answered on 02 Mar 2010
1 answer
106 views
Hi

I have so many annoying errors design-time errors in RadControls in VS2008 that I think the only way forward is to do a fresh install
and eliminate all traces of earlier versions (currently 2009.2.826.35 as far as I can tell)

Can you point me to a doc that will help me

1 ) make sure all the old bits are removed

2 ) install the latest stable version (I assume this is the one before Q1 2010 beta)
    In particular whether to use the msi or manual version.

I don't plan to install the extensions.

When deplying the updated versions to the remote site do I only need to upload the new dlls
to replace the old, as before?

Thanks

Clive

Schlurk
Top achievements
Rank 2
 answered on 02 Mar 2010
2 answers
122 views
Hi there, hope someone can help

I have an Ajaxified gird used for editing records with an edit template popup which is working fine. On the grid I have a column with an ImageButton that I want to perform the following operation when clicked.

1. Open a new popup window using RadWindow
2. The opened RadWindow is defined using the window template and has a RadUpload and an OK and Cancel button.
3. If the Cancel button is clicked then the window is to close.
4. If the OK button is clicked then validation is to be done to confirm at least one file has been uploaded and the window stays open if not.
5. If the OK button is clicked and at least one file has been uploaded then the window is to close and the uploaded files passed back to the server for processing.

I have got it working so far up to step 3.

The problem I am having is getting validation to work and also getting the list of uploaded files when the OK button is pressed.
I've tried setting a postback click event on the OK button but this doesn't seem to get fired.

Can anyone point me in the right direction or perhaps provide a working sample of this scenario.

Thanks for any help
Paul
Pavlina
Telerik team
 answered on 02 Mar 2010
3 answers
137 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
124 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
350 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
245 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
98 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
244 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?