Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
336 views
hi
Here is my Codes:

<div style="float: left; width: 20%; height: 100%;"> 
        <telerik:RadDockZone ID="DockZone_Left" runat="server" Skin="WebBlue" UniqueName="DockZone_Left" 
            BackColor="#3a6ea5" BorderStyle="None" Orientation="Vertical" Width="95%" Height="95%"> 
            <telerik:RadDock ID="Dock_Left_Top" runat="server" Height="48%" Skin="WebBlue" Width="100%" 
                UniqueName="Dock_Left_Top" DefaultCommands="None" BackColor="#3a6ea5" BorderStyle="None" > 
                <ContentTemplate> 
                    <div style="text-align: center; width: 100%; height: 100%"> 
                        <img src="Neurologica/Picture1.jpg" alt="Picture1" style="width: 160px; height: 120px" /> 
                    </div> 
                </ContentTemplate> 
            </telerik:RadDock> 
            <telerik:RadDock ID="Dock_Left_Bottom" runat="server" Height="50%" Width="100%" Skin="WebBlue" 
                UniqueName="Dock_Left_Bottom" DefaultCommands="None" BackColor="#3a6ea5" BorderStyle="None" 
                Title="CereTomâ„¢ Clinical Use"> 
                <ContentTemplate> 
                    <br /> 
                    <div style="text-align: center"> 
                        <img src="Neurologica/Picture3.jpg" alt="Picture3" style="width: 160px; height: 120px" /> 
                    </div> 
                </ContentTemplate> 
            </telerik:RadDock> 
        </telerik:RadDockZone> 
    </div> 
 

When Showing page i have This Unwanted Vertical Scroll bars.
How Can I Remove Them.
Regards
Ahmad

Petio Petkov
Telerik team
 answered on 26 Jun 2008
1 answer
69 views
Hi team i faced this problem and i donno why its appear
scroll bar displays after saving the page state when RadDockable object with RadGrid are minimized.
* the grid became smaller and Scroll Bar appear

is there any suggestion

thanx in advance
Asmaa
Petio Petkov
Telerik team
 answered on 26 Jun 2008
1 answer
108 views
Hi,

I´musing a HierarchicalDataSourceView Object as DataSource for my TreeView. Everythink works fine.
But now I would like to do  "Load on Demand" on my Tree. On the Webdemo the data will be created on the NodeExpand Event. But if I use a Object as DataSource everything will be filled automaticly.
So is it possible to do Loading on Demand with a Object DataSource.

Thanx
Stephan
Atanas Korchev
Telerik team
 answered on 26 Jun 2008
3 answers
114 views
I just downloaded service pack 2 and noticed that when I open a tooltip in the following way that it actually opens the tooltip about 100px right of where it should.

 <telerik:RadToolTip ID="RadToolTip1" runat="server" Width="100px"
         ShowEvent="OnClick"       
         TargetControlId="link2"
         IsClientID="true"
         Sticky="true"
         Animation="none"
         ShowDelay="0"   
         RelativeTo="Element"   
        >
        This is a test
       
        </telerik:RadToolTip>


<a id="link2" href="#" onclick="return false;"> Test</a>


Is there a fix for this?
Svetlina Anati
Telerik team
 answered on 26 Jun 2008
2 answers
188 views
Hello.

I am using an ObjectDataSource with my Grid and have implemented custom paging.  Everything seems to work correctly with paging and sorting, which is great.

My problem comes around when I try to add filtering.  I am trying to pass my filter information along to my ObjectDataSource and have modeled it on the solution given in this forum post: http://www.telerik.com/community/forums/thread/b311D-bdabgh.aspx

That all seems to work fine, but I have two questions:

