我在主分頁器上使用scriptmanager,它使創建的工具在所有內容頁面上都可用。在母版頁上有asp腳本管理器,在內容頁上有telerik radgrid
現在,我試圖在我的內容頁面上使用radgrid。此網格可以正常工作,但當網格發生任何點擊或頁面更改時,整個頁面都會重新加載。
我不能添加兩個腳本管理器,我不知道我是否正確。
請幫忙!
這裏是我的代碼:
`
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadGrid1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadGrid1" />
<telerik:AjaxUpdatedControl ControlID="SqlDataSource1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManagerProxy>
<telerik:RadGrid ID="RadGrid1" runat="server"
AllowPaging="True" AllowSorting="True" GridLines="None"
DataSourceID="SqlDataSource1" Skin="Outlook">
<ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True">
</ClientSettings>
<MasterTableView DataSourceID="SqlDataSource1" AutoGenerateColumns="False" EditMode="PopUp">
<Columns>
<telerik:GridBoundColumn DataField="MakeName" HeaderText="Make"
SortExpression="MakeName" />
<telerik:GridBoundColumn DataField="modelname" HeaderText="Model"
SortExpression="modelname" />
<telerik:GridBoundColumn DataField="Minutes" HeaderText="Minutes"
SortExpression="Minutes" />
<telerik:GridBoundColumn DataField="ContractDuration" HeaderText="Duration"
SortExpression="ContractDuration" />
<telerik:GridBoundColumn DataField="Texts" HeaderText="Texts" SortExpression="Texts" />
<telerik:GridBoundColumn DataField="Data" HeaderText="Data" SortExpression="Data" />
<telerik:GridBoundColumn DataField="GiftWorth" HeaderText="GiftWorth"
SortExpression="GiftWorth" />
<telerik:GridBoundColumn DataField="MonthlyPayment" HeaderText="Monthly"
SortExpression="MonthlyPayment" />
<telerik:GridBoundColumn DataField="Price" HeaderText="Price" SortExpression="Price" />
<telerik:GridImageColumn DataImageUrlFields="networklogo" HeaderText="Network"
ImageHeight="" ImageWidth="" UniqueName="column1">
</telerik:GridImageColumn>
<telerik:GridHyperLinkColumn DataNavigateUrlFields="DeepLink" Text="Buy Now"
UniqueName="Buy Now">
</telerik:GridHyperLinkColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
<asp:SqlDataSource ID="SqlDataSource1" `
潔