Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
437 views
Hi,

I'm wonder how to remove commnads and the path from the RadEditor Image Manager window (Every thing that is selected in Red in the attcahed screen-shot).

Please, I need your help,

Regards,
Bader 
Bader
Top achievements
Rank 1
 answered on 24 Jan 2012
6 answers
278 views
I use the following code to restrict edit to integer only. It only works when I edit a row first time. Whenever I keep clicking other rows it will turn back to numeric box again and allowing digits. What should I do to prevent this happening? I notice that after first clicking the grid will use column editor different from the one I designated on the page. It looks like default one. That's the reason I lost the integer constrain. How could I fix this?

 <telerik:GridNumericColumnEditor ID="GridNumericColumnEditor3" runat="server" NumericTextBox-Width="40px">
        <NumericTextBox ID="NumericTextBox2" DataType="System.Int32" runat="Server">
            <NumberFormat AllowRounding="true" DecimalDigits="0"  GroupSeparator="" DecimalSeparator=" " />
        </NumericTextBox>
    </telerik:GridNumericColumnEditor>

Thanks
Lewis
Marin
Telerik team
 answered on 24 Jan 2012
1 answer
132 views
I have 3 Rad Editors on my xyz.aspx page and the Toggle Fullscreen button works only for the Design View (mode). If I have enabled only HTML mode in my Rad Editor than the Toggle Full screen button is disabled.

HELP!!!!!
Rumen
Telerik team
 answered on 24 Jan 2012
1 answer
51 views
I searched but could not find whether this had been requested before.  If it has, I apologize for the duplication.  However, I would really like it if you would consider adding some default validation to the controls that could be configured in the markup.  I really hate to compare to a competitor, but Ext.NET does this nicely with several, configurable options on message text, icon, location, tooltip, etc.

When the controls are drawn, the error presentation is consistent, with consistent graphics, a condensed error display (controls change color instead of validation being added beside the control) and tooltips are automatically generated, but are also configurable.

I realize that validation is possible in Telerik today, and with some work, it could maybe be very similar to the presentation output by the exemplified markup.  However, for productivity and consistency, I think it would make a very nice feature addition to the tools.  Preferably, the addition of the markup would result in controls that validate similarly to this: http://jquery.bassistance.de/validate/demo/marketo/.

I hope you will consider my feature request for future product versions.

Thanks.
Iana Tsolova
Telerik team
 answered on 24 Jan 2012
6 answers
94 views
so I wired up a OnBlur client event on the only column in the Edit Mode not read-only
the function fires well and good and triggers an Ajax request which works then - nothing

    <telerik:RadCodeBlock ID="rcBlock" runat="server">
<script type="text/javascript">
<!--
function rntbQty_OnBlur(sender, eventArgs) {
    alert('clear edit item');
    var theMan = $find("<%= raManager.ClientID %>");
    theMan.ajaxRequest("CloseEdits");
}
-->
</script>
</telerik:RadCodeBlock>
 
<telerik:RadAjaxManager ID="raManager" OnAjaxRequest="raManager_AjaxRequest" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="rgEditOrder">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="rgEditOrder" />
                <telerik:AjaxUpdatedControl ControlID="rtbStart1" />
                <telerik:AjaxUpdatedControl ControlID="rtbEnd1" />
                <telerik:AjaxUpdatedControl ControlID="rtbStart2" />
                <telerik:AjaxUpdatedControl ControlID="rtbEnd2" />
                <telerik:AjaxUpdatedControl ControlID="rtbStart3" />
                <telerik:AjaxUpdatedControl ControlID="rtbEnd3" />
                <telerik:AjaxUpdatedControl ControlID="txtStoreHidden" />
                <telerik:AjaxUpdatedControl ControlID="txtChain" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
the column
<telerik:GridTemplateColumn UniqueName="Qty" HeaderText="Cases" DataField="Qty" DataType="System.Int32" Aggregate="Sum" >
    <ItemTemplate>
        <asp:Label ID="lblQty" Text='<%# Bind("Qty") %>' Width="32px" runat="server" />
    </ItemTemplate>
    <EditItemTemplate>
        <telerik:RadNumericTextBox ID="rntbQty" DBValue='<%# Eval("Qty") %>' OnTextChanged="rntbQty_TextChanged" MinValue="0" MaxValue="99999" MaxLength="5" AutoPostBack="True" Width="32px" runat="server">                    
            <NumberFormat DecimalDigits="0" GroupSeparator="" />
            <ClientEvents OnBlur="rntbQty_OnBlur" />
        </telerik:RadNumericTextBox>
    </EditItemTemplate>
    <HeaderStyle Width="32px" />
</telerik:GridTemplateColumn>

protected void raManager_AjaxRequest(object sender, AjaxRequestEventArgs e)
{
    foreach (GridItem gItem in rgEditOrder.EditItems)
    {
        if (gItem is GridEditableItem)
        {
            GridEditableItem geItem = (GridEditableItem)gItem;
            geItem.Edit = false;
        
    }
    rgEditOrder.Rebind();
}
why won't it work?
Iana Tsolova
Telerik team
 answered on 24 Jan 2012
1 answer
434 views
Hi,

I am using radwindow. i need to pass value with navigate url.

my code is

 <telerik:RadWindow ID="radPropertyInspector" runat="server" Skin="Default" Modal="true" Behaviors="Default" Height="300px" Width="400px" ReloadOnShow="true" OnClientShow="OnClientshow"
            OnClientClose="OnClientClose" NavigateUrl="NZFPropertyInspector.aspx?docId={}">
            </telerik:RadWindow>

but i have the query string value with in hidden field.

How to pass the value.

Thanks,
Uma


Princy
Top achievements
Rank 2
 answered on 24 Jan 2012
1 answer
265 views
I needed to be able to trim leading & trailing spaces that may have been inadvertently entered by the user as part of their search criteria. I tried to find documentation on this to no avail. If there's a better way to do it, please let me know. 

Until then, this is what I did...
I used a separate button to execute the search. The onclick of that button fires this method:

   protected void FilterData(object sender, EventArgs e)
    {
        LoopThruFilterControls(rfPortfolios.Controls);
        rfPortfolios.FireApplyCommand();
    }



And LoopThruFilterControls looks like this:
    private void LoopThruFilterControls(ControlCollection cc)
     {
        for (int i = 0; i < cc.Count; i++)
        {
string controlType = cc[i].GetType().Name;
if(controlType.Equals("TextBox", StringComparison.CurrentCultureIgnoreCase))
{
TextBox tmp = (TextBox)cc[i];
                ((TextBox)cc[i]).Text = tmp.Text.Trim();
                }
                LoopThruFilterControls(cc[i].Controls);
        }
    }
Princy
Top achievements
Rank 2
 answered on 24 Jan 2012
1 answer
169 views
Hi, how do I get an item count for a treeview folder or node? I would like the item count to appear in parenthesis () next to the folder or node.

Thanks
Gary
Princy
Top achievements
Rank 2
 answered on 24 Jan 2012
4 answers
160 views
Hi,
m new user of telerik i want to change the behaviour of Scheduler Appointment Click. on appointment click i want to open a RadWindow having information of that appointment and the resource detail by joining other tables from database..
Plz reply me how to achive that behaviour by using C#
Shinu
Top achievements
Rank 2
 answered on 24 Jan 2012
1 answer
42 views
Is there a way to to use a GridButtonColumn to display an image with text across it?  For example, I might display an Employee's picture with their name (as text) across the picture.

Thanks,
Carl.
Shinu
Top achievements
Rank 2
 answered on 24 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?