Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
108 views
I am using the Media Manager to insert some kind of media object (.mp3, .mp4, etc).  This works fine, and I can set the applicable properties before inserting the object.

The problem is, once the object is inserted there is no way to change the properties again.  I am having to delete the object and insert it again with the correct properties.  I would have thought that I could right-click on the object and get a Properties dialog.

Is there something that I am missing?  How do I update the properties of an inserted media object?

Thanks in advance for your help.
Dan
Dobromir
Telerik team
 answered on 11 May 2011
1 answer
66 views
Hi,

Can anyone convert this to RadControls Q1 2011 release version?

RadTabStrip1.Tabs(CInt(Request.QueryString("tab")) + 1).PageView.Selected = True

It keeps saying 'Tabs' is not a member
Kate
Telerik team
 answered on 11 May 2011
1 answer
138 views
Hi,

   We have upgraded our telerik version from 2009.2.701.20. to Q1 2011.  The indent/Outdent doesnt gets reflected in certain places. Is there anything i should add to this tool. the following are the code used,
 
<telerik:RadEditor CssClass="maarginleft80" OnClientLoad="OnClientLoad" Width="670px"
                        ID="radContactUs" EnableResize="false" runat="server">
                        <Tools>
                            <telerik:EditorToolGroup Tag="MainToolbar">
                                <telerik:EditorTool Name="FindAndReplace" ShortCut="CTRL+F" />
                                <telerik:EditorTool Name="Undo" ShortCut="CTRL+Z" />
                                <telerik:EditorTool Name="Redo" ShortCut="CTRL+Y" />
                                <telerik:EditorTool Name="Indent" />
                                <telerik:EditorTool Name="Outdent" />
                                <telerik:EditorTool Name="TableWizard" />
                                <telerik:EditorTool Name="InsertSymbol" />
                                <telerik:EditorTool Name="JustifyLeft" />
                                <telerik:EditorTool Name="JustifyRight" />
                                <telerik:EditorTool Name="JustifyFull" />
                                <telerik:EditorTool Name="JustifyCenter" />
                                <telerik:EditorTool Name="LinkManager" />
                            </telerik:EditorToolGroup>
                            <telerik:EditorToolGroup Tag="FileManagers">
                                <telerik:EditorTool Name="ImageManager" />
                            </telerik:EditorToolGroup>
                            <telerik:EditorToolGroup>
                                <telerik:EditorTool Name="Bold" />
                                <telerik:EditorTool Name="Italic" />
                                <telerik:EditorTool Name="Underline" />
                                <telerik:EditorSeparator />
                                <telerik:EditorTool Name="ForeColor" />
                                <telerik:EditorTool Name="BackColor" />
                                <telerik:EditorSeparator />
                                <telerik:EditorTool Name="FontName" />
                                <telerik:EditorTool Name="RealFontSize" />
                            </telerik:EditorToolGroup>
                        </Tools>
                        <CssFiles>
                            <telerik:EditorCssFile Value="~/App_Themes/Web20/editor.css" />
                        </CssFiles>
                    </telerik:RadEditor>

Thanks,
Hema.
Rumen
Telerik team
 answered on 11 May 2011
4 answers
67 views
Hey, I'm having some troubles with the Telerik Window control. Basically, I have a simple HTML button that executes a Silverlight application when we click on it, and close the application when we click again. This application is a sort of icons menu in which we can open applications (in Telerik windows actually). The problem resides in the fact that once I moved one of these Telerik window, when I'm attempting to open the icons menu again, it takes ages before it pops up in the screen. Is there any solution to this problem ?

Thanks in advance,
Francis.
Francis
Top achievements
Rank 1
 answered on 11 May 2011
7 answers
95 views
Hello,

I have two issues.

1) I have about 70 Field Editor items in my RadFilter and when I view all my field options on the page the list is off the screen and there is no scrolling to see the options off the page.

2) I am using a RadMenu on the same page and the filter list is displaying behind the menu. I changed the Z-Index in my Theme for the RadFilter to 25000 so it would be in front, but it's not working. What do I need to do to have the filter above the menu?

Thanks!

Don
Mira
Telerik team
 answered on 11 May 2011
1 answer
162 views
Hi,

I'm trying to use a radwindow on a log in page.
The page works fine when authentication is off.
Soon as I enable authentication, the window will not show.

I don't need to open/close/manipulate the window...I just need it to stay visible at all times.

