Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
62 views
Can you please respond to my threads, one posted over 7 hours ago.
Yavor
Telerik team
 answered on 18 May 2009
1 answer
97 views

As mentioned in http://www.telerik.com/community/forums/aspnet-ajax/file-explorer/radfileexplorer-very-slow.aspx
when is the treeview option only expected to be available?  FileExplorer seems to work very well, other than it's a bit slow with several images in the source directory.
Fiko
Telerik team
 answered on 18 May 2009
1 answer
97 views
As part of an internal project where a user might type a letter using RadEditor, I've been asked if it's possible to indicate to that user if the text they're typing is going onto a second page (assuming an A4 page as set within the browser with intent to print).

The system being replaced, which is rather old, accomplished this through word counting, but this simply isn't practical with the new system. Is there anything in RadEditor that can accomplish this?

Also, where Paragraph tags are used, is there an option to change the space between paragraphs to single line rather than double, or have I missed something in the browser settings/basic HTML?
Georgi Tunev
Telerik team
 answered on 18 May 2009
2 answers
133 views
I have a PanelBar that has a treeview in a template on each PanelBarItem.

At the moment, all of the TreeViews are databound when the PanelBarItems are databound.

I'd like to delay the binding of the TreeViews 'til the relevant PanelBarItem has been expanded. I thought that the most obvious way to do this would have been in the ItemClicked event but I'm struggling to get it to work.

So, there are 2 questions:
  1. Is this possible and,
  2. how?

TIA
--
Stuart
Paul
Telerik team
 answered on 18 May 2009
1 answer
122 views

I have a nested splitter pane and a tab strip located in the lower tab.  With ScrollChildren = true, I'm getting what looks like 17px of margin at the bottom of my screen whenever a tab is added to the tab strip in Firefox.  Other browsers seem to work fine.  If i remove all the tabs, leaving the tab strip, then the white space disappears.

I've attached a cut down version of my code below.
 

<telerik:RadSplitter ID="RadSplitter1" runat="server" BorderSize="0" Height="100%" Width="100%" >                 
    <telerik:RadPane ID="RadPane1" runat="server" Height="100%" > 
      
        <telerik:RadSplitter ID="RadSplitter2" runat="server" Orientation="Horizontal" Width="100%" Height="100px" BorderSize="0" > 
            <telerik:RadPane ID="RadPane2" runat="server">  
            </telerik:RadPane> 
 
            <telerik:RadPane ID="RadPane3" runat="server" Height="26px">  
                <telerik:RadTabStrip ID="RadTabStrip1" runat="server" ScrollChildren="true">  
                    <Tabs> 
                        <telerik:RadTab Text="Tab 1"></telerik:RadTab> 
                    </Tabs> 
                </telerik:RadTabStrip> 
            </telerik:RadPane> 
        </telerik:RadSplitter> 
 
    </telerik:RadPane> 
</telerik:RadSplitter> 

 

I have seen other threads with similar problems, but the solutions for those dont appear to be applicable to this issue.

Thanks in advance.

Paul
Telerik team
 answered on 18 May 2009
0 answers
91 views
Hi All,

      In my application i used two radpane and one splitterbar control.when i resize the left pane from default width and collapse it again expand the splitterbar i want to set the left-side pane width as default width and right-side pane should be fill in remaining free space.

How to implement this ?

Thanks in advance.
GAnesh
Top achievements
Rank 1
 asked on 18 May 2009
1 answer
125 views
Hello:

I need to manually set the maxvalues for the charts. In order to do this, I need to set Autoscale to false. However, the problem is now the step is all out of whack. Actually, the step seems to always default to 1. The problem is, the maxvalue for the chart could be anything from 8 to 57 to 347. Is there a way to calculate the step based on the max value, so that it is similar to the Autostep function? Or so that it simulates the Autoscale function in regards to setting the step? We do not have the Autostep function available in this version of the radchart.

Any help with this would be very much appreciated.

Thank you.

Sincerely,

Jeff
Dwight
Telerik team
 answered on 18 May 2009
2 answers
61 views
Hi,

I put two RadGrid on the form. Is it possible to remove grid from the from.

If i used visible=false, i will hide. But i want to remove completely.

Thanks.

Regards
Syed Arshad
Syed
Top achievements
Rank 1
 answered on 18 May 2009
1 answer
89 views
Hello,

