<telerik:RadDockLayout runat="server" ID="[DUMMYID-1]"> <telerik:RadDockZone runat="server" ID="[DUMMYID-2]" Orientation="vertical" Skin="Vista" Width="99.7%"> <telerik:RadDock runat="server" ID="[DUMMYID-3]" Title="More" Style="min-height: 0px; margin: 0px auto; visibility: hidden;" Collapsed="true" DefaultCommands="ExpandCollapse" Skin="Vista" EnableDrag="false" DockHandle="None" Width="99.5%" BorderStyle="None"> <ContentTemplate> ...... [some code here]</ContentTemplate></telerik:RadDock> </telerik:RadDockZone>
EnableViewState="true" StoreLayoutInViewState="true"
<rada:radajaxmanager id="RadAjaxManager1" runat="server">
<AjaxSettings>
<rada:AjaxSetting AjaxControlID="cboCategory">
<UpdatedControls>
<rada:AjaxUpdatedControl ControlID="cboOffice"/></UpdatedControls> its my old ajaxcontrol code
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="cboCategory">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="cboOffice"/>
</UpdatedControls>
so that gives error so please tell me the solution for that
In a ContextMenu how do I make this:
- Show only "Group" option when the column is ungrouped (not for all the column, just for the column that is ungrouped).
- Show only "Ungroup" option when the column is grouped.
I tried this:
But this hides both (group/ungroup options)void
HeaderContextMenu_GroupsChanging(
object
sender, GridGroupsChangingEventArgs e)
{
if
(e.Action == GridGroupsChangingAction.Group)
this
.MasterTableView.GetColumn(e.Expression.GroupByFields[0].FieldName).Groupable =
...
;
else
if
(e.Action == GridGroupsChangingAction.Ungroup)
this
.MasterTableView.GetColumnSafe(e.Expression.GroupByFields[0].FieldName).Groupable =
...
;
}
function RadPaneMainNavigation_OnClientBeforeResize(sender, Args) {
alert(Args.get_delta());
var panel = $telerik.$("<%= PanelBarNavigation.ClientID %>");
alert(panel.width());
panel.width(500);
}
<
telerik:RadPanelBar ID="RadPanelBar1" runat="server" Height="600px"
Width="200px" ExpandMode="FullExpandedItem"
DataFieldID="LectureID"
DataFieldParentID="SectionID"
DataSourceID="SqlDataSource1" DataTextField="Name">
</
telerik:RadPanelBar>
SectionID LectureID label LecturesID Name
Hi, i have problem with RadUpload control version 2011.1.519.35. In SharePoint 2010 progress bar don't increase when i using yours sample code in my WebPart. I have registered the RadUploadProgressHandler etc.
My code:
<
telerik:RadProgressManager
ID
=
"RadProgressManager1"
runat
=
"server"
/>
<
telerik:RadUpload
ID
=
"RadUpload1"
runat
=
"server"
MaxFileSize
=
"100000000"
>
</
telerik:RadUpload
>
<
telerik:RadProgressArea
ID
=
"RadProgressArea1"
runat
=
"server"
DisplayCancelButton
=
"True"
>
</
telerik:RadProgressArea
>
<
asp:Button
ID
=
"Button1"
runat
=
"server"
Text
=
"Upload"
onclick
=
"Button1_Click"
>
</
asp:Button
>
and
protected
void
Page_Load(
object
sender, EventArgs e)
{
if
(!IsPostBack)
{
RadProgressArea1.ProgressIndicators &= ~ProgressIndicators.SelectedFilesCount;
}
RadProgressArea1.Localization.UploadedFiles =
"Completed Steps: "
;
RadProgressArea1.Localization.CurrentFileName =
"Step: "
;
RadProgressArea1.Localization.TotalFiles =
"Total Steps:"
;
}
protected
void
Button1_Click(
object
sender, EventArgs e)
{
UpdateProgressContext();
}
private
void
UpdateProgressContext()
{
const
int
total = 100;
RadProgressContext progress = RadProgressContext.Current;
progress.Speed =
"N/A"
;
for
(
int
i = 0; i < total; i++)
{
progress.PrimaryTotal = 1;
progress.PrimaryValue = 1;
progress.PrimaryPercent = 100;
progress.SecondaryTotal = total;
progress.SecondaryValue = i;
progress.SecondaryPercent = i;
progress.CurrentOperationText =
"Step "
+ i.ToString();
if
(!Response.IsClientConnected)
{
//Cancel button was clicked or the browser was closed, so stop processing
break
;
}
progress.TimeEstimated = (total - i) * 100;
//Stall the current thread for 0.1 seconds
System.Threading.Thread.Sleep(100);
}
}