or
<telerik:RadButton ID="ReturnButton" runat="server" Text="Return To Test" OnClick="ReturnButton_Click"
CausesValidation="false" Skin="Telerik" CssClass="rbClearButton" Width="175px" AutoPostBack="true" >
<Icon PrimaryIconCssClass="rbPrevious" PrimaryIconLeft="4" PrimaryIconTop="4"/>
<telerik:RadToolBar ID="RadToolBar1" runat="server" Skin="Web20" style="width:100%;" OnButtonClick="RadToolBar1_ButtonClick"> <Items> <telerik:RadToolBarButton ImageUrl="~/[path_omitted]/SaveRadToolBar1.png" Text="Save" ToolTip="Save" /> </Items> </telerik:RadToolBar>
<telerik:RadGrid ID="RadGrid1" runat="server" Skin="Vista" AutoGenerateColumns="false" OnNeedDataSource="RadGrid1_NeedDataSource"> <MasterTableView CommandItemDisplay="None" Height="30" DataKeyNames="ID" ClientDataKeyNames="ID" GroupLoadMode="Client" NoMasterRecordsText="You do not have any data"> <GroupByExpressions>
<telerik:GridGroupByExpression> <GroupByFields> <telerik:GridGroupByField FieldName="Topic.Category.Name" /> </GroupByFields> <SelectFields> <telerik:GridGroupByField FieldName="Topic.Category.Name" HeaderText="Category" /> </SelectFields> </telerik:GridGroupByExpression> </GroupByExpressions> <Columns> <telerik:GridBoundColumn DataField="ID" HeaderText="ID" UniqueName="DataID" Visible="false" /> <telerik:GridBoundColumn DataField="Topic.ID" UniqueName="DataTopicID" Visible="false" /> <telerik:GridBoundColumn DataField="Topic.Category.Name" HeaderText="Name" UniqueName="DataCategoryName" Visible="false" /> <telerik:GridBoundColumn DataField="Topic.Name" HeaderText="Topic" UniqueName="DataTopicName" /> <telerik:GridTemplateColumn HeaderText="Go" UniqueName="DataGoTo" HeaderStyle-Width="50"> <ItemTemplate> <asp:Button ID="ButtonGoTo" runat="server" ToolTip="Go to data" Text="Go" /> </ItemTemplate> </telerik:GridTemplateColumn> </Columns> </MasterTableView> </telerik:RadGrid>
When the RadToolBar ButtonClick Event Gets Ignored:
<telerik:RadGrid ID="RadGrid1" runat="server"Skin="Vista"AutoGenerateColumns="false"OnNeedDataSource="RadGrid1_NeedDataSource" OnItemDataBound="RadGrid1_ItemDataBound"> <MasterTableView CommandItemDisplay="None" Height="30" DataKeyNames="ID" ClientDataKeyNames="ID" GroupLoadMode="Client" NoMasterRecordsText="You do not have any data"> <GroupByExpressions> <telerik:GridGroupByExpression> <GroupByFields> <telerik:GridGroupByField FieldName="Topic.Category.Name" /> </GroupByFields> <SelectFields> <telerik:GridGroupByField FieldName="Topic.Category.Name" HeaderText="Category" /> </SelectFields> </telerik:GridGroupByExpression> </GroupByExpressions> <Columns> <telerik:GridBoundColumn DataField="ID" HeaderText="ID" UniqueName="DataID" Visible="false" /> <telerik:GridBoundColumn DataField="Topic.ID" UniqueName="DataTopicID" Visible="false" /> <telerik:GridBoundColumn DataField="Topic.Category.Name" HeaderText="Name" UniqueName="DataCategoryName" Visible="false" /> <telerik:GridBoundColumn DataField="Topic.Name" HeaderText="Topic" UniqueName="DataTopicName" /> <telerik:GridTemplateColumn HeaderText="Go" UniqueName="DataGoTo" HeaderStyle-Width="50"> <ItemTemplate> <asp:Button ID="ButtonGoTo" runat="server" ToolTip="Go to data" Text="Go" /> </ItemTemplate> </telerik:GridTemplateColumn> </Columns> </MasterTableView> </telerik:RadGrid>
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) { if (e.Item is GridDataItem) { GridDataItem dataItem = e.Item as GridDataItem; (dataItem["DataGoTo"].FindControl("ButtonGoTo") as Button) .PostBackUrl = String.Format( "~/ShowData.aspx?id={0}", dataItem["DataTopicID"].Text); } }protected void UploadReportGrid_ItemCreated(object sender, GridItemEventArgs e) { // there is an issue with the paging RadComboBox drop down direction in the uploaded reports grid. // it apparently cannot determine that it is at the bottom of the screen like normal so we make // the drop down expand up hard coded. if (e.Item is GridPagerItem) { GridPagerItem pagerItem = e.Item as GridPagerItem; RadComboBox combo = pagerItem.FindControl("PageSizeComboBox") as RadComboBox; combo.EnableScreenBoundaryDetection = false; combo.ExpandDirection = RadComboBoxExpandDirection.Up; combo.DropDownCssClass = "UploadReportGrid_PagerDropDown"; } }div.UploadReportGrid_PagerDropDown .rcbScroll { height: auto !important;}


clone:function(){var h=new b.SchedulerAppointment();h._id=this._id;h._subject=this._subject;h._description=this._description;h._start=this._start;h._end=this._end;h._toolTip=this._toolTip;h._internalID=this._internalID;h._visible=this._visible;h._recurrenceState=this._recurrenceState;h._recurrenceParentID=this._recurrenceParentID;h._contextMenuID=this._contextMenuID;h._resources=this.get_resources().clone();h._attributes=this.get_attributes().clone();if(this.get_reminders){h._reminders=this.get_reminders().clone();}for(var i in this){if(h[i]===g&&!i.startsWith("_")){h[i]=c(this[i]);}}return h;}h.set_recurrenceRule(this.get_recurrenceRule());