SignIn.aspx :
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" LoadScriptsBeforeUI="true" ScriptMode="Release">
</telerik:RadScriptManager>
<telerik:RadWindowManager ID="RadWindowManager1"
    runat="server"
    EnableViewState="true"
    EnableShadow="true"
    Modal="true"
    VisibleStatusbar="false"
    PreserveClientState="true"
    Animation="Fade"
    Behaviors="None"
    DestroyOnClose="True"
    EnableEmbeddedScripts="true"
    VisibleOnPageLoad="true"
    KeepInScreenBounds="True">
    <Windows>
        <telerik:RadWindow ID="RadWindow1" runat="server">
            <ContentTemplate>
                Hello!
            </ContentTemplate>
        </telerik:RadWindow>
    </Windows>
</telerik:RadWindowManager>


If no authentication, the page works fine.
As soon as I add the below to the web.config file, the window no longer shows:
<authentication mode="Forms">
    <forms name="SecLogin" path="/" loginUrl="SignIn.aspx" timeout="200"/>
</authentication>
<authorization>
    <deny users="?"/>
</authorization>
Marin Bratanov
Telerik team
 answered on 11 May 2011
3 answers
172 views
I switched away from using the ASP.NET AJAX Toolkit's SliderExtender to RADSlider and love it, except I miss having the Decimals property.  Some stakeholders in my projects are very picky about precision in the display of numbers, and not being able to force the display of decimal digits on the tick labels will raise some complaints for me.

I've tried using the DataTextFormatString property but nothing changed; I imagine because the sliders are not databound.
Niko
Telerik team
 answered on 11 May 2011
2 answers
120 views
Hi,

