Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
151 views
HI,

In my radgrid, header is not displaying properly. on the right hand side. there is space coming there with a horizontal line. (see the image) How to remove this?

.rgRow td
{
    border-bottom: 1px dotted #aaaaaa !important;
    border-bottom-style: dotted !important;
    border-bottom-width: inherit !important;
}
.rgAltRow td
{
    border-bottom: 1px dotted #aaaaaa !important;
    border-bottom-style: dotted !important;
    border-bottom-width: inherit !important;
}
.rgPageFirst, .rgPagePrev, .rgPageNext, .rgPageLast
{
    display: none !important;
}
div.RadGrid_Default .rgHeader, div.RadGrid_Default th.rgResizeCol
{
    background-image: none !important;
}

i tried in this way but it didn't work....

Here is my grid

<div style="width: 100%; height: 650px; overflow: auto; overflow-y: hidden">
    <telerik:RadGrid ID="gvPjtMnt" runat="server" Height="645px" Width="99%" AutoGenerateColumns="false"
        BorderWidth="2px" BorderStyle="Solid" BackColor="White" AllowPaging="True" PagerStyle-AlwaysVisible="true"
        PageSize="20" AllowSorting="True" AllowFilteringByColumn="false" OnNeedDataSource="gvPjtMnt_OnNeedDataSource"
        OnItemCommand="gvPjtMnt_ItemCommand" OnItemCreated="gvPjtMnt_ItemCreated" OnItemDataBound="gvPjtMnt_ItemDataBound">
        <HeaderStyle Height="20px" BackColor="#004000" Font-Size="8pt" Font-Bold="True" ForeColor="White"
            HorizontalAlign="Center" BorderColor="White" BorderWidth="1px" />
        <AlternatingItemStyle Font-Size="8pt" BackColor="#F5F5E9" HorizontalAlign="Center"
            BorderWidth="1px" BorderColor="White" />
        <ItemStyle HorizontalAlign="Center" />
        <ExportSettings ExportOnlyData="true" IgnorePaging="true" FileName="Project Management">
        </ExportSettings>
        <MasterTableView GridLines="None" CommandItemDisplay="Top" DataKeyNames="ProjectId"
            HorizontalAlign="Center">
            <CommandItemTemplate>
                <table style="width: 100%">
                    <tr>
                        <td align="right">
                            Total Records found: <asp:Label ID="lblTotRecCount" runat="server" Font-Bold="True"
                                Font-Size="10pt" ForeColor="Black" Text="0"></asp:Label>
                        </td>
                        <td align="right" style="width: 2%">
                            <asp:ImageButton ID="lnkExportAll" ImageUrl="~/images/Excel.png" ToolTip="Export All"
                                runat="server" OnClick="ExportAll_Click" />
                        </td>
                        <td align="right" style="width: 1%">
                               
                            <asp:ImageButton ID="ExportToExcelButton" runat="server" ImageUrl="~/images/ExportToExcel.gif"
                                ToolTip="Export to Excel" OnClick="ExportExcel_Click" />
                        </td>
                    </tr>
                </table>
            </CommandItemTemplate>
            <Columns>
            .... few columns here ......
            </Columns>
            <ItemStyle ForeColor="#3C5F22" Font-Size="8pt" BackColor="White" BorderWidth="0px"
                BorderColor="White" />
            <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true" />
        </MasterTableView>
        <ClientSettings AllowColumnsReorder="true">
            <%--<ClientEvents OnGridCreated="GridCreated" />--%>
            <Scrolling AllowScroll="true" UseStaticHeaders="true" />
            <Resizing AllowColumnResize="true" EnableRealTimeResize="false" ResizeGridOnColumnResize="false"
                AllowRowResize="false" />
        </ClientSettings>
    </telerik:RadGrid>
</div>
Dimo
Telerik team
 answered on 22 Sep 2010