I've got a nested grid that looks like this...

        <telerik:RadGrid ID="gridAllocations" runat="server" ShowHeader="false" 
            DataSourceID="dsComponentAllocationGroups"
            <MasterTableView AutoGenerateColumns="False" DataSourceID="dsComponentAllocationGroups" DataKeyNames="AllocationGroupID" HierarchyDefaultExpanded="True"
            <RowIndicatorColumn> 
            <HeaderStyle Width="20px"></HeaderStyle> 
            </RowIndicatorColumn> 
 
            <ExpandCollapseColumn> 
            <HeaderStyle Width="20px"></HeaderStyle> 
            </ExpandCollapseColumn> 
                <Columns> 
                    <telerik:GridTemplateColumn DataField="AllocationGroupDescription"  
                        HeaderText="AllocationGroupDescription"  
                        SortExpression="AllocationGroupDescription"  
                        UniqueName="AllocationGroupDescription"
                        <ItemTemplate> 
                            <asp:label runat="server" ID="lblAllocationTitle" Text='<%# Eval("AllocationGroupDescription") & " - Your allocation is " & Decimal.Round(Eval("Allocation"),1) & " units."%>' Font-Bold="true"></asp:label> 
                        </ItemTemplate> 
                    </telerik:GridTemplateColumn> 
                </Columns> 
                <DetailTables> 
        <telerik:GridTableView runat="server" Name="gridParentItems" AutoGenerateColumns="False" ShowHeader="true"  
            DataSourceID="dsFinalItems" GridLines="None" Skin="Default" 
             DataKeyNames="ConferenceSubmissionItemID,ConferenceSubmissionItemSponsorshipID"
            <RowIndicatorColumn Visible="False"
            <HeaderStyle Width="20px"></HeaderStyle> 
            </RowIndicatorColumn> 
 
            <ExpandCollapseColumn Visible="False" Resizable="False"
            <HeaderStyle Width="20px"></HeaderStyle> 
            </ExpandCollapseColumn> 
            <ParentTableRelation> 
                <telerik:GridRelationFields MasterKeyField="AllocationGroupID" DetailKeyField="AllocationGroupID" /> 
            </ParentTableRelation> 

I have a button in the gridParentItems grid, and when I click it I want to get the ConferenceSubmissionItemSponsorshipID for the given item. I then use this code to allow a user to change the order of an item in the db...

    Protected Sub lnkMoveDown_Click(ByVal sender As ObjectByVal e As System.EventArgs) 
        Try 
            Dim curGridItem As GridItem = CType(CType(sender, LinkButton).Parent.Parent, GridItem) 
            Dim sponsorID As Integer 
            Dim itemsGrid As Telerik.Web.UI.GridTableView 
            itemsGrid = Me.gridAllocations.MasterTableView.DetailTables(0) 
            sponsorID = itemsGrid.DataKeyValues(curGridItem.ItemIndex)("ConferenceSubmissionItemSponsorshipID"
            Dim curSponsor As New ISAConferenceSubmissionItemSponsor(sponsorID) 
            curSponsor.ChangeComponentOrder(CInt(Me.lblActiveComponent.Text), CInt(CType(sender, LinkButton).CommandArgument) + 1) 
            Me.gridAllocations.DataBind() 
        Catch 
        End Try 
    End Sub 

The problem is that the itemsGrid.DataKeyValues has a count of 0. I know that the ConferenceSubmissionItemSponsorshipID is there - it'll show in the table if I add it as a column, so I can't figure out why it's not filling.

Does anybody have any ideas - I'm probably missing something obvious here, but it would really be helpful if I could figure this out because I use similar code in a few other places on the page and am having the same problems there...

Thanks,

Mike
Princy
Top achievements
Rank 2
 answered on 18 May 2009
1 answer
182 views
Hi,

We are using FileUp ActiveX object to upload the file and want to use RadWindow as Progress window.
The code to implement the Progress window is as follows:
Main Page:
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<P><STRONG><FONT color=black size=5>SA-AXFile Multi-File Preset Upload Sample</FONT></STRONG></P>
<P>
<SCRIPT>

function startupload()
{
    winstyle = "height=300,width=400,status=no,toolbar=no,menubar=no,location=no";
    window.open("AXFFileProgress.htm",null,winstyle);
}

</SCRIPT>

<OBJECT classid=CLSID:230C3D02-DA27-11D2-8612-00A0C93EEA3C id=AXFFile style="LEFT: 0px; TOP: 0px">
</OBJECT>
</P>
<P><INPUT id=button1 name=button1 type=button value="Start Upload" onclick = "startupload()"></P>

<script language="vbs">
    set xfile = AXFFile.XFrequest
    XFile.Server = "localhost""
    XFile.ObjectName = "/safileupsamples/formresp2.asp"
    AXFFile.AddFile "c:\boot.ini"
    AXFFile.AddFile "c:\autoexec.bat"
</script>

</BODY>
</HTML>

Progress Page:AXFFileProgress.htm
<HEAD>
<SCRIPT language = vbs>
sub Callback()

Document.All("AXFFileProgress").XFRequestStream =  Opener.Document.All("AXFFileDownload").XFRequestStream
Document.All("AXFFileProgress").ShowProgress
Opener.Document.All("AXFFileDownload").Start
window.close()
End sub

</SCRIPT>
</HEAD>
<BODY OnLoad="Callback()">
<OBJECT ID="AXFFileProgress" CLASSID="CLSID:C3EAF164-E06A-11D2-B5C9-0050041B7FF6"></OBJECT>
<SCRIPT language = vbs>
sub AXFFileProgress_TransferComplete()
MsgBox "Transfer completed"
end sub
</SCRIPT>

I am trying to find out whether I can use opener.document.all and access the AXFFileDownload object on the parent page, if I open the progress window in a Radwindow instead of normal window.open.

We are trying to work around pop up blocker issues.
Thanks.
Georgi Tunev
Telerik team
 answered on 18 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?