Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
71 views
We have tried with both Quicktime and Flowplayer. When the box is dragged while the video is playing, when dropping the video start all over again on Firefox :(. On IE6 it's OK (not tested yet on IE7).

How to avoid this ?

Thanks.
Projet TV
Top achievements
Rank 1
 answered on 22 Mar 2010
1 answer
104 views
Hi,
  I'm basically  a designer working with a .net team. We are using the Telerik controls for development process. Recently we updated our controls to the new version of Telerik. From that time we are facing few issues in Grid control, when we apply custom css for headerstyle, itemstyle, etc....
I couldn't get the exact cause of the issue as in the new version the styles are not applying to the td. When i gone through the generated its showing exactly the same as in the older version. i have attached the screenshot of the issue. Please help me to fix the issue ASAP.
.permission_headerstyle, .permission_headerstyle th  
   
     cursor:default
     background-color:#fff;  
     border-top:solid 1px #fff
     border-bottom:solid 2px #ddd
     border-right:solid 10px #fff
     font-size:12px
     font-weight:bold;   
     color:#003366
     height:20px
     padding-top:5px
     padding-left:10px
.permission_headerstyle a 
    color:#003366
 
.permission_itemstyle, .permission_itemstyle td 
    background-color:#fff;  
    border-bottom:solid 1px #ddd
    border-right:solid 10px #fff
    font-size:12px
    padding-top:5px
    padding-left:10px
    vertical-alignmiddle
.permission_itemstyle a 
    font-size:12px
    color:#000
 
.permission_alternate_itemstyle td 
    background-color:#fff;  
    border-bottom:solid 1px #ddd
    border-right:solid 10px #fff
    font-size:12px
    padding-top:5px
    padding-left:10px
.permission_alternate_itemstyle a 
    font-size:12px
    color:#000
 
.permission_selecteditem td 
     background-color:#f7fdea
     padding:0px
     border:0px
     padding-left:10px
     border-right:solid 10px #f7fdea
     border-bottom:solid 1px #ddd
     padding-top:5px
 

Dimo
Telerik team
 answered on 22 Mar 2010
1 answer
97 views
Hello guys.

I'm using telerik controls around 1 week.

I have a page with a link to a telerik window. In this window, I have 2 controls: Upload and ProgressArea.


What I wanna know is: How can I get the event of upload end (by progress area) to close the window and back to the parent page?

I'm seeing this page:

http://demos.telerik.com/aspnet-ajax/window/examples/dialogreturnvalue/defaultcs.aspx

But, the code of the "telerik window" isn't showed.


Thanks in advance.

Best regards and sorry for my poor english language.

[[|]]'s
Princy
Top achievements
Rank 2
 answered on 22 Mar 2010
1 answer
173 views
What does the auto property on the CDN do?
T. Tsonev
Telerik team
 answered on 22 Mar 2010
1 answer
272 views
Hi all,
Do I need to setup some licence xml file or sth else? Thx
Sebastian
Telerik team
 answered on 22 Mar 2010
6 answers
555 views
I just built a new machine, installed VS2008, applied all updates and patches, installed Telerik RadControls for ASP.NET AJAX Q3 2009, installed Visual Sourcesafe client, opened my existing website from source control. When I view pages, the text boxes and any other Telerik controls down show up, they say 'error creating control' and give me an Unknown server tag 'radI:RadScriptManager'.  The ScriptManager is another one that does this.  I have tried deleting the exiting reference to Telerik.Web.UI and adding both of the Telerik .dll's under C:\Program Files (x86)\Telerik\RadControls for ASP.NET AJAX Q3 2009\Bin35.  I tried adding a second RadScriptManager control to see if maybe it would insert the correct values, but no go.  However if I add a plain ASP.NET ScriptManager, it inserts and displays without error.

Most of them are that error, but I am also getting this one too when trying to build:  Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified.


Basically none of my Telerik controls will display in the IDE or allow me to build the project...or even view in my browser locally.  I really need some help.  Thanks.
Erjan Gavalji
Telerik team
 answered on 22 Mar 2010
2 answers
499 views

Requirements

RadControls version

2009.1.402.35

.NET version

3.5 SP1

Visual Studio version

2008 SP1

programming language

VB.NET / JavaScript

browser support

all browsers supported by RadControls


PROJECT DESCRIPTION
I was recently tasked to display a list of data in a rad grid and alert users if a change they were about to apply would have other changes that might impact the system globally. One of the things that I love about the RadGrid is the integration with RadWindow and the ability to add a confirm dialog before performing a command in the datagrid. However, I needed a way to conditionally set this to alert users only when the change they wanted to apply would affect other places in the system. If the change didn't impact other areas of the system, there was no reason to alarm the user.

Initially, I set up my RadGrid as follows:
        <telerik:RadGrid ID="gridFundList" runat="server" AllowMultiRowSelection="false" 
            AllowAutomaticDeletes="false" AllowAutomaticInserts="false" AllowAutomaticUpdates="false" 
            AllowFilteringByColumn="false" AllowPaging="false" AllowSorting="false" ShowGroupPanel="false" 
            ShowFooter="false" ShowHeader="true" ShowStatusBar="true">  
            <MasterTableView DataKeyNames="FundID" AutoGenerateColumns="false" ShowFooter="true">  
                <Columns> 
                    <telerik:GridButtonColumn UniqueName="Toggle" ButtonType="ImageButton" ImageUrl="~/images/buttonicons/lightbulb_off.png" 
                        CommandName="ToggleReadable" ConfirmDialogType="RadWindow" ConfirmText="Are you sure you wish to change the global access settings for this fund?<br/><br/><strong>All</strong> applied rules for individual users <strong>will be</strong> removed.<br/><br/>Click <strong>OK</strong> to continue." 
                        ConfirmTitle="Change Global Settings">  
                        <ItemStyle Width="30px" /> 
                    </telerik:GridButtonColumn> 
                    <telerik:GridBoundColumn UniqueName="FundID" DataField="FundID" DataFormatString="{0:00}" 
                        HeaderText="Fund">  
                        <ItemStyle Width="75px" HorizontalAlign="Center" VerticalAlign="Top" /> 
                        <HeaderStyle HorizontalAlign="Center" /> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn UniqueName="Desc" DataField="FundName" HeaderText="Description">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn UniqueName="Count" DataField="TotalCostCenterItemsInFund" 
                        HeaderText="Items In Fund" DataFormatString="{0:#,##0} items found." Aggregate="Sum">  
                        <ItemStyle HorizontalAlign="Right" Width="125px" /> 
                        <FooterStyle HorizontalAlign="Right" /> 
                        <HeaderStyle HorizontalAlign="Center" /> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn UniqueName="RuleCount" DataField="FundRulesApplied" HeaderText="Rules Applied" 
                        DataFormatString="{0:#,##0} rules applied." Aggregate="Sum">  
                        <ItemStyle HorizontalAlign="Right" Width="125px" /> 
                        <FooterStyle HorizontalAlign="Right" /> 
                        <HeaderStyle HorizontalAlign="Center" /> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn UniqueName="CreateDate" DataField="CreateDate" DataFormatString="{0:d} at {0:t}" 
                        HeaderText="Created">  
                        <ItemStyle Width="150px" /> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn UniqueName="ModifyDate" DataField="ModifyDate" DataFormatString="{0:d} at {0:t}" 
                        HeaderText="Modified">  
                        <ItemStyle Width="150px" /> 
                    </telerik:GridBoundColumn> 
                </Columns> 
            </MasterTableView> 
        </telerik:RadGrid> 
 

This worked great, but every time a user clicked on the ToggleReadable command they were prompted that they might remove existing rules. I could imagine a scenario where I would be receiving calls every time a user wanted to make a change, afraid they were about to break something.

After investigating the HTML output, I discovered how easy this really is to implement on a conditional basis. Hopefully this will be helpful to others. The output generated an onclick event for the image button with the following javascript:

if(!$find('<GridID>').confirm('<Message>', event, '<Window Title>'))return false

This code needed to be placed on the ImageButtons that needed a confirm dialog box.

To start, remove the ConfirmDialogType, ConfirmText and ConfirmTitle attributes of the GridButtonColumn.
<telerik:GridButtonColumn UniqueName="Toggle" ButtonType="ImageButton"   
     ImageUrl="~/images/buttonicons/lightbulb_off.png" 
     CommandName="ToggleReadable">  
          <ItemStyle Width="30px" /> 
</telerik:GridButtonColumn> 
 

Then handle the ItemDataBound event of the RadGrid with code similar to the following:
    Protected Sub gridFundList_ItemDataBound(ByVal sender As ObjectByVal e As Telerik.Web.UI.GridItemEventArgs) Handles gridFundList.ItemDataBound  
        If e.Item.ItemType = Telerik.Web.UI.GridItemType.AlternatingItem Or e.Item.ItemType = Telerik.Web.UI.GridItemType.Item Then 
            Dim item As TUI.GridDataItem = DirectCast(e.Item, TUI.GridDataItem)  
            Dim data As Fund = item.DataItem  
 
            Dim btnToggle As ImageButton = DirectCast(item("Toggle").Controls(0), ImageButton)  
 
                If data.FundRulesApplied > 0 Then 
                   ' This will affect other areas of the system.  
                   ' Alert the user!  
                    Dim message As String = "This change will impact other places in the system. Click OK to continue."   
                    btnToggle.Attributes.Add("onclick""if(!$find('" & gridFundList.ClientID & "').confirm('" & message & "', event, 'Change Global Settings'))return false;")  
                End If 
        End If 
    End Sub 
 
Quesnay MALANDA
Top achievements
Rank 1
 answered on 22 Mar 2010
1 answer
96 views
Should ShowStatusBar='True' always show status bar or only when the bottom paging is available?
I am looking to make use of its progress box in the lower left corner so hierarchical expand / filter / sort.
It's not showing when paging is not needed.
Pavlina
Telerik team
 answered on 22 Mar 2010
1 answer
99 views
Is it possible to set the fixed height of the each row and put longer text than visible into Tooltip f.ex.?
TableLayout fixed doesn't work :(
Dimo
Telerik team
 answered on 22 Mar 2010
1 answer
82 views
Hi all,

Do there exists an overall/master 'OnRequestStart'- and 'OnAjaxRequest'-eventhandler? These events should be firede always even if it is on a usercontrol at a ajaxmanagerproxy or in a radwindow at a subpage. I can do some of it by implement it manually at every page, but i would be nice to have a standard way to do it, and by this also get loose of the possibility that i should forget it at some pages/usercontrols.

Cheers,
Kenneth
Tsvetoslav
Telerik team
 answered on 22 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?