<
TelerikWebControls:RadWindowManager ID="RadWindowManager1" runat="server" VisibleStatusbar="false"/>
generates this error:
document type does not allow element "title" here
… class="Telerik_stylesheet" /><title>
So there is a title tag added after the Telerik link, why?
The next error comes from this line:
<a id="OKbtn_{0}" onclick="$find('{0}').callBack(this.parentNode.parentNode.getElementsByTagName('input')[0].value);"
class="radwindowbutton" href="javascript:void(0);" >
The error is this:character "{" is not allowed in the value of attribute "id"
<a id="OKbtn_{0}" onclick="$find('{0}').callBack(this.parentNode.parentNode.
How can I solve these two errors?
Thanks!
| <span id="RadGrid1_ctl00_ctl03_ctl01_ChangePageSizeLabel" class="rgPagerLabel">Page size:</span> |
| <div id="RadGrid1_ctl00_ctl03_ctl01_PageSizeComboBox" class="RadComboBox RadComboBox_Default " style="width:46px;display:-moz-inline-stack;display:inline-block;zoom:1;*display:inline;margin-left:-1px;margin-right:-1px;white-space:normal;"> |
Hello i need to convert from GridView to RadGrid, can anyone give me some suggestions on how to do this with RadGrid please?
IE, i basically would like to just loop thru each Grid Row and each Grid Column and if find that the Row.Cell approach is very intuitive, is there such an intuitive approach with the RadGrid?
Thanks very much for any pointers!
protected void dgColumns_RowDataBound(object sender, GridViewRowEventArgs e)
{
try
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
SelectedColumn col = AllSelCols[e.Row.RowIndex];
(e.Row.Cells[2].FindControl(
"txtAlias") as System.Web.UI.WebControls.TextBox).Text = col.Alias;
(e.Row.Cells[3].FindControl(
"chkOutput") as CheckBox).Checked = col.Output;
if (col.SortType != string.Empty)
{
(e.Row.Cells[4].FindControl(
"ddlSortType") as DropDownList).Items.FindByText(col.SortType).Selected = true;
}
(e.Row.Cells[5].FindControl(
"txtSortOrder") as System.Web.UI.WebControls.TextBox).Text = col.SortOrder;
}
}
catch (Exception ex)
{
lblErrorScriptManager.Visible =
true;
lblErrorScriptManager.Text = ex.Message;
}
}


