<
telerik:RadCloudUpload
ID
=
"RadCloudUpload1"
runat
=
"server"
MultipleFileSelection
=
"Automatic"
AllowedFileExtensions
=
".jpg,.jpeg,.gif"
ProviderType
=
"Azure"
MaxFileSize
=
"3145728"
>
</
telerik:RadCloudUpload
>
I'm using radGrid to show 10 rows and 1st column frozen. I'm also using GridTemplateColumns.
Using an UpdatePanel with async trigger to initiate the results shows fine the first time...10 rows displayed + first column frozen.
Then, I click the same search again but this time, only 8 rows show and I lose the frozen 1st column. The data scrolls left/right but the headers remain in place.
Once in this broken state I click paging or sort (grdSearchResult_PageIndexChanged or grdGSearchResult_SortCommand) which rebinds the data, it fixes itself and the frozen column is back.
I really want to know why the radGrid doesn't size itself to show all 10 rows and what may be going on differently in the PageIndexChanged events. I have my radGrid Height set but should I be using something in the CSS to it automatically sizes to fit all the data rows?
I can't duplicate this behavior in IE though.
I am trying to implement a solution on a website where some pages have a RadTabStrip (with the MultiPageID set) with multiple tabs (with the PageViewID set).
When navigating to a page you can set the focus be set to a specific control that may be in a RadPageView. If that is the case what is the best way to select the tab that corresponds to the page view that contains the control?
Basically when focus is set to a control in a RadPageView how do I make sure the rad tab is selected so that control can be seen on the page?
I can find the control on the page that needs focus and then find the parent RadPageView (and RadMultiPage), but I don't know of a good way to select the RadTab that corresponds to the RadPageView (since I don't know the ID of the RadTabStrip).
Am I forced to recursively search through the controls on to the page to find the RadTabStrip (by type) and then find the tab that has the matching PageViewID?
Thanks!
Hi,
Using Visual Studio 2012 RC, I added new sharepoint 2010 Project & try to add New Reporting item (Show in screen shot)
It shows me following error message:-
Error loading workflow
An error occured while loading the workflow. Please correct the following error and try reloading the document to view the workflow.
the designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: Report1. The base class Report1 for the class needs to be an Activity.
<
telerik:RadWindow
runat
=
"server"
ShowContentDuringLoad
=
"False"
ReloadOnShow
=
"true"
Title
=
"Trend Report - Select Scope Objects"
AutoSize
=
"false"
ID
=
"RadWindowAddTrendScopeObjects"
Width
=
"500px"
Height
=
"445px"
Modal
=
"true"
OnClientClose
=
"OnClientCloseAddTrendScopeObjectsWindow"
Behavior
=
"Default"
InitialBehaviors
=
"None"
Behaviors
=
"Close,Move"
DestroyOnClose
=
"true"
>
</
telerik:RadWindow
>
assessmentID =
new
Guid(ddlDataSource.SelectedValue);
RadWindowAddScopeObjects.NavigateUrl = addScopeURL + assessmentID.ToString() +
"&LinkID1="
+ cachedUser.User.UserID.ToString();
<asp:LinkButton ID="lnkBtnTrendSelectScopeItems" runat="server" Text="Click Here"
OnClientClick="openAddTrendScopeObjectsWindow(); return false;"></asp:LinkButton>
(Javascript below)
function openAddTrendScopeObjectsWindow() {
var oWnd = $find("<%= RadWindowAddTrendScopeObjects.ClientID %>");
oWnd.show();
}
protected
void
ddlTrendAssessmentBasedScope_SelectedIndexChanged(
object
sender, EventArgs e)
{
trendAssessmentID =
new
Guid(ddlTrendAssessmentBasedScope.SelectedValue);
RadWindowAddTrendScopeObjects.NavigateUrl = addScopeURL + trendAssessmentID.ToString() +
"&LinkID1="
+ cachedUser.User.UserID.ToString();
}
Good day, I'm merely trying to set the ListView in EditMode via the use of a radButton_click but nothing I've tried so far has worked.
<
telerik:RadListView
ID
=
"CommitmentsListView"
runat
=
"server"
DataKeyNames
=
"AgreementID"
ItemPlaceholderID
=
"CommitmentsContainer"
EnableViewState
=
"true"
InsertItemPosition
=
"FirstItem"
>
<
LayoutTemplate
>
<
div
style
=
"min-height: 100px"
>
<
asp:PlaceHolder
runat
=
"server"
ID
=
"CommitmentsContainer"
/>
</
div
>
</
LayoutTemplate
>
<
ItemTemplate
>
<
div
style
=
"text-align:right;padding-right:2px;"
>
<
asp:Label
ID
=
"lblCommitmentNumber"
runat
=
"server"
Text
=
"Commitment Number:"
Font-Bold
=
"true"
Style
=
"margin-top:5px;font-size:0.75em;"
></
asp:Label
>
<
br
/>
<
asp:Label
ID
=
"lblPurchaseOrder"
runat
=
"server"
Text
=
"Purchase Order:"
Font-Bold
=
"true"
Style
=
"margin-top:5px;font-size:0.75em;"
></
asp:Label
>
</
div
>
</
ItemTemplate
>
<
EditItemTemplate
>
<
div
style
=
"text-align:right;padding-right:2px;"
>
<
asp:Label
ID
=
"lblCommitmentNumber"
runat
=
"server"
Text
=
"Commitment Number:"
Font-Bold
=
"true"
Style
=
"margin-top:5px;font-size:0.75em;"
></
asp:Label
>
<
br
/>
<
telerik:RadComboBox
ID
=
"PurchaseOrder"
runat
=
"server"
HighlightTemplatedItems
=
"true"
Style
=
"font-weight:Bold;"
DataTextField
=
"PurchaseOrder"
DataValueField
=
"PurchaseOrder"
Width
=
"80px"
AutoPostBack
=
"true"
>
</
telerik:RadComboBox
>
</
div
>
</
EditItemTemplate
>
</
telerik:RadListView
>
<
telerik:RadButton
ID
=
"EditButton"
runat
=
"server"
Text
=
'Edit'
CommandName
=
"Edit"
CausesValidation
=
"false"
>
<
Icon
PrimaryIconCssClass
=
"rbEdit"
PrimaryIconLeft
=
"4"
PrimaryIconTop
=
"4"
></
Icon
>
</
telerik:RadButton
>
Private
Sub
CommitmentsListView_NeedDataSource(sender
As
Object
, e
As
RadListViewNeedDataSourceEventArgs)
Handles
CommitmentsListView.NeedDataSource
Dim
myList
As
New
List(Of BudgetCommitment)
myList.Add(
New
BudgetCommitment(
"001AR1101-E"
, 2015))
CommitmentsListView.DataSource = myList.ToList
End
Sub
Private
Sub
EditButton_Click(sender
As
Object
, e
As
EventArgs)
Handles
EditButton.Click
End
Sub
Within my data source I can only retrieve month names. I need the month column sorted by when they occur in the year not alphabetically.
So I need the months to show January, February, etc not April, August etc
Can anyone help? Here is how I'm referencing the month column name:
<telerik:PivotGridColumnField DataField="month_name" DataFormatString="{0}" UniqueName="month_name" >
</telerik:PivotGridColumnField>
For
Each
item
As
GridItem
In
RadGridViewExcelGridTest.MasterTableView.Items
If
TypeOf
item
Is
GridEditableItem
Then
Dim
editableItem
As
GridEditableItem =
CType
(item, GridDataItem)
editableItem.Edit =
True
End
If
Next
RadGridViewExcelGridTest.Rebind()
If
TypeOf
e.Item
Is
GridEditableItem
Then
Dim
item
As
GridDataItem = TryCast(e.Item, GridDataItem)
For
Each
column
As
GridColumn
In
item.OwnerTableView.RenderColumns
If
(column.UniqueName <>
"Project"
And
column.UniqueName <>
"DepartmentNumber"
And
column.UniqueName <>
"ProjectNumber"
And
column.UniqueName <>
"Alias"
)
Then
Dim
EditBox
As
New
TextBox()
EditBox.Text = item(column).Text
AddHandler
EditBox.TextChanged,
AddressOf
EditBox_TextChanged
EditBox.AutoPostBack =
True
item(column).Controls.Clear()
item(column).Controls.Add(EditBox)
End
If
Next
End
If