3 answers
367 views
Hi,
I am trying to validate rad combobox in alot of ways, even i used the simplest way but it's not working, even it was working correctly in 2009 Q3 version.

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
        <asp:DropDownList ID="ddl" runat="server">
            <asp:ListItem Text="aaaa" Value="1"></asp:ListItem>
            <asp:ListItem Text="bbbb" Value="2"></asp:ListItem>
        </asp:DropDownList>
    <asp:RequiredFieldValidator ID="ddlrfv" runat="server" Display="Dynamic"
        ControlToValidate="ddl" ErrorMessage="Please Select"
        InitialValue ="-1" Text="*" ValidationGroup="ddl_vg">
    </asp:RequiredFieldValidator>
    <telerik:RadComboBox ID="rcb" runat="server" ValidationGroup="ddl_vg" Skin="Default" Width="200px" CausesValidation="true">
        <Items>
            <telerik:RadComboBoxItem Text="aaaa" Value="1" />
            <telerik:RadComboBoxItem Text="bbbb" Value="2" />
        </Items>
    </telerik:RadComboBox>
    <asp:RequiredFieldValidator ID="rcbrfv" runat="server" Display="Dynamic"
        ControlToValidate="rcb" ErrorMessage="Please Select"
        InitialValue ="-1" Text="*" ValidationGroup="ddl_vg">
    </asp:RequiredFieldValidator>
    <br />
    <br />
    <asp:Button ID="btn" runat="server" Text="Click" ValidationGroup="ddl_vg" OnClick="btn_Click" />
     
    </telerik:RadAjaxPanel>

protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
this.rcb.Items.Insert(0, new RadComboBoxItem("select item", "-1"));
this.ddl.Items.Insert(0, new ListItem("select", "-1"));
}      
}

i think the above is the simplest example and it's not working, although i need to use it to validate rcb with autocomplete functionality or with filteration functionality.

i am using version 2010 Q1
Kalina
Telerik team
 answered on 22 Sep 2010
2 answers
66 views
Hi,

I am using Radeditor for body content for sending email  through programming.

If i made any formatting in radeditor like bold, color, fontsize etc and sending email , i am not receiving any formatting in mails.

I am able to receiving all the data in single line without any formating in mails.

Can anyone help me where the problem exists  

Need urjent help in this issue.

Regards,
Prathap

Prathap Narravula
Top achievements
Rank 1
 answered on 22 Sep 2010
1 answer
172 views
Hello All,

I have a user control inside which there is a RadGrid and I want to fetch the ID of the text-box which is inside the RadGrid in the user control in the main CS page from where the user control is being called.
Princy
Top achievements
Rank 2
 answered on 22 Sep 2010
1 answer
54 views
Hi!

I create a Skin for the RadGrid. There's nothing wrong with the skin when I input the data.
But when I click "Edit" to edit the row data, all the row borders are showed perfectly except the "Delete" row.
This problem just happens in IE, not in Firefox.
Note: I'm using VS2010, framework 4.0, IE 6.0, and the newest version of Telerik  

Thanks!
Dimo
Telerik team
 answered on 22 Sep 2010
1 answer
78 views
in my radcombobox i setup

EnableAutomaticLoadOnDemand = true

By default when i click on the radcombobox it populates the whole list when i click on the dropdown arrow.

What I want to do is: enter some random text, click on the dropdown arrow, the radcombobox then populates the list filtered by the custom text.

is this possible?

thanks in advance
Kalina
Telerik team
 answered on 22 Sep 2010
1 answer
83 views
Here i attached two files one is widgets showing as well in the first file
First row takes two widgets and second row takes three widgets , this is correct.
but in the scond file  second row takes only two wdgets this is happening while resize the browser
i need three widgets should get take in the second row

Please help me.
Pero
Telerik team
 answered on 22 Sep 2010
1 answer
63 views
hi,

like i posted before, i have a nodetemplate with three images and one label. if the image changes, the binding event in the nodetemplate fires and the new imageurl is set, but it's not visualized. after pressing f5 it changes! where is my mistake? what can i do?

thank you for your help!!!
Nikolay Tsenkov
Telerik team
 answered on 22 Sep 2010
8 answers
182 views
Hi,

how to add water mark  text to the rad editor control

regards
priya
Rumen
Telerik team
 answered on 22 Sep 2010
1 answer
52 views
I have created a userControl which holds the grid.  On page load a dropDownList is shown along with a button.  Upon selecting an item and clicking search the grid will then display the data.  The problem I am having is on page load the grid visible is set to false.  Upon the search button being clicked the visibility is then set to true.  The grid displays correctly, however the headerContextMenu does not display.  However if I do not hide the grid on page load, i.e. it is visible before a user clicks search, then the HeaderContextMenu will then work.

Any help with this would be much appreciated, I can create a work around by hiding the grid via css, however I would like to avoid this.
mabs
Top achievements
Rank 1
 answered on 22 Sep 2010
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
Andrey
Top achievements
Rank 1
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
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?