- how can I get the filter expression to not use the DataField of the column ([LastName lik e'%sko%') but instead use a something like a FilterExpression?  I'm asking because the names of the properties on my objects are not the same as the database names and I'd rather set a property on the column with this information.  Is there a way to do this, or do I have to somehow manipulate the FilterExpression string that is returned from the MasterTableView?

- how can I then prevent the built in filtering function from happening?  My data coming back will be sorted and filter correctly, so I do not need the grid to do any of this for me.

If anyone has done something similar, or has some helpful advice, I would appreciate it.
akohlbeck
Top achievements
Rank 1
 answered on 26 Jun 2008
1 answer
138 views
I try to rebuild the example of 'wizard'  but I get the error on line 33: Object reference not set to an instance of an object. I checked the code, but I can't find the solution.

Project.ascx.VB
 
Partial Class Project  
    Inherits System.Web.UI.UserControl  
    Protected Sub nextButton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles nextButton.Click  
        UpdatePreview()  
 
        GoToNextTab()  
    End Sub  
 
    Private Sub GoToNextTab()  
        Dim tabStrip As RadTabStrip = Page.FindControl("RadTabStrip1")  
        Dim FileUploadInfoTab As RadTab = tabStrip.FindTabByText("FileUpload")  
        FileUploadInfoTab.Enabled = True 
        FileUploadInfoTab.Selected = True 
 
        GoToNextPageView()  
    End Sub  
 
    Private Sub GoToNextPageView()  
        Dim multiPage As RadMultiPage = Page.FindControl("RadMultiPage1")  
        Dim FileUploadInfoPageView As RadPageView = multiPage.FindPageViewByID("FileUpload")  
        If FileUploadInfoPageView Is Nothing Then  
            FileUploadInfoPageView = New RadPageView()  
            FileUploadInfoPageView.ID = "FileUpload" 
            multiPage.PageViews.Add(FileUploadInfoPageView)  
        End If  
        FileUploadInfoPageView.Selected = True 
    End Sub  
 
    Private Sub UpdatePreview()  
        Dim previewControl As Control = Page.FindControl("previewControl")  
 
        Dim ProjNameLabelPreview As Label = previewControl.FindControl("lblProjectName")  
        ProjNameLabelPreview.Text = txtProjectName.Text  
 
        Dim ProjDescriptionLabelPreview As Label = previewControl.FindControl("ProjDescriptionLabel")  
        ProjDescriptionLabelPreview.Text = txtProjectDescription.Text  
 
        Dim ReferenceLabelPreview As Label = previewControl.FindControl("ReferenceLabel")  
        ReferenceLabelPreview.Text = txtReference.Text  
 
    End Sub  
End Class  
 
 

Preview.ascx
<%@ Control Language="VB" AutoEventWireup="false" CodeFile="PreviewVB.ascx.vb" Inherits="Telerik.Web.Examples.TabStrip.ApplicationScenarios.Wizard.PreviewVB" %> 
<h2> 
    Preview:</h2> 
<ul> 
    <li style="text-align:left;font-weight:bold;">  
        <asp:Label runat="server" ID="lblProjectName"></asp:Label> 
    </li> 
    <li style="text-align:left;font-weight:bold;">  
        <asp:Label runat="server" ID="ProjDescriptionLabel"></asp:Label> 
    </li>     
    <li style="text-align:left;font-weight:bold;">  
          
        <asp:Label runat="server" ID="ReferenceLabel"></asp:Label> 
    </li> 
</ul> 
<h3> 
    Files uploaded  
    </h3> 
<ul> 
      
                            <asp:Label ID="lblNoResults" runat="server" Visible="true">No uploaded files</asp:Label> 
                            <asp:Repeater ID="rpvalidResults" runat="server" Visible="false"><HeaderTemplate>Uploaded Files:<br /> 
                            </HeaderTemplate> 
                            <ItemTemplate> 
                            <%#DataBinder.Eval(Container.DataItem, "FileName")%> 
                             (<%#DataBinder.Eval(Container.DataItem, "ContentLength").ToString() + " bytes"%>) <br /><br /> 
                             </ItemTemplate></asp:Repeater> 
      
</ul> 
 
 

default.aspx.vb
 
Partial Class Default2  
    Inherits System.Web.UI.Page  
 
 
    Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load  
        If Not Page.IsPostBack Then  
            AddTab("Project", True)  
 
            Dim pageView As New RadPageView()  
            pageView.ID = "Project" 
            RadMultiPage1.PageViews.Add(pageView)  
 
            AddTab("FileUpload", False)  
            AddTab("TasksToFile", False)  
        End If  
    End Sub  
 
    Private Sub AddTab(ByVal tabName As String, ByVal enabled As Boolean)  
        Dim tab As New RadTab(tabName)  
        tab.Enabled = enabled 
        RadTabStrip1.Tabs.Add(tab)  
    End Sub  
 
    Protected Sub RadMultiPage1_PageViewCreated(ByVal sender As Object, ByVal e As RadMultiPageEventArgs) Handles RadMultiPage1.PageViewCreated  
        Dim pageViewContents As Control = LoadControl(e.PageView.ID & ".ascx")  
        pageViewContents.ID = e.PageView.ID & "userControl"  
 
        e.PageView.Controls.Add(pageViewContents)  
    End Sub  
End Class  
 
 

Paul
Telerik team
 answered on 26 Jun 2008
6 answers
145 views
What happened to ImagesBaseDir?  The documentation still references it but it doesn't seem to be part of RadTreeView anymore.



When using the ImageUrl or ImageExpandedUrl properties to render images next to the TreeNodes' text, you should keep into account that the ImageUrl and ImageExpandedUrl properties are relevant to the ImagesBaseDir. In other words, the value set to the ImagesbaseDir property will be pre-pended to the value set to the ImageUrl property.  
Atanas Korchev
Telerik team
 answered on 26 Jun 2008
3 answers
234 views

Hello,

We use WSS 3.0 SP1 only not MOSS.
We have successfully installed and used RadEditor for MOSS 4.5.1 for couple months. We then tried to install RadEditor for MOSS 5.0.1 following precisely the installation instructions (ASP.NET AJAX Extensions 1.0 then the RadEditor Solution).
We had no problem using "Telerik RadEditor for MOSS" Web Part, but we could not make it work in List Items.
We made sure to log as an administrator when we enabled the Features, so that the TelerikRadEditor.ascx gets copied to 12\TEMPLATE\CONTROLTEMPLATES folder as explained here, and we checked:  it was successfully copied.
However, we still had WSS default Rich text Editor.

The Sharepoint Log file gave me a clue : "Load control template file /_controltemplates/TelerikRadEditor.ascx failed: Could not load file or assembly 'Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified. "

'Microsoft.SharePoint.Publishing' is not a WSS Assembly, so TelerikRadEditor.ascx, used in List Items cannot work as is on WSS!
 
I manually edited the \TEMPLATE\CONTROLTEMPLATES TelerikRadEditor.ascx to remove the reference to this assembly and removed :

<%@ Register TagPrefix="CMS" Assembly="Microsoft.SharePoint.Publishing,... 

and removed the control which was using the CMS reference : 

<div id="originalEditorContainer" runat="server">  
  <CMS:HtmlEditor ID="RichHtmlField" runat="server" /> 
</div> 

and the control now works on List Items.
Is this a safe change? Thanks Telerik for your prompt reply.

Regards

Rémi

Lini
Telerik team
 answered on 26 Jun 2008
5 answers
253 views
Am evaluating the scheduler to see if it does what I need. Basically, I need to create a calendar for a clinic; users will book appointments for patients using the calendar. The scheduler looks great - ticks most of the boxes, but there are a couple of things I can't work out. Can someone tell me:
  • is it possible to grey out / disable from the view certain days? E.g, the clinic may be closed on Tuesdays and Thursdays, so I wouldn't want to allow users to enter appointments on those days.
  • is there any support for public holidays? e.g. it would be nice to be able to grey out / disable public holidays to prevent appointments being created when the the clinic would be closed.
Any help much appreciated,

Thanks,

Phil
Peter
Telerik team
 answered on 26 Jun 2008
2 answers
135 views
Hi,

From the sample
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Dock/Examples/DynamicDocks/DefaultCS.aspx

I just wonder if there is a way to have a button which allows me to click on it and close all dynamically created docks with asp ajax?

Chris
Chris
Top achievements
Rank 1
 answered on 26 Jun 2008
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?