Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
215 views
We have noticed that if you single click on an appointment and then wait a while (seconds or even minutes) and single click on that same appointment again, the OnClientAppointmentDoubleClick event will fire. We noticed this within a usability test conducted on our application.  I was able to reproduce this behavior in the RadScheduler Client-Side Events demo online. Is there anyway to limit or restrict the delay between clicks that trigger the double-click event?
Thanks!
Paige Cook
Top achievements
Rank 2
 answered on 09 Sep 2008
2 answers
148 views
Hi,

I want to create a TreeView which looks like as

|
|__(DepartmentName)  ------> Parent Node
|    |___(UserName)     --------> Child Node
|            |___(UserDesription) -----> Child Child Node
|

I have a table with following columns.

 | DepartmentName | UserId  | UserName | UserDesription |

I want to implement this by using  template ....Can I do this? If yes , please guide me?

Please node that, I am creating this in sharepoint, so I have to implement this through code only, no aspx page.

Thanks
Savan
 
Savan
Top achievements
Rank 1
 answered on 09 Sep 2008
1 answer
322 views
Hi,

I need to implement a password strength indicator. To indicate the password's quality I want the password input text box to change it's background color from red to green when the user enters a character.
Since the RadTextBox's client-event "OnKeyPress" is not thrown on delete keys, I use
"onKeyUp" here is my JavaScript function which shall set the background color to red
(just for debugging purposes):
 function checkPassword() { 
            var passwdBox = $find("<%= PasswordBox.ClientID %>"); 
             
            passwdBox.get_styles().EnabledStyle[0] += "background-color: Red;"
            passwdBox.updateCssClass(); 
        } 

The problem is, that the color simply does not change. What's wrong with my code?
Best regards,
Robert
Missing User
 answered on 09 Sep 2008
3 answers
78 views
Hi,

    In Scheduler i want to display color not subject on that day. that day should be hyperlink. onclick on hyperlink subject should display in popup window.
Peter
Telerik team
 answered on 09 Sep 2008
1 answer
73 views
  hi,
 I have created a custom control using two radeditors and a spliiter in the middle . I want to render the control into in the design mode . I am not able to get the complete control when i drag and drop. it sis visisble in the Run time in the aspx. But i want the control tioo be rendered in the design time itself.



note: i am able to obtain other controls when rendering .. except the  radeditor and splitter..

please help me in this process.






here the code which i have send as HTML:
  <telerik:RadSplitter id="Radsplitter3" runat="server" height="300" width="700" Orientation="Horizontal">
                <telerik:RadPane id="Radpane4" runat="server">
                    Splitt<telerik:RadEditor ID="RadEditor1" Runat="server">
                    </telerik:RadEditor>
                  Top Pane
                </telerik:RadPane>
                <telerik:RadSplitBar id="Radsplitbar4" runat="server" CollapseMode="Forward"/>
                <telerik:RadPane id="Radpane5" runat="server">
                    Splitter Bottom<telerik:RadEditor ID="RadEditor2" Runat="server">
                    </telerik:RadEditor>
                 </telerik:RadPane>
            </telerik:RadSplitter>


