Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
280 views
Hello

i want to have two different DragHandle images (say left and right) for range slider. is it possible.?

and other problem i am facing is if i m using two different images for Track images and these images are not the straight line
e.g.

.RadSlider_MySkin

 

.rslHorizontal .rslTrack

 

{

 

background:url('Slider/horz_slider_hover.png') no-repeat;

 

 

height:26px;

 

 

width:500px;

 

}

.RadSlider_MySkin

 

.rslHorizontal .rslSelectedregion

 

{

 

background:url('Slider/horz_slider.png') right top no-repeat;

 

 

height:26px;

 

 

width:500px;

 

}


and when i drag left side dragHandle, it seems like dragHandle is passing over the main path and that is looking proper but when i drag right side dragHandle, it is not passing over the main path rather it makes main image to move from right to left.

i am attaching Exmp_sliderImg.gif file to make my doubts (or requirements) more clear. In this image, i have specified what exactly i want.

Thanks
Tsvetie
Telerik team
 answered on 08 Sep 2010
9 answers
234 views
I am having a rendering issue with RadComboBox. It is only an issue in IE.

Have a look at the attached image, the arrow dropdown has an underline that does not line up when the page loads. If you hover over and hover off the rendering fixes itself.

I am currently using the latest release of 3.5 AJAX Web controls. I am using the Outlook and Default skins.

I am not setting any custom css styles for RadCombo.

Edit: I have found that the rendering issue only occurs when you scroll the page before the page is fully loaded. Waiting for the page to fully load (IE loading progress bar is gone) then the combo loads normally.

Any idea what is causing the issue?

Cheers
Aaron
Andy
Top achievements
Rank 1
 answered on 08 Sep 2010
4 answers
109 views
Dear Support Team,

I am having problem with the vertical scroll when adding Raddockzone inside a rad panel. When I add docks dynamically the raddock zone keep expaning outstide the rad dock instead of expaning inside the rad dock.

I have attached copy of my page, your help is much appreciated:


<%@ Page Language="vb" AutoEventWireup="true" CodeBehind="WebForm5.aspx.vb" Inherits="UserMosiacWeb.WebForm5" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
 
</head>
<body>
     <form id="Form1" method="post" runat="server">
       <telerik:RadScriptManager ID="ScriptManager" runat="server" />
        <asp:Button runat="server" CssClass="button" ID="ButtonAddDock" Text="Add Dock" OnClick="ButtonAddDock_Click" />
        <asp:Button runat="server" ID="ButtonPostback" CssClass="button" Text="Make Postback" />
        <br />
        <br />
           
          
          <telerik:RadSplitter ID="NestedSplitter" runat="server" Skin="WebBlue" LiveResize="true" Orientation="Horizontal" Height="100%" Width="100%" >
          <telerik:RadPane ID="RightPane" runat="server" Height="400px" Width="100%">
    
        <asp:UpdatePanel runat="server" ID="UpdatePanel1">
            <ContentTemplate>
            
                <telerik:RadDockLayout runat="server" ID="RadDockLayout1" OnSaveDockLayout="RadDockLayout1_SaveDockLayout"
                    OnLoadDockLayout="RadDockLayout1_LoadDockLayout" Skin="WebBlue">
                    
                    <telerik:RadDockZone runat="server" ID="RadDockZone1" Width="300" MinHeight="200"
                        Style="float: left; margin-right: 20px;" FitDocks="true">
                    </telerik:RadDockZone>
                  
                    <telerik:RadDockZone Width="300" MinHeight="200" runat="server" ID="RadDockZone2"
                        Style="float: left;">
                    </telerik:RadDockZone>
                </telerik:RadDockLayout>
            </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="ButtonAddDock" EventName="Click" />
            </Triggers>
        </asp:UpdatePanel>
      
            </telerik:RadPane>
        </telerik:RadSplitter>
    </form>
</body>
</html>
Pero
Telerik team
 answered on 08 Sep 2010
1 answer
59 views
6 answers
344 views
Am trying to access a control in the emptydata item template to disable it for certain users. My template looks like this:

<EmptyDataTemplate>
 
     This staff member currently has no blogs.
 
     <br />
 
     <asp:LinkButton ID="lnkBtnAddBlog" runat="server" CommandName="AddBlog"
             Visible="<%# AllowUserEdits() %>"> Add new blog</asp:LinkButton>
 
 </EmptyDataTemplate>

The function in the "visible" attribute isn't firing, yet the exact same button is in the Item template and it fires ok there.

I also can't find a FindControl function for the empty item in code..but i can for the other templates.

So how would i go about accessing that control?

Many thanks

James
James
Top achievements
Rank 1
 answered on 08 Sep 2010
1 answer
77 views

I need to make a input numeric textbox where only thousands are allow, and minimum value 5000

for example 5000, 7000, 10.000, ....

if some gives in 7300 if has to be rounded to 7000, if 259200 to 259000 >> so rounded to the nearest 1000

i have tried to do the first step (check if it is a thousand) with a 

 <
telerik:radnumerictextbox MinValue="5000" ClientEvents-OnKeyPress="" Culture="nl-BE" id="txtBedrag" runat="server">  

 

<NumberFormat DecimalDigits="0" />

 

<ClientEvents OnValueChanged="OnValueChanged" />

 

 

 

</telerik:radnumerictextbox> 

 

 

 

 

 

 

 

<

 

script type="text/javascript">

 

 

 

 

 

function

 

OnValueChanged(sender, eventArgs)

 {

 

var number = aspnetForm.ctl00_ContentPlaceHolder1_txtBedrag_text.value;  

 

 

 

if (number % 1000 > 0)  

 

return false;

 }

 

</script>

 

 

 

 

but this doenst do anyhting, if someone can help me, please let me know !

thanks,
wouter
Dimo
Telerik team
 answered on 08 Sep 2010
1 answer
52 views
hi
when i enable filtering and grouping rad grid shows out of page
please help
thanks
Dimo
Telerik team
 answered on 08 Sep 2010
3 answers
132 views
I have Rad panel Item on left  and xml window on right . When anyone clicks on childradpanelitem1 i want that about.htm loads in the xml window.

The Rad panel Items actually contains submenu of the selected main menu . That means when anyone clicks the submenu of my menu the respective file must appear in xml window . That is when he clicks on About Us (main menu) > Contact us (sub menu) the xml window must come loaded with contact.htm .

 I  want to have 6 aspx files for 6 menus and able to jump from one file to another depending on the submenu cicked . That means i am on Admission.aspx but user clicks on About Us (main menu) > Contact us (sub menu) which is in the file about.aspx and in that also the xml window must come loaded with contact.htm .
Pero
Telerik team
 answered on 08 Sep 2010
1 answer
91 views
Here's my code to make new nodes

function addApproverClick() {
        var window = $find("<%= newTabWindow.ClientID %>");
        var tree = $find("<%= treeView.ClientID %>");
        window.close();
 
        tree.trackChanges();
        var node = new Telerik.Web.UI.RadTreeNode();
        node.set_text('test');
        node.set_value(getPickerOptions());
        node.set_imageUrl("../images/person-white.png");
 
        selectedNode.expand();
        if (addType == "Add") {
            selectedNode.get_parent().get_nodes().add(node);
        } else {
            selectedNode.get_nodes().add(node);
        }
        tree.commitChanges();
    }

So it all works, great when I click a button on the page to postback, all the nodes created clientside are missing that image.

It seems that it's appending the Host to the beginning of it instead of what I assigned it.
http://postgrad.dev.medportal.ca/apps/rto/new/images/person-white.png

..weird?
Yana
Telerik team
 answered on 08 Sep 2010
8 answers
110 views
I am using the OnClientTimeSlotClick event to allow users to insert and edit appointments with a single click.  But I find that whenever the user clicks inside the insert or edit template, the click event bleeds through to the scheduler and raises the OnClientTimeSlotClick event.

I can kinda work around this by checking to see if an object with the class rsAptEditFormWrapper exists and if it does not open the insert form.  But this also prevents a user from cancelling out of the edit by clicking on a blank slot to create a new appointment.

Peter
Telerik team
 answered on 08 Sep 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?