I was looking the TreeList demo and I find this demo (http://demos.telerik.com/aspnet-ajax/treelist/examples/firstlook/defaultcs.aspx). In this demo, they add a dataSource to their TreeList and they used a <ItemTemplate> to put the ProductName  and the Quantity in the same field. Here the code: 
     <%# Eval("ProductName")%><%# Eval("Quantity").ToString() != "" ? "&nbsp;(" + Eval("Quantity").ToString() + ")" : ""%>

I wonder if it was possible to do the same, but in the code-behind (serverside). 

Here is my code :

if (e.Node.Text == "Users")
{
    Telerik.Web.UI.TreeListBoundColumn nameColumn =
        new Telerik.Web.UI.TreeListBoundColumn();
 
    nameColumn.DataField = "name";
    nameColumn.UniqueName = "name";
    nameColumn.HeaderText = "Name";
 
 
 
    RadTreeList1.Columns.Clear();
 
    RadTreeList1.Columns.Add(nameColumn);
 
    RadTreeList1.DataSource = MyDataUser.GetData();
}

What I want is to take the fields (in my datasource) "firstName" and "lastName" and put it together in the "nameColumns" by using a itemTemplate.

Thank you

David
David
Top achievements
Rank 1
 answered on 11 May 2011
8 answers
104 views
I am trying to autoexpand a sliding Pane(Search Pane) when the user comes to this page.  It works fine in IE and Safari(Ipad users).  They(Program Director) would like this functionality in Firefox.  I am running the latest version of Firefox, but I am getting a Javascript error when I try to call this code:

function OpenSearchPanel(searchZone, 
searchPanelId)<BR>       
{<BR>           try 
<BR>           
{<BR>              
<BR>              
var zone = $find(searchZone);<BR>              
zone.expandPane(searchPanelId);<BR>           
}<BR>           catch (err) 
<BR>           
{<BR>                   
alert('Error opening Search Panel.  '
err.Message);<BR>                   
return;<BR>           
}<BR>       }

"zone" is coming back undefined.  Below is my partial HTML.

<telerik:RadPane ID="SearchPane" runat="server" Height="100%" Width="20px" 
Style="position: 
relative;"><BR>            
<telerik:RadSlidingZone ID="RadSlidingSearchZone" runat="server" 
SlideDirection="Left"><BR>                
<telerik:RadSlidingPane ID="RadSlidingPane1" EnableDock="false" 
runat="server" Width="240px" Title="Search" 
Scrolling="Y"><BR>                    
<!--SEARCH 
PANEL--><BR>                    
<telerik:RadPanelBar ID="radSearchPanel" 
runat="server"><BR>                        
<Items><BR>                            
<telerik:RadPanelItem runat="server" Expanded="true" 
Width="240px"><BR>                                
<ContentTemplate><BR>                                    
<table class="searchForm" width="215px" 
border="0"><BR>                                        
<tr><BR>                                            
<td 
class="searchSectionLabel"><BR>                                                
Name<BR>                                            
</td><BR>                                        
</tr><BR>                                        
<tr><BR>                                            
<td>                                                                                           
<BR>                                                
<asp:TextBox ID="txtTalentSearch" CssClass="textFields" runat="server" 
TabIndex="0"<BR>                                                    
Width="200px"></asp:TextBox><BR>                                            
</td><BR>                                        
</tr><BR>                                        
<tr><BR>                                            
<td 
class="searchSectionLabel"><BR>                                                
Agent<BR>                                            
</td><BR>                                        
</tr><BR>                                        
<tr><BR>                                            
<td><BR>                                                
<telerik:RadComboBox ID="cboAgentSearch" runat="server" EmptyMessage="Type to 
Search..."<BR>                                                    
EnableAutomaticLoadOnDemand="true" EnableVirtualScrolling="true" 
ItemsPerRequest="100"<BR>                                                    
MarkFirstMatch="True" Skin="WebBlue" 
Width="205px"><BR>                                                    
<WebServiceSettings Method="GetAgents" Path="Talent.aspx" 
/><BR>                                                
</telerik:RadComboBox><BR>                                            
</td><BR>                                        
</tr><BR>                                        
<tr><BR>                                            
<td 
class="searchSectionLabel"><BR>                                                
Agency<BR>                                            
</td><BR>                                        
</tr><BR>                                        
<tr><BR>                                            
<td><BR>                                                
<telerik:RadComboBox ID="cboAgencySearch" runat="server" EmptyMessage="Type 
to 
Search..."<BR>                                                    
EnableVirtualScrolling="true" ItemsPerRequest="100" 
EnableAutomaticLoadOnDemand="true"<BR>                                                    
MarkFirstMatch="True" Skin="WebBlue" 
Width="205px"><BR>                                                    
<WebServiceSettings Method="GetAgencies" Path="Talent.aspx" 
/><BR>                                                
</telerik:RadComboBox><BR>                                            
</td><BR>                                        
</tr><BR>                                        
<tr><BR>                                            
<td 
class="searchSectionLabel"><BR>                                                
Credit<BR>                                            
</td><BR>                                        
</tr><BR>                                        
<tr><BR>                                            
<td><BR>                                                
<telerik:RadComboBox ID="cboCreditSearch" runat="server" EmptyMessage="Type 
to 
Search..."<BR>                                                    
EnableVirtualScrolling="true" ItemsPerRequest="100" 
EnableAutomaticLoadOnDemand="true"<BR>                                                    
MarkFirstMatch="True" Skin="WebBlue" Width="205px" 
<BR>                                                    
><BR>                                                    
<WebServiceSettings Method="GetCredits" Path="Talent.aspx" 
/><BR>                                                
</telerik:RadComboBox><BR>                                            
</td><BR>                                        
</tr><BR>                                        
<tr><BR>                                            
<td align="left" valign="top" 
class="searchSectionLabel"><BR>                                                
Genre<BR>                                                
&nbsp; 
&nbsp;<BR>                                                
<asp:Image ID="imgGenreSearch" runat="server" ImageUrl="~/Images/Search.gif" 
Visible="false" 
/><BR>                                            
</td><BR>                                        
</tr><BR>                                        
<tr><BR>                                            
<td><BR>                                                
<asp:ListBox ID="lstGenreSearch" CssClass="textFields" 
SelectionMode="Multiple" 
runat="server"<BR>                                                    
Width="205px" 
OnSelectedIndexChanged="SearchListBox_SelectedIndexChanged"<BR>                                                                    
AutoPostBack="true"></asp:ListBox><BR>                                            
</td><BR>                                        
</tr><BR>                                        
<tr><BR>                                            
<td align="left" valign="top" 
class="searchSectionLabel"><BR>                                                
Strength<BR>                                                
&nbsp; 
&nbsp;<BR>                                                
<asp:Image ID="imgStrengthSearch" runat="server" 
ImageUrl="~/Images/Search.gif" Visible="false" 
/><BR>                                            
</td><BR>                                        
</tr><BR>                                        
<tr><BR>                                            
<td><BR>                                                
<asp:ListBox ID="lstStrengthSearch" CssClass="textFields" 
SelectionMode="Multiple"<BR>                                                    
runat="server" Width="205px" 
OnSelectedIndexChanged="SearchListBox_SelectedIndexChanged"<BR>                                                                    
AutoPostBack="true"></asp:ListBox><BR>                                            
</td><BR>                                        
</tr><BR>                                        
<tr><BR>                                            
<td align="left" valign="top" 
class="searchSectionLabel"><BR>                                                
Specialty<BR>                                                
&nbsp; 
&nbsp;<BR>                                                
<asp:Image ID="imgSpecialtySearch" runat="server" 
ImageUrl="~/Images/Search.gif" Visible="false" 
/><BR>                                            
</td><BR>                                        
</tr><BR>                                        
<tr><BR>                                            
<td><BR>                                                
<asp:ListBox ID="lstSpecialtySearch" SelectionMode="Multiple" Width="205px" 
Height="100px"<BR>                                                    
runat="server" 
OnSelectedIndexChanged="SearchListBox_SelectedIndexChanged"<BR>                                                                    
AutoPostBack="true"><BR>                                                
</asp:ListBox><BR>                                            
</td><BR>                                        
</tr><BR>                                        
<tr><BR>                                            
<td 
class="searchSectionLabel"><BR>                                                
<asp:CheckBox ID="chkTarget" runat="server" CssClass="textFields" 
Text="Target" 
/><BR>                                            
</td><BR>                                        
</tr><BR>                                        
<tr><BR>                                            
<td 
class="searchSectionLabel"><BR>                                                
Note<BR>                                                
&nbsp; 
&nbsp;<BR>                                                
<asp:Image ID="imgNoteSearch" runat="server" ImageUrl="~/Images/Search.gif" 
Visible="false" 
/><BR>                                            
</td><BR>                                        
</tr><BR>                                        
<tr><BR>                                            
<td><BR>                                                
<asp:ListBox ID="lstNoteSearch" runat="server" SelectionMode="Multiple" 
Width="205px" 
OnSelectedIndexChanged="SearchListBox_SelectedIndexChanged"<BR>                                                                    
AutoPostBack="true"><BR>                                                    
<BR>                                                
</asp:ListBox><BR>                                            
</td><BR>                                        
</tr><BR>                                        
<tr><BR>                                            
<td 
class="searchSectionLabel"><BR>                                                
<asp:CheckBox ID="ckAvailableOnlySearch" runat="server" Text="Available Only" 
/><BR>                                            
</td><BR>                                        
</tr><BR>                                        
<tr><BR>                                            
<td 
class="searchSectionLabel"><BR>                                                
<asp:CheckBox ID="ckIncludeInactiveSearch" runat="server" Text="Include 
Inactive" 
/><BR>                                            
</td><BR>                                        
</tr><BR>                                        
<tr><BR>                                            
<td align="right" 
class="searchSectionLabel"><BR>                                                
<telerik:RadButton ID="btnSearch" OnClick="btnSearch_Click" runat="server" 
Text="Search"<BR>                                                    
Skin="WebBlue"><BR>                                                
</telerik:RadButton><BR>                                                
<telerik:RadButton ID="btnReset" OnClick="btnReset_Click" runat="server" 
Text="Reset"<BR>                                                    
Skin="WebBlue"><BR>                                                
</telerik:RadButton><BR>                                            
</td><BR>                                        
</tr><BR>                                    
</table><BR>                                
</ContentTemplate><BR>                            
</telerik:RadPanelItem><BR>                        
</Items><BR>                    
</telerik:RadPanelBar><BR>                
</telerik:RadSlidingPane><BR>            
</telerik:RadSlidingZone><BR>        
</telerik:RadPane><BR><BR>

Environment:
Windows 7
Firefox 4.0.1
Latest Version of the Telerik AJAX Controls:  2011.1.413.40
ASP.NET 4.0
Visual Studio 2010

Thanks

Mark
Niko
Telerik team
 answered on 11 May 2011
1 answer
66 views
Using normal link and even the JavaScript below, called in another function, will transfer the page to the new URL, and since caching is turned on, load it from the cache.  But clicking a node on the TreeView, although sending to the new page, will not use the cache, and the page loads from the server.

Do you know how to explain this behavior or a work around?  This code was added as an attempt to override default behavior as a fix to this issue, but had no effect noticeable from the default behavior

function OnClientNodeClicking(sender, eventArgs)
{
    var node = eventArgs.get_node();
    var url = node.get_navigateUrl();
    if (url) window.location = url;       
    eventArgs.set_cancel(true);
}
Richard
Top achievements
Rank 1
 answered on 11 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?