<
paragraphs
>
<
paragraph
name="<h2>Heading 2</
h2
>" value="<
h2
>" />
<
paragraph
name="<h3>Heading 3</
h3
>" value="<
h3
>" />
<
paragraph
name="<h4>Heading 4</
h4
>" value="<
h4
>" />
<
paragraph
name="<h5>Sub content</
h4
>" value="<
h5
>" />
<
paragraph
name="<p>Paragraph</
p
>" value="<
p
>" />
</
paragraphs
>
telerik:RadAjaxManager
to smooth over postbacks. The issue that occurs is that after the postback the skin becomes all screwy, and I am not sure what about the telerik control is causing this issue. Also, it will stop some postback actions to occur from occuring**. Here is the telerik code:<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"Panel1"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"Panel1"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
<
telerik:RadAjaxLoadingPanel
ID
=
"RadAjaxLoadingPanel1"
runat
=
"server"
Height
=
"75px"
Width
=
"75px"
style
=
"position:absolute;"
IsSticky
=
"false"
MinDisplayTime
=
"500"
>
<
img
alt
=
"Loading..."
src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'
style="border: 0px;" />
</
telerik:RadAjaxLoadingPanel
>
ReferenceError: WebForm_InitCallback is not defined (displayed when page is loaded)
and
TypeError: $find(...) is null (displayed every time you click on a filter icon)
<
telerik:RadListBox
ID
=
"RadListBox1"
runat
=
"server"
Height
=
"400px"
Width
=
"250px"
>
<
ButtonSettings
TransferButtons
=
"All"
></
ButtonSettings
>
<
Items
>
<
telerik:RadListBoxItem
runat
=
"server"
ListBox
=
"RadListBox1"
Text
=
"gssdf"
Value
=
"fg89fgf"
/>
<
telerik:RadListBoxItem
runat
=
"server"
ListBox
=
"RadListBox1"
Text
=
"565"
Value
=
"fg787fgf"
/>
<
telerik:RadListBoxItem
runat
=
"server"
ListBox
=
"RadListBox1"
Text
=
"gs676sdf"
Value
=
"f787gfgf"
/>
<
telerik:RadListBoxItem
runat
=
"server"
ListBox
=
"RadListBox1"
Text
=
"gs565sdf"
Value
=
"fg87fgf"
/>
</
Items
>
<
HeaderTemplate
>
<
input
id
=
"chkALLExpr"
type
=
"checkbox"
onclick
=
"ChkALLExpressions();"
/>
Select ALL
</
HeaderTemplate
>
<%-- <
FooterTemplate
>
<
input
id
=
"cmdRemoveExpr"
type
=
"button"
value
=
"Delete"
onclick
=
"cmdDeleteExpression_Click();"
/>
<
input
id
=
"cmdNewExpression"
type
=
"button"
value
=
"New Expression"
onclick
=
"cmdNewExpression_Click();"
/>
</
FooterTemplate
>--%>
</
telerik:RadListBox
>
protected
void
Page_LoadComplete(
object
sender, EventArgs e)
{
bool
enabled;
if
(SessionHandler.SelectedID ==
"Unknown"
)
{
// new record
enabled =
false
;
}
else
{
// existing record
enabled =
true
;
}
foreach
(RadTab tab
in
RadTabStrip1.Tabs)
{
tab.Enabled = enabled;
}
}
<telerik:RadGrid AutoGenerateColumns="false" ID="RadGrid1" AllowAutomaticUpdates="True"
AllowAutomaticInserts="False" AllowAutomaticDeletes="False" AllowFilteringByColumn="True"
AllowSorting="True" PageSize="20" ShowFooter="True" AllowPaging="True" runat="server"
GridLines="None" EnableLinqExpressions="false" EnableHeaderContextMenu="true" Height="780px"
EnableHeaderContextFilterMenu="true" AllowMultiRowSelection="True"
OnPreRender="RadGrid1_PreRender"
OnInsertCommand="RadGrid1_InsertCommand"
OnUpdateCommand="RadGrid1_UpdateCommand"
OnDeleteCommand="RadGrid1_DeleteCommand"
OnNeedDataSource="RadGrid1_NeedDataSource"
OnItemCommand="RadGrid1_ItemCommand"
OnItemCreated="RadGrid1_ItemCreated"
OnItemEvent="RadGrid1_ItemEvent"
OnExportCellFormatting = "RadGrid1_ExportCellFormatting">
<PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true"></PagerStyle>
<GroupingSettings CaseSensitive="false"></GroupingSettings>
<ExportSettings IgnorePaging="false" ExportOnlyData="true" OpenInNewWindow="true">
<Pdf PageWidth="1000px" />
</ExportSettings>
<MasterTableView DataKeyNames=" ID" AutoGenerateColumns="false" IsFilterItemExpanded="false"
EditMode="Batch" CommandItemDisplay="Top" AllowFilteringByColumn="True"
ShowFooter="false" TableLayout="Auto" ShowHeadersWhenNoRecords="true" Width="112%"
CommandItemSettings-SaveChangesText="Save" CommandItemSettings-CancelChangesText="Cancel"
CommandItemSettings-AddNewRecordText="Add">
<%--Buttons Settings of Export and Add New--%>
<CommandItemSettings ShowAddNewRecordButton="true" ShowExportToWordButton="true"
ShowExportToExcelButton="true" ShowExportToCsvButton="false" ShowExportToPdfButton="true" />
<%--Type of Edit - Show EditMode of one Cell at a time or Row at a time--%>
<BatchEditingSettings EditType="Cell" />
<%--Sort Expression Settings--%>
<SortExpressions>
<telerik:GridSortExpression FieldName="Product_Name" />
</SortExpressions>
<Columns>
......
</Columns>
</MasterTableView>
<HeaderStyle Height="40px" />
<%-- Functionality Settings --%>
<ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True">
<Resizing AllowColumnResize="True" AllowRowResize="false" ClipCellContentOnResize="true"
AllowResizeToFit="true" EnableRealTimeResize="True" ResizeGridOnColumnResize="True" />
<Scrolling AllowScroll="true" UseStaticHeaders="True" SaveScrollPosition="true"/>
<Selecting AllowRowSelect="true" />
<ClientEvents />
</ClientSettings>
</telerik:RadGrid>