Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
100 views
Firefox Firebug with YSlow will report on main pages but YSlow doesn't catch windows.

Any ideas for how we can do that?

Thanks!
TonyG
Top achievements
Rank 1
 answered on 26 Oct 2010
1 answer
78 views
I need to turn off the borders on the end of the menu control.  I have a graphic background that makes the menu appear to stretch from one side of the browser to the other.  The menu sits on the graphic and looks good except that the menu border is on the ends and breaks up the graphic.  I want to keep the top and bottom borders just not the sides.

Thanx,

Eric
Cori
Top achievements
Rank 2
 answered on 25 Oct 2010
1 answer
138 views
Hi,
    I have a problem in my application where i have used Tabstrip control in UserControl and i have used this UserControl in my aspx page. Please find the code below.


--%><telerik:RadMultiPage ID="RadMultiPage1" runat="server" Width="922px" Height="268px"></telerik:RadMultiPage><%--
    --%><telerik:RadTabStrip ID="RadTabStrip1" runat="server" Height="43px"
        Orientation="HorizontalBottom" EnableEmbeddedSkins="False" Skin="Marquee" Width="922px"
        MultiPageID="RadMultiPage1" 
        OnClientMouseOver="SelectMyTab" ClickSelectedTab="True" OnClientMouseOut="UnSelectMyTab(event)"
        OnClientTabSelected="OnSelected" CausesValidation="False">
    </telerik:RadTabStrip>
    <script language="javascript" type ="text/javascript">
