Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
61 views
In this bar chart, some of the labels aren't lining up correctly. What can I do fix this?
Nikolay
Telerik team
 answered on 24 Jun 2013
1 answer
88 views
Hi,

I am using RadControls for ASP.NET AJAX Q1 2012 (2012.1.215.35) to display data in a radgrid. The text box next to the Page size is out of shape. I have attached the screenshot of the issue and also the sample code.

<telerik:RadGrid ID="RadGrid1" runat="server" Skin="Office2007" AutoGenerateColumns="false"
    AllowPaging="true" PageSize="10" AllowMultiRowSelection="false" OnNeedDataSource="RadGridNeedDataSource"
     OnItemCommand="RadGridItemCommand"  AllowSorting="true">
        <PagerStyle Mode="NextPrevNumericAndAdvanced" PageButtonCount="2"/>
        <MasterTableView DataKeyNames="DKN1" CommandItemDisplay="None">
            <Columns>
                <telerik:GridButtonColumn ButtonType="ImageButton" ImageUrl="~/images/Assign.jpg"
                    HeaderText="" DataTextField="DF1" CommandName="Select" UniqueName="U1">
                    <ItemStyle HorizontalAlign="Left" Width="20px" />
                </telerik:GridButtonColumn>
                <telerik:GridBoundColumn DataField="DF2" HeaderText="HT2" UniqueName="U2" Visible="False">
                    <ItemStyle Width="30px" HorizontalAlign="Left" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="DF3" HeaderText="HT3" UniqueName="U3" AllowFiltering ="true" FilterControlWidth="120px" >
                    <ItemStyle Width="260px" HorizontalAlign="Left" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="DF4" HeaderText="HT4" UniqueName="U4" AllowFiltering="true" FilterControlWidth ="120px">
                    <ItemStyle Width="250px" HorizontalAlign="Left" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="DF5" HeaderText="HT5" UniqueName="U5"
                    Visible="false">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="DF6" HeaderText="HT6" UniqueName="U6">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="DF7" HeaderText="FH7" UniqueName="U7" AllowFiltering="true" FilterControlWidth ="40px">
                    <ItemStyle Width="70px" HorizontalAlign="Left" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="DF8" HeaderText="HT8" UniqueName="U8" DataFormatString="{0 :d}" AllowFiltering="true" FilterControlWidth ="27px">
                    <ItemStyle Width="70px" HorizontalAlign="Left" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="DF9" HeaderText="HT9" UniqueName="U9" DataFormatString="{0 :d}" AllowFiltering="true" FilterControlWidth ="27px">
                    <ItemStyle Width="70px" HorizontalAlign="Left" />
                </telerik:GridBoundColumn>
            </Columns>
            <ExpandCollapseColumn>
                <HeaderStyle Width="20px"></HeaderStyle>
            </ExpandCollapseColumn> 
        </MasterTableView>
    <ClientSettings EnableRowHoverStyle="true" />
        <FilterMenu>
            <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
        </FilterMenu>
    </telerik:RadGrid>


Eyup
Telerik team
 answered on 24 Jun 2013
1 answer
91 views
Hi,

We are using demon version for Telerik ASP.NET AJAX. We see that Pivot grid tool not coming in the Rad toolbox. Is this feature not available  for demo version? Kindly update.

Regards
Purojit
Angel Petrov
Telerik team
 answered on 24 Jun 2013
1 answer
64 views
Hi,

We are not getting page-breaks while exporting to xls/csv/doc from Radgrid. We r are getting this only in pdf export from rad grid. Is the feature available?
Kindly let us know.

Thanks
Purojit
Kostadin
Telerik team
 answered on 24 Jun 2013
4 answers
238 views
Dear Telerik,

at the moment we experience an odd behaviour with the RadNumericTextBox component (version 2013.403.35).
In some situations the value on the server is lost. The situation is as following: we have a page with several controls, divided over different (multi)views. One view contains a grid, another view our inputform. The inputform consists of several controls, including a save button.
One such control is the RadNumericTextBox, with type=currency.

When a user enters a value in the box, and also presses the [enter] key, the following happens:
- client side nothing seems to happen, the cursor stays in the textbox (currency character does not show (yet) because the textbox still has the focus. Also form submit on enter has been disabled somehow, I think due another control on the page, like a grid. But this is ok :).
- once the user presses the save button, the value on the server seems to be lost. The value of the box is null.
- after the postback, on the client the value is lost as well

Our problem occurs in both IE and FF browser. I've been able to reproduce the problem in a small example project, but this only does display the behaviour in FF and not IE. But I think it is still a good lead to start with? I suspect it has something to do with the form not submitting, and the way it is prevented. See below for some example code. If you need the whole project, I can provide it.

The project is a simple webforms project with 1 page, Default.aspx:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
 
<!DOCTYPE html>
 
<head runat="server">
    <title></title>
