this.RadGrid1.MasterTableView.PagerStyle.AlwaysVisible = true;
this.RadGrid1.MasterTableView.PagerStyle.ShowPagerText = false;
this.RadGrid1.MasterTableView.PagerStyle.HorizontalAlign = HorizontalAlign.Center;
this.RadGrid1.MasterTableView.PagerStyle.PrevPageText = "Previous";
this.RadGrid1.MasterTableView.PagerStyle.NextPageText = "Next";
this.RadGrid1.MasterTableView.PagerStyle.Mode = Telerik.Web.UI.GridPagerMode.NextPrevAndNumeric;
I would like to fix the spacing in between my AsyncUpload and the previous object. I tried adding it to a table and doesn't seem to matter. From the code you can see that I have set "HideFileInput" to true. I am just wanting the "Select" button.
Attached is two images. If I put the AsyncUpload in the same cell it goes under the RadTextBox and I don't want that as I would like it next to. If they are in different cells then the spacing is too far apart. How do get them closer w/o throwing it under the RadTexBox.
<
tr
>
<
td
class
=
"LabelStyle-Right"
style
=
"vertical-align: top;"
>Subject:</
td
>
<
td
style
=
"vertical-align: top;"
>
<
telerik:RadTextBox
ID
=
"_subject"
runat
=
"server"
MaxLength
=
"100"
Width
=
"200"
></
telerik:RadTextBox
>
</
td
>
<
td
style
=
"vertical-align: top; text-align: left;"
>
<
telerik:RadAsyncUpload
ID
=
"_FaxFile"
runat
=
"server"
Width
=
"100%"
AllowedFileExtensions
=
".pdf"
MaxFileInputsCount
=
"1"
Visible
=
"true"
ToolTip
=
"Select PDF"
HideFileInput
=
"true"
MaxFileSize
=
"15728640"
Localization-Select
=
"Select PDF"
>
</
telerik:RadAsyncUpload
>
<%-- <
span
class
=
"allowed-attachments"
style
=
"font: italic 10px arial, verdana; color: blue;"
>
<
asp:Label
runat
=
"server"
ID
=
"FileTypes"
Visible
=
"true"
Enabled
=
"false"
></
asp:Label
></
span
>--%>
</
td
>
</
tr
>
Is it possible to navigate document using up, down, pgup, pgdn and home end keys or only pager options available?
How to translate page width descriptions like "Fit to page" etc.
I did translation using "MessagesSettings" but nowhere found combobox options.
I have a rad grid nested:
<telerik:RadGrid ID="gvDocs" runat="server" ShowHeader="false" Width="100%" AutoGenerateColumns="false" OnItemCommand="gvDocsDx_ItemCommand" GridLines="None" CssClass="diagCodes" OnItemDataBound="gvDocs_ItemDataBound">
<MasterTableView BorderWidth="0">
<Columns>
<telerik:GridButtonColumn CommandName="DeleteItem" UniqueName="btnDelDoc" ButtonType="PushButton" Text=" Delete "></telerik:GridButtonColumn>
<telerik:GridBoundColumn DataField="id" UniqueName="id" HeaderText="RefId" Display="false"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="friendlyName"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="pgNum"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="fileNote"></telerik:GridBoundColumn>
</Columns>
<NoRecordsTemplate>
<div class="no-record">No document associations</div>
</NoRecordsTemplate>
</MasterTableView>
</telerik:RadGrid>
I am trying to navigate to btnDelDoc so I can disable it. Here is the code I have and I think I am close: (it is not finding the button) HELP!
protected void gvDocs_ItemDataBound1(object sender, GridItemEventArgs e)
{
if (util.appUserIsReports)
{
//RadPushButton btn = e.Item
//GridDataItem item = e.Item as GridDataItem;
if (e.Item is GridDataItem)
{
GridDataItem item = e.Item as GridDataItem;
RadButton button = item.FindControl("btnDelDoc") as RadButton;
button.Enabled = false;
}
}
}
Hello,
I have a simple radDataPager with the Bootstrap skin.
The first, previous, next and last icons are wrongly displayed when the mouse hoovers the buttons (see the four pictures).
The markup:
<div class="SearchPagerContainer">
<telerik:RadDataPager ID="RadDataPager1" runat="server" PagedControlID="lvArticles" PageSize="24" Skin="Bootstrap" Style="margin-left: 3px; margin-top: 2px" OnInit="RadDataPager1_Init">
<Fields>
<telerik:RadDataPagerButtonField FieldType="FirstPrev" />
<telerik:RadDataPagerButtonField FieldType="Numeric" PageButtonCount="4"/>
<telerik:RadDataPagerButtonField FieldType="NextLast" />
<telerik:RadDataPagerPageSizeField PageSizeComboWidth="70" PageSizes="12;24;48" PageSizeText="# par page: " HorizontalPosition="NoFloat" />
</Fields>
</telerik:RadDataPager>
</div>
It seems to be basic, but it does not work.
Any idea ?
Philippe
<telerik:RadGrid ID="radGridUserGroups" runat="server" AllowSorting=true GridLines="None" EnableViewState=true AllowPaging="true" PageSize=10>
And the below code is defined in grid default skin to use the same style for all the grids within an application
<telerik:RadGrid runat="server" EnableEmbeddedSkins=false AutoGenerateColumns="False">
<PagerStyle Mode="NextPrevAndNumeric" HorizontalAlign=Center></PagerStyle>
<FooterStyle Font-Bold=true ForeColor=Black ></FooterStyle>
</telerik:RadGrid>
But if the code for grid is modified as below
<telerik:RadGrid ID="radGridUserGroups" runat="server" AllowSorting=true GridLines="None" EnableViewState=true AllowPaging="true" PageSize=10 EnableEmbeddedBaseStylesheet="false">
then the paging numbers are appearing properly (See attachment 2 - image2.jpg) but all the other styles defined in css file is not working. All the headers are not left aligned any more.
I am using Telerik Q1 2010.1.519 version. Please let me know what am I missing?
Thanks,
Raj
<PagerStyle Mode="NumericPages" Position="TopAndBottom" HorizontalAlign="Right" />
RadGrid.PagerStyle.Position =
GridPagerPosition.TopAndBottom;
RadGrid.PagerStyle.Mode =
GridPagerMode.NumericPages;
RadGrid.PagerStyle.HorizontalAlign =
HorizontalAlign.Right;
in each instance the numeric pager appears at the top and bottom of the grid, but is left aligned. I also do not receive any errors at all. What do I need to do differently in order to move the numeric pager from the left side of the grid to the right?
Thank you for any help that I may receive.
Aaron