//       function ClientMouseOverHandler(sender, eventArgs)
//       {
//        var tabStrip = sender;
//        var tab = eventArgs.Tab;
//        var browserEvents = eventArgs.EventObject;
//        alert("You have just moved over the " + tab.Text + " tabs in the " + tabStrip.ID + " tabstrip");
//        alert("Mouse coordinates: " + browserEvents.clientX + ":" + browserEvents.clientY); 
//       }
        function SelectMyTab(obj, args)           
        {           
            alert("OnMouseOver");
            args.Tab.Select();   
        }
          
        function UnSelectMyTab(e)           
        {     
            var tabStrip = <%= RadTabStrip1.ClientID%>;   
            var z=<%= RadTabStrip1.ClientID%>.SelectedTab;    
           //alert(z.Text);  
            var selectedtab;     
            //Find the element which the mouse is over     
            var destElement = e.relatedTarget || e.toElement;  
            //Check if that element is part of the tabstrip   
            while (destElement)     
            {     
                if (destElement.parentNode == tabStrip.DomElement)     
                {     
                    return;     
                }     
                destElement = destElement.parentNode;     
            }     
        
          
        function OnSelected(sender, eventArgs)  
        {  
             alert("OnSelected");
             var currentTab = <%= RadTabStrip1.ClientID %>.SelectedTab;  
             return false;  
        }  
    </script>


My requirement is Tab should get activated in Mousemove. Butt tabs are working proper in OnClick event. But it is not working in MouseOver event.

Please help me.

Thanks in Advance

 

 

 

Cori
Top achievements
Rank 2
 answered on 25 Oct 2010
4 answers
155 views
I am trying to unselect the current selected item of the RadPanelBar inside the code. I set the RadPanelBar selected item to false but the highlighted grey color is still appearing. It seems to me that RadPanelBar does not get updated via ajax.I am assuming. In asp.net, I wrap the control with asp:updatepanel and in the code do Update(); and Bind();

Does any know how I do this with Telerik? ..or please let me know if my approach is incorrect. Thanks for any feedbacks.

-----------------sample code--------------------------
//Get RadPanelBar

RadPanelBar

 

radpanelbar= (RadPanelBar) folderExplorer.FindControl("RadPanelBar1");
//Unselected so that the highlighted color will disappear

 

 

radpanelbar.SelectedItem = false;

 

 

radpanelbar.DataBind();

 

Pablo
Top achievements
Rank 1
 answered on 25 Oct 2010
8 answers
450 views
I've been successfully using the RadComboBox autocomplete filter (very nice feature).  But...I've broken it or so it appears.   The symptom is it only matches the first character typed so that entering 'Sm' will jump to 'Sa' (or the first 'S' string match) and no further ?.  

<

asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:edwaydbConnectionString %>" SelectCommand="SELECT [lname], lname+','+fname 'lfname', [StudentID] FROM [Registrations] ORDER BY [lname], [fname]"></asp:SqlDataSource>


<CommandItemTemplate>

<telerik:RadComboBox ID="RadComboBox1" runat="server" Height="140px" Width="250px"

DataSourceID="SqlDataSource2" DataTextField="lfname" DataValueField="StudentID"

ToolTip="Select a student" Skin="Vista" AllowCustomText="true" MarkFirstMatch="True"

Font-Size="Small" ShowToggleImage="true">

<CollapseAnimation Type="InSine"></CollapseAnimation>

<ExpandAnimation Type="InOutSine"></ExpandAnimation>

</telerik:RadComboBox>

<asp:Button ID="btnSearch" runat="server" Text="Search" CommandName="Search" />

<asp:Button ID="btnClear" runat="server" Text="Clear" CommandName="Clear" />

</CommandItemTemplate>

Simon
Telerik team
 answered on 25 Oct 2010
2 answers
182 views
Hi,

When uploading files using RadEditor, is it possible to make a copy of the image in another folder location using the FileUpload event?

For example I use the image manager to upload "Image1.jpg"... it saves to C:\directory1... I would like to make an exact copy in C:\directory2.

Thanks,
Chris.
Conor Morrissey
Top achievements
Rank 1
 answered on 25 Oct 2010
1 answer
115 views
Hi,

Maybe a simple question, but I was wondering how I can store the clicked rate of a user?
I don't want the users to 'rate' again?

Talking about anonymous users that don't have to login.

Thanks,
Daniel
Tsvetie
Telerik team
 answered on 25 Oct 2010
3 answers
158 views
I am using maskedtextbox controls for a phone number.  I have the same code on multiple pages but on one of them, the value of the maskedtextbox controls are cleared on postback.  All the other places with the same exact code (copy and pasted) are working fine but for some reason the values are cleared on one page.  The bug has to do with the control being on the Login page before you login (it is used during registration).  I took out the Forms Authentication, and the values were no longer cleared on the login page on postback.  I am able to get around this by just taking the register page out of the part of my application that needs to be authenticated, but it is a bug that should be fixed.

(<telerik:RadMaskedTextBox ShowSpinButtons="false" IncrementSettings-InterceptArrowKeys="false"
                IncrementSettings-InterceptMouseWheel="false" ID="Telephone1" MaxLength="3" Width="30px" runat="server" Mask="###"></telerik:RadMaskedTextBox>) <telerik:RadMaskedTextBox ShowSpinButtons="false" IncrementSettings-InterceptArrowKeys="false"
                IncrementSettings-InterceptMouseWheel="false" ID="Telephone2" MaxLength="3" Width="30px" runat="server" Mask="###"></telerik:RadMaskedTextBox>-<telerik:RadMaskedTextBox ShowSpinButtons="false" IncrementSettings-InterceptArrowKeys="false"
                IncrementSettings-InterceptMouseWheel="false" ID="Telephone3" MaxLength="4" Width="40px" runat="server" Mask="####"></telerik:RadMaskedTextBox>
Martin
Telerik team
 answered on 25 Oct 2010
3 answers
198 views
Hello everybody !

At the beginning of the page
I have a div with title in the left  and in the right corner of the div I have a combo box with some elements
Under this I have a Radmenu. The problem is when I click combo, the list that is open is under the menu bar.

What I'm doing wrong and how I can fix it?

Thank you !
Hans



Yana
Telerik team
 answered on 25 Oct 2010
4 answers
255 views
Hello

I'm building a blog and each post corresponds to an item in the ListView that is bounded to a sql datasource. Each post is identify for a unique record number.

For each item in the listview I need to show other listview inside the item containing the attached files for this particular post. The records for this second listview should be obtained with "OnNeedDataSource" because this list is builded exploring the directory where the attached files are stored.

Is it possible to do that? Anyone has an example? How can I identify the record number of the post in this event routine.

Thanks in advance


Nikolay Rusev
Telerik team
 answered on 25 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?