Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
113 views
Hi
plz I need ur help

I have one confusion i.e. what we saved in database is dock's state or position, Indices?
I wants to add docks dynamically. when I click on Save Button then only its saved in dataBase.
In dynamically added dockes wr have to add some Usercontrols on customer's demand so how can we do it ?

if their is possible then give me a code in Asp.net [code only with databse not withsession, cookies etc]
answere me plz ASAP, its very very urgent for me rt now..

thank
Obi-Wan Kenobi
Top achievements
Rank 1
 answered on 07 May 2009
1 answer
130 views
hi,
Does anyone gicv me a code to how to dinamically add dock and save in database

thank
Obi-Wan Kenobi
Top achievements
Rank 1
 answered on 07 May 2009
1 answer
165 views



Hello everyone,

My problem is that I have a radGrid with paging enabled inside a raddock
I want to use css to resize the dock to take the grid's height instead of showing a scroll when the grid height exceed its height.


Any hint or help would be appreciated.
Thanks in advance.


Obi-Wan Kenobi
Top achievements
Rank 1
 answered on 07 May 2009
2 answers
103 views
I noticed that my WeekView was missing a day; there was no Sunday!

I discovered that this was because I'd set the FirstDayOfWeek property to 'Monday'. What I expected was that I'd get 7 days, Monday - Sunday, not that it would just lose any days before my FirstDayOfWeek setting.

I think that this must be a bug.

--
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 07 May 2009
2 answers
93 views
Curious of Grantham writes:

Why are there properties DayStartTime and WorkDayStartTime.

Similarly DateEndTime and WorkDayEndTime.

--
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 07 May 2009
3 answers
99 views
I've posted about this before and doing a search of the forum reveals other people having this problem, but nobody has any solutions.

When using the thumbnailer to create a thumbnail, the image it creates is of the bitmap format. Because bitmaps are uncompressed, the resulting thumbnails while smaller in dimensions are often larger in file size.

At first I thought this problem was simply due to a particular image I was using, but so far every JPEG that I've thumbnailed using RadEditor ends up as a bitmap file. Adding to the confusion, the thumbnail is saved to the document library with a .jpg extension, but the actual file format used is bitmap. This can be seen by right clicking the image in Firefox and selecting properties, which reveals the "Type" of the image to be "BMP image". I also saved the image to my desktop and opened it with Notepad++  and confirmed the file signature (BMP files begin with the letters "BM").

Upon further testing, the same problem happens to PNG files and also GIFs. They are saved as BMP files but the original extension is maintained.

Here are some links to the original files and then thumbnails created using RadEditor:
Original JPEG: http://gfsmesh.com/store/images/j0437274.jpg
Thumbnail (which is a BMP): http://gfsmesh.com/store/images/j0437274Medium.jpg
Original 32 bit PNG (has alpha transparency): http://gfsmesh.com/store/images/homepage-callout-frame.png
Thumbnail (is a BMP, note the black where transparency was): http://gfsmesh.com/store/images/homepage-callout-frameThumbnail.png

As for the server configuration:
Windows SharePoint Services running across 2 web front ends and 1 database server. The servers have all of the .NET frameworks through 3.5 installed and are up to date with the latest patches. The SharePoint installation has a variety of customizations, but they're mostly visual. Nothing I can think of that would have anything to do with code at the level RadEditor runs. The currently installed version of RadEditor for MOSS is 4.5.4.

If there is any other information I can provide to help solve this problem, please let me know.
Stanimir
Telerik team
 answered on 07 May 2009
1 answer
156 views
Hi,

I need to create a treeview. I must have its structure in a database(specifiying root nodes and child nodes), so I would like to create it binding the content to a treeview.

Do you have any nice example to get this? an example with a database, how to organize it and how to get the content to create a treeview.

Thank you.
Shinu
Top achievements
Rank 2
 answered on 07 May 2009
3 answers
253 views
I'm having an issue in Chrome/Safari with trying to use the selectElement and pasteHtml functions.  If I click within a link in some text and then click my custom button, the new link gets inserted within the existing link rather than replacing it.  In Firefox and IE the link actually gets replaced with the new link which is the desired result.

This scenario is similar to having a custom link manager when a user wants to update a link, they click within the link, click a button, and then expect the link to be replaced.

