Hi, I have been using RadTabStrip to create 8 tabs in a horizontal line and want to make responsive to mobile devices (small screens). I have used scrollChildren but it is not what I am looking for. Is there any other way to manipulate Tabstrip in such way?
<
telerik:RadTextBox ID="txtEntryDate"
EmptyMessage="" ToolTip="Entry date"
Text='<%#Bind("EntryDate") %>'
DataFormatString="{0:MM/dd/yyyy}"
readonly = "true"
runat="server" Width="100px"/>
This does not work and it is still displayed with the time. I do not want to use a date picker because this date should never be changed.
Thank you.
Judith
Hello Telerik,
i have a RadGrid, all is fine, but only in chrome i have a issue. IE and FF havent the problem. As you can see in the screenshot chrome dont show the GridClientSelectColumn.I have tried a lot but without success.
Dou you have any idea, the solve the problem?
Thank you and best wishes,
Nick
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
AllowSorting
=
"True"
AllowPaging
=
"false"
AutoGenerateColumns
=
"False"
GridLines
=
"none"
AllowMultiRowSelection
=
"True"
>
<
MasterTableView
Width
=
"100%"
DataKeyNames
=
"RecordId, MasterRelease, RefMasterId"
Name
=
"Master"
>
<
CommandItemSettings
ShowAddNewRecordButton
=
"false"
ShowRefreshButton
=
"false"
></
CommandItemSettings
>
<
Columns
>
<
telerik:GridClientSelectColumn
UniqueName
=
"ClientSelectColumn"
></
telerik:GridClientSelectColumn
>
<
telerik:GridBoundColumn
HeaderText
=
"Format"
UniqueName
=
"RecordTypeName"
DataField
=
"RecordTypeName"
SortExpression
=
"RecordTypeName"
/>
<
telerik:GridBoundColumn
HeaderText
=
"Year"
UniqueName
=
"RecordYear"
DataField
=
"RecordYear"
SortExpression
=
"RecordYear"
/>
<
telerik:GridBoundColumn
HeaderText
=
"Record"
UniqueName
=
"RecordName"
DataField
=
"RecordName"
SortExpression
=
"RecordName"
/>
<
telerik:GridBoundColumn
HeaderText
=
"Label"
UniqueName
=
"LabelName"
DataField
=
"LabelName"
SortExpression
=
"LabelName"
/>
<
telerik:GridBoundColumn
HeaderText
=
"LabelNo"
UniqueName
=
"LabelNumber"
DataField
=
"LabelNumber"
SortExpression
=
"LabelNumber"
/>
<
telerik:GridBinaryImageColumn
HeaderText
=
"Cover"
UniqueName
=
"Cover"
DataField
=
"Cover"
ImageAlign
=
"Middle"
Resizable
=
"False"
ImageHeight
=
"50px"
ImageWidth
=
"50px"
Groupable
=
"false"
DataType
=
"System.Byte"
AutoAdjustImageControlSize
=
"false"
/>
</
Columns
>
</
MasterTableView
>
<
ClientSettings
>
<
Selecting
AllowRowSelect
=
"True"
></
Selecting
>
</
ClientSettings
>
</
telerik:RadGrid
>
<telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
</telerik:RadScriptManager>
<telerik:RadFormDecorator ID="RadFormDecorator1" Runat="server" Skin="WebBlue" DecoratedControls="All" />
<fieldset style="padding:10px"><legend></legend>
<table><tr><td>Company</td><td>
<telerik:RadTextBox runat="server" ID="txtCompanyName"></telerik:RadTextBox>
<asp:TextBox runat="server" ID="Test"></asp:TextBox>
</td><td>Contact</td><td><telerik:RadTextBox runat="server" ID="txtContact"></telerik:RadTextBox></td></tr>
<tr><td>Created From</td><td><telerik:RadDatePicker runat="server" ID="dtsStart"></telerik:RadDatePicker></td><td>Created To</td><td><telerik:RadDatePicker runat="server" ID="dtsEnd"></telerik:RadDatePicker></td></tr>
<tr><td>Status</td><td><telerik:RadComboBox SelectionMode="Single" ID="lstStatus"
runat="server" Skin="WebBlue"></telerik:RadComboBox></td></td><td colspan="2"><asp:Button ID="cmdSearch" runat="server" text="Search"/></td>
</table>
</fieldset>
Hi all,
Please help me to solve the attached issue.
Issue is dropdown list items box getting stick while scrolling and overlapping on other controls.
Hi
Is it possible to detect the first and last records while in the itemdatabound event - I need to handle the display for these t rows.
Andy
How can I changed the weekend days of the calendar?
The default weekend days are - Saturday and Sunday. I need to change them to be - Saturday and Friday.
I tried to define culture info:
Dim culture As New CultureInfo("he-IL")
culture.DateTimeFormat.FirstDayOfWeek = DayOfWeek.Sunday
culture.DateTimeFormat.CalendarWeekRule = CalendarWeekRule.FirstFullWeek
Calendar.CultureInfo = culture
I tried to change the weekend days on day render event:
If e.Day.Date.DayOfWeek.Equals(DayOfWeek.Saturday) Or e.Day.Equals(DayOfWeek.Friday) Then
e.Cell.CssClass = "rcWeekend rcDisabled"
Else
e.Cell.CssClass = ""
End If
But the class is being override and changed to Saturday and Sunday is "rcWeekend "
I have an aspx page with RadTab (5 tabs) and RadMultiPage.
Each tab has a RadGrid which only binds (declaritively with DataSourceId) if its MultiPage is loaded. If the user never clicks on tab 4 then the RadGrid4 never databinds.
That is good because it allows me to on_demand/lazy load the child collections on the business object that is driving the screen. The user only has to wait for the data they are interested in. If they only visit Tab1 then only MainObject.ChildCollection1 lazy loads. Nice and clean.
Business object is like this:
MainObject
- ChildCollection1 (lazy load) - corresponds to Grid1
- ChildCollection2 (lazy load) - corresponds to Grid2
...etc.
PROBLEM: If user loads page and visits Tab1 and performs some db update on Grid1...then I have to reload MainObject after save. Currently then I call Rebind() on all 5 grids. This is expensive and the user may not have ever visited the other tabs. Is there a way I can:
1. Detect which grids have databound and only call Rebind() on those?
2. Even better would be if I could "reset" the grid somehow so it doesn't think it has databound yet?
If there is a way to do #2 then I could only call Rebind() on the RadGrid that .Visible = True.
Something like this:
1. User performs some update that cause MainObject to reload from DB.
2. Detect which grid is currently visible and call Rebind on it
3. Reset all other grids so they think they have not databound yet
4. If user clicks on another tab after this...the corresponding RadGrid calls SelectObject on DataSource like normal
All updates are happening from RadAjaxPanel which contains tabs/multi-page/and grids
Thank you for your help.
Sean
Hello,
I have a grid that has a "GroupByExpression" that aggregates the sum of a particular column per grouped item. This works just fine and I can make it so that the footer text displays something like "Total: 100". However, the grid itself also has a footer that displays the total of all of the group totals at the very end. I'm trying to figure out how to change the footer text for this footer value so that it's different from the other grouped footer texts (i.e Total Filters: 200). In other words, I want the footer text for the subtotals to be different from the footer text for the Grand total. Is this possible? If so, then how can I do this?
Thanks.
I have 2 RadGrids on the page one above the other
I use data entity for data source and The first RadGrid data source is this
protected void RadGrid1_NeedDataSource(object sender, Web.UI.GridNeedDataSourceEventArgs e)
{
var result = from r in DbContext.LinkAnalysis
where r.LinkAnalysisCreator == dbuser
select r;
RadGrid1.DataSource = result.ToList();
}
The second Rad Grid Data source is this
protected
void
SubjectRadGrid_NeedDataSource(
object
sender, Web.UI.GridNeedDataSourceEventArgs e)
{
var results = from r
in
DbContext.Subjects
where r.LinkAnalysisId == linkId
select r;
SubjectRadGrid.DataSource = results.ToList();
}
When the page first loads the SubjectRadGrid shows no records. This is okay but when a user clocks on one of the row in the RadGrid1 I want SubjectRadGrid to display the child objects for the selected row.
I obtain the "linkId" variable for the second RadGrid using this code
public
void
RadGrid1_SelectedIndexChanged(
object
sender, EventArgs e)
{
GridDataItem item = (GridDataItem)RadGrid1.SelectedItems[0];
string
ID = RadGrid1.SelectedValue.ToString();
//Retrieving primary key field values for selected items
linkId = Convert.ToInt16(ID);
SubjectRadGrid.Rebind();
}
This works works and if I place a break point in the SubjectRadGrid_NeedDataSource code I can see the data, during the Rebind, I need is being pulled. But no data still does not show up in the SubjectRadGrid.
What am I missing here?