</head>
<body onkeydown="return (event.keyCode!=13)">
    <form id="form1" runat="server">
        <telerik:RadScriptManager runat="server" ID="RadScriptManager1"></telerik:RadScriptManager>
        <telerik:RadAjaxManager runat="server" ID="RadAjaxManager1"></telerik:RadAjaxManager>
        <telerik:RadNumericTextBox runat="server" ID="RadNumericTextBox1" Type="Currency"></telerik:RadNumericTextBox>
        <asp:Button runat="server" ID="btnNoPostback" UseSubmitBehavior="false" Text="Save" OnClick="btnNoPostback_Click" />
    </form>
</body>
</html>

Code behind:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
 
public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
 
    }
    protected void btnNoPostback_Click(object sender, EventArgs e)
    {
        RadAjaxManager1.Alert(string.Format("Button save clicked, value of RadNumericTextbox 1 is: {0}", RadNumericTextBox1.Value));
    }
}

To reproduce:
- run project in FireFox
- enter a value in the textbox, and press the [enter] key
- press the save button to show the value

Thanks in advance.






Frank Beerens
Top achievements
Rank 1
 answered on 24 Jun 2013
2 answers
65 views
Hello Sir/Madam,

In my project i am using PAID telerik skin dll and telerik controls but in telerik skin it showing error on run time (you can see that error in my screen shot) but i have one problem and that is its showing this error on some system and some system run properly and i currently i am using visual studio 2012 So please tell me solution asasp beacuse i have to respond to my client.

Thanks And regrads
sunny
Andrey
Telerik team
 answered on 24 Jun 2013
1 answer
37 views
Hi,

I am loading large data in Grid using Virtual scroll and paging. Grid has Template column where datetime picker is displayed to select date.
In this case I can not enter dates for last 2 or 3 records of current page  as when i scroll down for last records the next page is loaded and I will not see the records. Please advise a solution for this.

Thanks & Regards
Himagiri
Princy
Top achievements
Rank 2
 answered on 24 Jun 2013
6 answers
508 views

Hello, I use RadGrid in edit mode and I want to get cell value after changing it.

When I use UpdateCommand event, I get old value before changing.

 

 

protected

 

 

void gridEdit_UpdateCommand(object sender, GridCommandEventArgs e)

 

 

{

 

 

 

    GridEditableItem editItem = (GridEditableItem)e.Item;

 

 

 

 

    //TextBox txtbox = (TextBox)editItem["Value"].Controls[0]; //access the value

 

 

 

 

    string value = (editItem["Value"].Controls[0] as TextBox).Text;

 

 

 

 

}

 

 

 

 

<telerik:RadGrid ID="gridEdit" runat="server" GridLines="None"

 

 

 

 

 

onupdatecommand="gridEdit_UpdateCommand"

 

 

 

<MasterTableView

 

 

 

 

 

EditMode="InPlace">

 

 

 

 

 

<Columns>

 

 

 

 

 

<telerik:GridEditCommandColumn />

 

 

 

 

 

</Columns>

 

 

 

 

 

</MasterTableView>
</telerik:RadGrid>

 

 

 

 

 

 

 

 

 

Jorge
Top achievements
Rank 1
 answered on 24 Jun 2013
1 answer
51 views
In a form aspx page I have some controls as embedded userControl. This is as I include userControl :

<telerik:RadAjaxPanel ID="RadAjaxPanel000" runat="server" LoadingPanelID="RadAjaxLoadingPanel000">  
...
  <ardc:MyDataFormCtrl runat="server" ID="MyDataCtrl1" />


I set an entity to a property control from vb.aspx code:

Dim myEntityData= ctx.AnualitatsDeRecerca.Where(Function(x) x.Id = ... ).FirstOrDefault()
MyDataCtrl1.Item = myEntityData


All runs well because data is displayed on navigator:

Public Property Item As MyEntityType
    Get ...
    Set(value As MyEntityType)
        _item = value
        txtDescription.Text = Item.someItemData
    End Set
End Property


Problem appears when 'save' button is pushed, there, my private _item is Nothing:

Private Sub ButtonItemSave_Click(sender As Object, e As System.EventArgs) Handles ButtonItemSave.Click
    'here Me.Item, also, me._item, is Nothing!! what happens?


How can I do to keep Me.Item (and Me._item) populated?
Sorry, perhaps question is not enough detailed, I have include relevant code, ask for more details if needed.







Daniel
Top achievements
Rank 1
 answered on 23 Jun 2013
0 answers
69 views
I like to produce a application with asp .net. I require some tricks to control the software till 60% money is recovered. Suppose I may write any thing that will executed in a specific date and time may be by denied access to application (through username and password) with a message "you may not have permission". If money is recovered and can be omitted the code remotely.
Khalid
Top achievements
Rank 1
 asked on 22 Jun 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?