multiPage.PageViews.Remove(thecurrentPageview)
from within the GotNextPageView, but that did not solve the isse
| <telerik:RadRotator WrapFrames="false" BackColor="#9c9c9c" ID="RR1" runat="server" height="158px" width="192px" |
| RotatorType="AutomaticAdvance" ScrollDirection="Up" InitialItemIndex="0" scrollduration="500" frameduration="4000" |
| itemheight="158px" itemwidth="192px" datasourceid="LDSDYN1" > |
| <ItemTemplate> |
| THIS IS SOME TEST TEXT TO SEE WHY ITS CUTTING OFF on the right |
| </ItemTemplate> |
| </telerik:RadRotator> |
| </td> |
GridDataItem gridDataItem = e.Item as GridDataItem;
HyperLink GradeBook = e.Item.FindControl("GradeBook") as HyperLink;
GradeBook.Attributes["href"] = "#";
GradeBook.Attributes["onclick"] = string.Format("return ShowGradeBook('{0}');", e.Item.ItemIndex);
which works fine, my JS Function runs:
function ShowGradeBook(rowIndex)
{
var mtv = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
mtv.selectItem(mtv.get_dataItems()[rowIndex].get_element());
var selectedRows = mtv.get_selectedItems();
var row = selectedRows[0];
alert(
"InGradeBOok=" + rowIndex);
tf = mtv.getCellByColumnUniqueName(row,
"CourseID")
var CourseID = tf.innerHTML;
CourseID is defined in the grid as:
<telerik:GridBoundColumn DataField="CourseID" UniqueName="CourseID" Display="false" ></telerik:GridBoundColumn>