or
Hi! I create webpart in visual 2008 and i add radscheduler control to this webpart than i deploy this web part on sharepoint 2007 and the control appers on the page. Than I want to be able to chage the views (day->week->month...) but it wan't work so I find out that NavigationCommand suppose to handel this but when i add this.scheduler.NavigationCommand += new SchedulerNavigationCommandEventHandler(RadScheduler_NavigationCommand); and i handel some action in RadScheduler_NavigationCommand nothing happens the application don't even go into this function when i click on day, week, month on the page. I don't know why and i don't have any idea how to handel it. Please help me.
pane2.Collapsed = true;
splitbarTop.Visible = false;
var pane = splitter.getPaneById("pane2");
var splitbar = $get(splitbarTop);
pane.expand();
splitbar.style.display = "";
var test = from p
in
DbContext.Entered_Comments
where p.comment_id = 1;
radgrdResultDetail.DataSource = test;
<
telerik:RadGrid
ID
=
"radgrdResultDetail"
runat
=
"server"
AutoGenerateColumns
=
"False"
PageSize
=
"20"
GridLines
=
"None"
Skin
=
"247"
EnableEmbeddedSkins
=
"False"
AllowPaging
=
"True"
CellSpacing
=
"0"
AllowSorting
=
"True"
OnPreRender
=
"radgrdResultDetail_PreRender"
OnItemDataBound
=
"radgrdResultDetail_ItemDataBound"
OnNeedDataSource
=
"radgrdResultDetail_GetData"
OnItemCommand
=
"radgrdResultDetail_ItemCommand"
meta:resourcekey
=
"radgrdResultDetailResource1"
>
<
ClientSettings
EnablePostBackOnRowClick
=
"false"
>
<
Scrolling
AllowScroll
=
"false"
UseStaticHeaders
=
"true"
/>
<
Animation
AllowColumnReorderAnimation
=
"True"
AllowColumnRevertAnimation
=
"True"
/>
</
ClientSettings
>
<
MasterTableView
InsertItemPageIndexAction
=
"ShowItemOnFirstPage"
EditMode
=
"InPlace"
CommandItemDisplay
=
"bottom"
DataKeyNames
=
"comment_id"
AllowAutomaticInserts
=
"false"
AllowAutomaticUpdates
=
"true"
runat
=
"server"
>
<
PagerStyle
AlwaysVisible
=
"true"
/>
<
CommandItemSettings
ExportToPdfText
=
"Export to Pdf"
></
CommandItemSettings
>
<
RowIndicatorColumn
FilterControlAltText
=
"Filter RowIndicator column"
>
</
RowIndicatorColumn
>
<
ExpandCollapseColumn
FilterControlAltText
=
"Filter ExpandColumn column"
>
</
ExpandCollapseColumn
>
<
Columns
>
</
Columns
>
<
EditFormSettings
>
<
EditColumn
UniqueName
=
"EditCommandColumn1"
FilterControlAltText
=
"Filter EditCommandColumn1 column"
>
</
EditColumn
>
</
EditFormSettings
>
</
MasterTableView
>
<
FilterMenu
EnableImageSprites
=
"False"
>
</
FilterMenu
>
<
HeaderContextMenu
CssClass
=
"GridContextMenu GridContextMenu_Hay"
>
</
HeaderContextMenu
>
</
telerik:RadGrid
>
<
asp:Image
id
=
"imgThumbnail"
runat
=
"server"
ImageUrl
=
""
/>
<
telerik:RadToolTip
ID
=
"RadToolTip1"
runat
=
"server"
Title='<%# Eval("itemSKU") %>'
TargetControlID="imgThumbnail" ToolTip=""
RelativeTo="Element"
Position="BottomRight"
RenderInPageRoot="true"
EnableShadow="true"
Skin="Windows7"
Animation="Fade"
AutoCloseDelay="0"
ShowEvent="OnMouseOver"
HideEvent="LeaveTargetAndToolTip"
ShowDelay="300"
Width="350px"
VisibleOnPageLoad="false">
<
div
style
=
"padding: 10px;"
>
<
b
>Description:</
b
><%# Eval("itemDescription") %><
br
/>
<
b
>Category:</
b
> <%# Eval("categoryName")%>
<
br
/><
br
/>
</
div
>
</
telerik:RadToolTip
>
<
NestedViewTemplate
>
<
asp:Button
ID
=
"Button1"
runat
=
"server"
onclick
=
"Button1_Click"
/>
<
asp:TextBox
ID
=
"TextBox1"
runat
=
"server"
></
asp:TextBox
>
</
NestedViewTemplate
>