I'm using Chrome 1.0.154.53 and Safari 3.2.2.  The editor version I'm using is the ASP.NET_AJAX_2009_1_402_dev_hotfix.

Before button clicked:
<p>This is a <href="http://www.google.com/">link</a> to test with</p> 

After button clicked:
<p>This is a <href="http://www.google.com/"><href="http://www.yahoo.com">new link</a></a> to test with</p> 

Below is the javascript for my custom button:
<input type="button" value="Paste Content" onclick="InsertNewLink();return false;" /> 
<script type="text/javascript"
function InsertNewLink() 
{                   
  var editor = $find("<%=RadEditor1.ClientID%>");
  var elem = editor.getSelectedElement(); 
  editor.selectElement(elem); 
  editor.pasteHtml("<a href='http://www.yahoo.com'>new link</a>"); 
</script>   

Rumen
Telerik team
 answered on 07 May 2009
1 answer
134 views
Under IE7 i have my splitters set up so that they are in fullscreen mode, but under IE8 i notice that they no longer fill the screen.  Is this something i can change in settings so that it renders full screen again?

Below are two links with pictures showing what is happening for IE 8 native and IE8 with Compatibility View On.

IE8
IE8 Compatibility View On

This is my code:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="RadTools3._Default" %> 
 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<script runat="server">  
 
    protected void RadMenu1_ItemClick(object sender, RadMenuEventArgs e)  
    {  
        this.Label1.Text = e.Item.Text;  
    }  
</script> 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server">  
    <title>Untitled Page</title> 
    <style type="text/css">  
 
    html, body, form    
    {    
        height: 100%;    
        margin: 0px;    
        padding: 0px;    
        overflow: hidden;    
    }    
 
 
 
.RadToolBar_Default_Horizontal  
{  
    background: transparent url('mvwres://Telerik.Web.UI, Version=2009.1.402.35, Culture=neutralPublicKeyToken=121fae78165ba3d4/Telerik.Web.UI.Skins.Default.ToolBar.ToolbarBgHTL.gif') no-repeat;  
}  
 
.RadToolBar  
{  
    float: left;  
    overflow: hidden;  
    white-space: nowrap;  
}  
 
.RadToolBar  
{  
    margin: 0;  
    padding: 0;  
}  
 
        .RadToolBar_Default .rtbOuter  
{  
    border: 1px solid #9c9c9c;  
}  
 
.RadToolBar_Default .rtbMiddle  
{  
    border: 1px solid #efefef;  
    background: #fafafa url('mvwres://Telerik.Web.UI, Version=2009.1.402.35, Culture=neutralPublicKeyToken=121fae78165ba3d4/Telerik.Web.UI.Skins.Default.ToolBar.rtbControlBg.png') repeat-x 0 100%;  
}  
 
        </style> 
</head> 
<body style="overflow: hidden">  
    <form id="form1" runat="server">  
    <telerik:RadWindowManager ID="RWM" runat="server" DestroyOnClose="True"   
        KeepInScreenBounds="True" MinimizeZoneID="MinZone" Skin="Outlook" RestrictionZoneID="RadAjaxPanel3">  
    </telerik:RadWindowManager> 
    <telerik:RadScriptManager runat="server">  
        <Scripts> 
            <asp:ScriptReference Path="~/helper.js" /> 
        </Scripts> 
    </telerik:RadScriptManager> 
    <div> 
        <telerik:RadSplitter ID="RadSplitter2" runat="server" Orientation="Horizontal"   
            Height="100%" Width="100%">  
              
            <telerik:RadPane ID="RadPane3" runat="server" Height="60px"><asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> 
            </telerik:RadPane> 
            <telerik:RadSplitBar ID="RadSplitBar2" runat="server" /> 
            <telerik:RadPane ID="RadPane4" runat="server" Scrolling="None"><telerik:RadSplitter ID="RadSplitter1" Runat="server" SplitBarsSize="" 
                 Height="100%" Skin="Outlook" Width="100%">  
                <telerik:RadPane ID="RadPane1"   
                        Runat="server" Scrolling="None" Height="50%"><div style="height: 100%; width: 100%; overflow: hidden; background-color: #00FFFF;">  
                        <telerik:RadToolBar ID="RadToolBar1" runat="server" Height="20px"   
                            onclientbuttonclicked="TBClick" Width="100%">  
                            <CollapseAnimation Duration="200" Type="OutQuint" /> 
                            <Items> 
                                <telerik:RadToolBarButton runat="server" Text="Button 0">  
                                </telerik:RadToolBarButton> 
                                <telerik:RadToolBarButton runat="server" Text="Button 1">  
                                </telerik:RadToolBarButton> 
                                <telerik:RadToolBarButton runat="server" Text="Button 2">  
                                </telerik:RadToolBarButton> 
                                <telerik:RadToolBarDropDown runat="server" Text="Window">  
                                    <Buttons> 
                                        <telerik:RadToolBarButton runat="server" Text="Close All">  
                                        </telerik:RadToolBarButton> 
                                        <telerik:RadToolBarButton runat="server" Text="Restore All">  
                                        </telerik:RadToolBarButton> 
                                        <telerik:RadToolBarButton runat="server" Text="Tile">  
                                        </telerik:RadToolBarButton> 
                                        <telerik:RadToolBarButton runat="server" Text="Cascade">  
                                        </telerik:RadToolBarButton> 
                                        <telerik:RadToolBarButton runat="server" Text="Minimise All">  
                                        </telerik:RadToolBarButton> 
                                    </Buttons> 
                                </telerik:RadToolBarDropDown> 
                            </Items> 
                        </telerik:RadToolBar> 
                        <telerik:RadAjaxPanel ID="RadAjaxPanel3"   
                            runat="server" BackColor="#0099FF" BorderColor="#3399FF">something</telerik:RadAjaxPanel></div></telerik:RadPane><telerik:RadSplitBar ID="RadSplitBar1" Runat="server" /><telerik:RadPane ID="RadPane2" Runat="server" Height="50%" Width="30px"   
                        Scrolling="None"><telerik:RadSlidingZone ID="RadSlidingZone1"   
                Runat="server" ClickToOpen="True"   
                    SlideDirection="Left" Width="22px" Height="70%"><telerik:RadSlidingPane   
                ID="RadSlidingPane1" Runat="server"   
                        EnableEmbeddedBaseStylesheet="False" EnableEmbeddedSkins="False" Index="0"   
                        Scrolling="None" Skin="" Title="Linked" Width="240px"   
                EnableResize="False"><telerik:RadToolBar ID="RadToolBar2" runat="server" Skin="Outlook"   
                                onclientbuttonclicked="TBClick" Width="100%" Height="30px" ><CollapseAnimation Duration="200" Type="OutQuint" /><Items><telerik:RadToolBarButton runat="server" Text="Close All"></telerik:RadToolBarButton><telerik:RadToolBarButton runat="server" Text="Tile"></telerik:RadToolBarButton><telerik:RadToolBarButton runat="server" Text="Cascade"></telerik:RadToolBarButton><telerik:RadToolBarButton runat="server" Text="Restore All"></telerik:RadToolBarButton></Items></telerik:RadToolBar><asp:Panel   
                ID="Panel1" runat="server" Height="100%" ScrollBars="Vertical"   
                            Width="100%"></asp:Panel></telerik:RadSlidingPane><telerik:RadSlidingPane   
                ID="RadSlidingPane2" Runat="server"   
                        EnableEmbeddedBaseStylesheet="False" EnableEmbeddedSkins="False" Index="0"   
                        Scrolling="Y" Skin="" Title="Similiar" Width="250px"   
                EnableResize="False"><telerik:RadAjaxPanel ID="RadAjaxPanel2" runat="server" height="200px"   
                            width="200px"></telerik:RadAjaxPanel></telerik:RadSlidingPane></telerik:RadSlidingZone></telerik:RadPane></telerik:RadSplitter></telerik:RadPane> 
        </telerik:RadSplitter> 
          
          
      
    </div> 
    </form> 
</body> 
</html> 
 
Svetlina Anati
Telerik team
 answered on 07 May 2009
1 answer
409 views
Hi,

In Rad grid I want to use Group Footer that calculate average percentage of every column in a group , In my project I need to use GridTemplate column on a grid so can you tell me that how do I apply Group Footer in rad grid using GridTemplate column?

Thanks,
Amol
Princy
Top achievements
Rank 2
 answered on 07 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?