Hello,
When I create a new .aspx page my default doctype is;
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
However I noticed your demo pages (in this case 'tooltip') you use the doctype;
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
I'm using VS2008, SQL Server 2008 and the latest Telerik controls for ASP.Net AJAX and Silverlight. Should I be changing my doctype to the same one you're using?
After reading the information on http://www.w3.org/1999/xhtml/ I certainly think so but thought I better ask and be sure.
Please let me know and thanks!
Dave
| radWnd.Maximize(); |
| radWnd.show(); | |
| radWnd.maximize(); | |
| radWnd.show(); |
| function NextItem() { |
| var grid = $find("<%=Grid.ClientID %>"); |
| var masterTable = $find("<%= Grid.MasterTableView.ClientID %>"); |
| var indexSel = grid._selectedIndexes[0]; |
| var nextIndex = indexSel - 0 + 1; |
| if (masterTable.CurrentPageIndex == masterTable.PageCount - 1) { |
| if (indexSel == masterTable._getLastDataRow().sectionRowIndex) { |
| return; |
| } |
| } |
| if (nextIndex == masterTable.PageSize) { |
| masterTable.page("Next"); |
| $find("<%= RadAjaxManagerFolder.ClientID %>").ajaxRequest("Next"); |
| return; |
| } |
| masterTable.clearSelectedItems(); |
| masterTable.selectItem(nextIndex); |
| } |
| <telerik:RadAjaxManager ID="RadAjaxManagerFolder" runat="server" OnAjaxRequest="RadAjaxManagerFolder_AjaxRequest"> |
| </telerik:RadAjaxManager> |
| protected void RadAjaxManagerFolder_AjaxRequest(object sender, AjaxRequestEventArgs e) |
| { |
| switch (e.Argument) |
| { |
| case "Next": |
| EmailFolderGrid.Items[0].Selected = true; |
| break; |
| case "Prev": |
| EmailFolderGrid.Items[EmailFolderGrid.Items.Count - 1].Selected = true; |
| break; |
| default: |
| break; |
| } |
| } |
If
TypeOf e.Item Is GridDataItem Then
Dim editLink As HyperLink = DirectCast(e.Item.FindControl("EditLink"), HyperLink)
Dim linkParams As String = "?aid=" & e.Item.OwnerTableView.DataKeyValues(e.Item.ItemIndex)("AssignmentID")
editLink.Attributes(
"href") = "#"
editLink.Attributes(
"onclick") = String.Format("return ShowEditForm('{0}','{1}');", linkParams, e.Item.ItemIndex)
End If
Could not load file or assembly 'Telerik.Web.UI, Version=2008.3.1314.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
| fldValue.SelectedValue = ((cTestRecord)e.Item.DataItem).AValue.ToString(); |