Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
160 views
Now that TabBaseLine="true" has been introduced (in 2009 Q1), I would like to propose another way to get finer control for tab layouts/positioning. Currently it's possible to align left, right, centered and justified. The tabbaseline extends the control's visual nicely to the right, left or both depending on the alignment chosen. I want to be able to set the starting tab position (or gap if you like) on the left or right depending on alignment wanted.

So. A left start position of 12px with a left alignment would have a TabBaseLine of 12px before the Tabs actually started (or if no baseline specified, a blank gap of 12px). The same for a right start position of, e.g 15px for right alignment. If justified, a (seperate) left gap and right gap would be enabled. An alignment of center would also allow an offset on one side or ther other to be taken into account.

Thanks and regards,
Steve
Stephen
Top achievements
Rank 1
 answered on 26 Mar 2009
1 answer
105 views
Hi,
In radeditor control ,by default paste is enabled(on right click of control).
 It should be enabled only when there is some data in the clipboard. The functionality should be like MS -Word. Can u give me the solution for the same.

Thanks,
Laila
Rumen
Telerik team
 answered on 26 Mar 2009
1 answer
152 views
Wow I am really posting alot of problems lately :(

I have tried both ASP:FileUpload and RadUpload for this and still the same problem. 
I have a FileUpload inside EditItemTemplate.

What I need to do is access this control and find the filename, FileBytes(), FileSize etc. upon inserting.

After reading http://www.telerik.com/help/aspnet-ajax/grdinsertupdatedeleteatdatabaselevel.html, I have attempted to access the control via:


Unfortunately, although I can read the other column controls that are textboxes, I am unable to ready any data from the fileUpload control. :(

ASPX:

 

               <telerik:GridTemplateColumn HeaderText="File" UniqueName="TemplateColumn">  
                    <EditItemTemplate> 
             <%--           <telerik:RadUpload ID="ruFile" runat="server" ControlObjectsVisibility="None" MaxFileInputsCount="1">  
                        </telerik:RadUpload>--%> 
                        <asp:FileUpload ID="ruFile" runat="server" />   
                    </EditItemTemplate> 
                </telerik:GridTemplateColumn> 

VB:

    Private Sub rgResource_InsertCommand(ByVal source As ObjectByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles rgResource.InsertCommand  
        Dim insertedItem As GridEditFormInsertItem = DirectCast(e.Item, GridEditFormInsertItem)  
        Dim fileup As FileUpload = TryCast(insertedItem("TemplateColumn").Controls(1), FileUpload)  
    End Sub 

 

 

Richard
Top achievements
Rank 2
 answered on 26 Mar 2009
9 answers
175 views
hey all
i am trying to filter through a combo box template..it is working fine but the issue is...i am filtiring by 3 categories..district,(largest)..support region and region(smallest)...when the filter of the district is changed i want the the regions and support regions found in that district to apear..i know i have  to change the select statment in the sql datasource...but i am using server side template filtering....and i dont know jscript...can i do it or should i change to serverside filtration??...thanks in advance
Pavlina
Telerik team
 answered on 26 Mar 2009
1 answer
149 views

The JavaScript placed on the page by the window seems to detect any time the user presses the enter key and opens the window.... Since I have search field on that page this causes a problem.  Suggestions?

 function RadWindowprompt_detectenter(id, ev, input)  
                    {                             
                        if (!ev) ev = window.event;                  
                        if (ev.keyCode == 13)  
                        {                                                                     
                            var but = input.parentNode.parentNode.getElementsByTagName("A")[0];                           
                            if (but)  
                            {                             
                                if (but.click) but.click();  
                                else if (but.onclick)  
                                {  
                                    but.focus(); var click = but.onclick; but.onclick = nullif (click) click.call(but);                              
                                }  
                            }  
                           return false;  
                        }   
                        else return true;  
                    }     
Georgi Tunev
Telerik team
 answered on 26 Mar 2009
1 answer
105 views
Telerik has some very neat stuff.

BUT, BUT, for every neat thing I can do with this, I find that :

  • There are 5 other things that are not possible (unless I write 50 lines of super-cool and complex C# code-behind stuff).

Is that what is called Rapid Application Development ?

Plus no-one answers my forum questions.

Written at 2 am.
Sebastian
Telerik team
 answered on 26 Mar 2009
1 answer
153 views
Hi,
I am creating  portals using the raddocklayout.And i want to save the page layout for all authenticated users into database.

I want to know when will be the events LoadDockLayout and SaveDockLayout called Exactly?
Also if Possible can u tell me how to store/serialize the DockLayoutEventArgs e arguments Positions And Indices
into a profile object.

I searched for these things. But i didnt got the logical answers for these.

thanks in advance.
Petio Petkov
Telerik team
 answered on 26 Mar 2009
1 answer
68 views
I have my own user control with a RadEditor inside. I have the following options set

.Skin = "Default";

.EnableEmbeddedBaseStylesheet =

false;

 

.EnableEmbeddedSkins =

false;

 

.EnableEmbeddedScripts =

false;

I have included all css and scripts

Editor.css
Editor.Default.css

etc..

but when i come to use the Image Manager dialog or and other dialogs there is no css for these dialogs??? I have uploaded an image so you can see whats happening.

http://www.grow-studio.com/Image-Mananger.jpg

 

Rumen
Telerik team
 answered on 26 Mar 2009
1 answer
74 views
Hi,

I'm using the Rad editor for MOSS and i have the following configfile.xml:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <property name="ShowHtmlMode">false</property>
  <property name="EnableDocking">False</property>
  <property name="ToolbarMode">PageTop</property>
  <property name="Skin">Gray</property>
  <property name="ImagesPaths">
 <item>/PublishingImages</item>
  </property>
</configuration>

But the HTML mode button still appears in the editor. When i change other properties the are applied, but not they ShowHtmlMode.
Rumen
Telerik team
 answered on 26 Mar 2009
4 answers
188 views
Hi,

1. Would it be possible to call RadEditor Dialogs externally from a button object for exmaple? let's say Image Map Editor?

2. If it's impossible to call Image Map Editor externally, how would you set the "UploadPaths" and "ViewPaths"?

3. If it's impossible to call Image Map Editor externally, how to return data from the dialog to an object just like returning data to RadEditor.Content as "html" ?


Thank You!

Rex
Rumen
Telerik team
 answered on 26 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?