Find the code which i used to render the telerik controls.   


   

    #region CreateChildControls
        protected override void CreateChildControls()
        {
            try
            {
                //// Creation of the Controls
                radPaneTop.Controls.Add(radEditorTop);
                radPaneBottom.Controls.Add(radEditorBottom);
                radSplit.Controls.Add(radPaneTop);
                radSplit.Controls.Add(radSplitBar);
                radSplit.Controls.Add(radPaneBottom);
               
                this.Controls.Add(radSplit);
                base.CreateChildControls();
            }
            catch (Exception ExpCreateChildControls)
            {
                throw ExpCreateChildControls;
            }
        }

        #region EnsureChildControls
        protected override void EnsureChildControls()
        {
            base.EnsureChildControls();
        }
        #endregion
        #endregion

        protected override void Render(HtmlTextWriter writer)
        {
            try
            {
                // AddAttributesToRender(writer);
                if (HttpContext.Current != null)
                {
                    //Panel a = new Panel();
                    //TextBox b = new TextBox();
                    //a.RenderBeginTag(writer);                  

                    this.radSplit.RenderBeginTag(writer);
                    this.radPaneTop.RenderBeginTag(writer);
                    //this.radEditorTop.RenderControl(writer);                                       
                    this.radEditorTop.RenderControl(writer);
                    this.radPaneTop.RenderEndTag(writer);
                    this.radSplitBar.RenderBeginTag(writer);
                    this.radSplitBar.RenderEndTag(writer);
                    this.radPaneBottom.RenderBeginTag(writer);
                    this.radEditorBottom.RenderControl(writer);
                    this.radPaneBottom.RenderEndTag(writer);
                    this.radSplit.RenderEndTag(writer);
                }
            }
            catch (Exception ex)
            {

            }

 




Rumen
Telerik team
 answered on 09 Sep 2008
1 answer
196 views
I have a large number of data points that need to be displayed, with the X Axis being the time that is displayed. Samples are taken every 5, 10, or 15 minutes for periods of a Month. What I need to be able to do is display the date when I am not zoomed in and then go to a display of hours on the X-Axis as I zoom in.

I have used the LabelStep property of the PlotArea.XAxis to set how many labels there are but what I would like to do is determine the number of items that are visible in the PlotArea, then as I zoom in to adjust the LabelStep value. Is it possible to find a ration of how far I have zoomed in to calculate the number of visible items? Any help would be appreciated, thank you.
Vladimir Milev
Telerik team
 answered on 09 Sep 2008
3 answers
135 views
I am trying to apply a custom skin to this control and I cannot get it to work. Reading through the helpfiles and the posts, there appears to be conflicting information (it can/cannot be done, etc). So..

  1. Can it be done?
  2. If so, what are the steps?
  3. I have installed the handlers, copied the skins, added the link to the css, EnabledEmbeddedSkins=false, but the Speller opens in window with no CSS/Skin applied. Also tried with/without the 'DialogsCssFile' setting.

<

link href="../Skins/WFSP/Spell.WFSP.css" rel="stylesheet" type="text/css" /> <telerik:RadSpell ID="RadSpell1" runat="server"
    ControlToCheck="txtShortDesc" EnableEmbeddedSkins="false"    Skin="WFSP"    AllowAddCustom="False" ButtonType="ImageButton" ButtonText="abc" ToolTip="Click to Spell Check" SupportedLanguages="en-US,English" WordIgnoreOptions="UPPERCASE, RepeatedWords, WordsWithNumbers"DialogsCssFile="~/Skins/WFSP/Spell.WFSP.css" />

Thank you in advance.

Georgi Tunev
Telerik team
 answered on 09 Sep 2008
5 answers
464 views
Hello,
I have a RadGrid that needs to have a editable text box for each row open and ready by default.
What is better for a RadGrid with 100 -300 Rows, using a RadNumericTextBox or a GridNumericColumnEditor?
See below:

<telerik:GridTemplateColumn DataField="Price" HeaderText="Price" 
            SortExpression="Price" UniqueName="TemplateColumnPrice">
            <ItemTemplate>
                <telerik:RadNumericTextBox ID="txtPrice" runat="server" EmptyMessage="type ..." ShowSpinButtons="True" Type="Currency" width="200px" InvalidStyleDuration="100" Value='<%# Convert.ToDecimal(DataBinder.Eval(Container.DataItem, "Price")) %>'>
                    <NumberFormat AllowRounding="True" KeepNotRoundedValue="False" />
                </telerik:RadNumericTextBox>
                <asp:RequiredFieldValidator ID="rqPrice" ControlToValidate="txtPrice" runat="server" ErrorMessage="<%$ Resources:Backend, Required %>"/>
            </ItemTemplate>
        </telerik:GridTemplateColumn>

Or using the: GridNumericColumnEditor

<telerik:GridTemplateColumn DataField="Price" HeaderText="Price"
SortExpression="Price" UniqueName="TemplateColumnPrice">
<ItemTemplate>
<telerik:GridNumericColumnEditor ID="GridNumericColumnEditor1" runat="server">
<NumericTextBox EmptyMessage="type ..." ShowSpinButtons="True" Type="Currency" width="200px" InvalidStyleDuration="100" Value='<%#Bind("Price") %>' ID="txtPrice">
<NumberFormat AllowRounding="True" KeepNotRoundedValue="False" />
</NumericTextBox>
</telerik:GridNumericColumnEditor>
</ItemTemplate>
</telerik:GridTemplateColumn>

Yavor
Telerik team
 answered on 09 Sep 2008
5 answers
127 views
Hi,

I have placed an input button (by default disabled) and radeditor in my screen. I want to fire a command on click of the button when it got enabled. But the button throwing me a javascript error when it is disabled. The exception details are as follows,

Line :    5949
Error:    Sys.ArgumentException: Value must be a DOM element.
Parameter Name: element.


And it is observed that, when no editor is placed in the form and clicking the button is not throwing any exception.

Please give me some suggestions to resolve this problem.
Rumen
Telerik team
 answered on 09 Sep 2008
0 answers
46 views

When i add a new item in the Data Table, the newly added item is added as the last item in the list. But what i require is, the newly added item should be added as the first item in the list.

The same thing happens in case of grouping too....
Grouping order should be reversed. Latest item should be on top of the list. Currently the oldest item is first item in the grouping.


Can you kindly help in accomplishing this task...


Thanks,
K.Sathya


Sathya
Top achievements
Rank 1
 asked on 09 Sep 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?