protected
void Page_Load(object sender, EventArgs e)
{
WP_Utility wpUtility = new WP_Utility();
wpUtility.GridDefaults(rgData);
.....}
public
partial class WP_Utility
{
public void GridDefaults(RadGrid RadGrid1)
{
RadGrid1.Skin =
"Monochrome";
RadGrid1.Width =
Unit.Percentage(99);
RadGrid1.PageSize = 10;
RadGrid1.AutoGenerateColumns =
false;
RadGrid1.AllowPaging =
true;
RadGrid1.AllowSorting =
true;
RadGrid1.EnableAJAX =
true;
RadGrid1.EnableAJAXLoadingTemplate =
true;
RadGrid1.MasterTableView.PageSize = 10;
RadGrid1.HeaderStyle.Font.Size = 11;
RadGrid1.HeaderStyle.Font.Underline =
false;
RadGrid1.HeaderStyle.HorizontalAlign =
HorizontalAlign.Left;
RadGrid1.ItemStyle.Font.Size = 10;
RadGrid1.AlternatingItemStyle.Font.Size = 10;
RadGrid1.GridLines =
GridLines.None;
RadGrid1.PagerStyle.Mode =
GridPagerMode.NextPrevAndNumeric;
RadGrid1.PagerStyle.Font.Size = 11;
RadGrid1.PagerStyle.HorizontalAlign =
HorizontalAlign.Center;
RadGrid1.PagerStyle.PagerTextFormat =
"Page: {4} | Displaying page {0} of {1}";
}
}
The error goes away if I put:
EnableAJAX="True" EnableAJAXLoadingTemplate="True"
back into the grid html code.
Thought I would pass this along in case anyone else runs into this problem. Thanks.
If I create a bulleted list in Word where all the bullets are at the same level, copy and paste it into the Rad Editor, toggle to the HTML view and then back to the Design view, the bullets have been reformatted such that each bullet is a child of the preceding bullet.
Is there a fix for this?