| <telerik:AjaxSetting AjaxControlID="btnAddNew" > |
| <UpdatedControls > |
| <telerik:AjaxUpdatedControl ControlID="rgUsers" /> |
| <telerik:AjaxUpdatedControl ControlID="tblHeader" /> |
| <telerik:AjaxUpdatedControl ControlID="rgContract" /> |
| <telerik:AjaxUpdatedControl ControlID="btnSave" /> |
| <telerik:AjaxUpdatedControl ControlID="RTSContractInfo" /> |
| <telerik:AjaxUpdatedControl ControlID="RMPContractInfo" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| <telerik:RadTabStrip runat="server" ID="RTSContractInfo" Orientation="HorizontalTop" SelectedIndex="0" Align="Left" MultiPageID="RMPContractInfo" > |
| <Tabs> |
| <telerik:RadTab Text="Contract Information"> |
| </telerik:RadTab> |
| <telerik:RadTab Text="Accounting Information"> |
| </telerik:RadTab> |
| </Tabs> |
| </telerik:RadTabStrip> |
| <telerik:RadMultiPage runat="server" ID="RMPContractInfo" SelectedIndex="0" Height="110px"> |
| <telerik:RadPageView runat="server" ID="RPVContractInfo" > |
| <asp:Table runat="server" Width="680px" ID="tblHeader" Enabled="False" BackColor="LightSteelBlue" BorderStyle="Groove" > |
| <asp:TableRow ID="TableRow3" runat="server" BorderStyle="Solid" > |
| <asp:TableCell ID="TableCell3" ColumnSpan="4" BorderWidth="0px" runat="server" > |
| <asp:Label ID="lblStatus" runat="server" >Status:</asp:Label> |
| </asp:TableCell> |
| </asp:TableRow> |
| <asp:TableRow ID="TableRow4" runat="server" > |
| <asp:TableCell ID="TableCell4" ColumnSpan="2" Height="5px" runat="server"> |
| <asp:CheckBox ID="chkIndefinate" runat="server" Text="Indefinate" AutoPostBack="True" OnCheckedChanged="IndefinateChecked" /> |
| </asp:TableCell> |
| <asp:TableCell ID="TableCell5" runat="server" HorizontalAlign="Right" ColumnSpan="2"> |
| <asp:CheckBox ID="chkNoLimit" runat="server" Text="No Limit" autoPostBack="True" OnCheckedChanged="NoLimitChecked" TextAlign="Left" /> |
| </asp:TableCell> |
| </asp:TableRow> |
| </asp:Table> |
| </telerik:RadPageView> |
| <telerik:RadPageView runat="server" ID="RPVAccounting" > |
| <asp:CheckBox ID="CheckBox1" runat="server" Text="Allocate by Objective" autoPostBack="True" OnCheckedChanged="HasObjectiveChecked" TextAlign="left" Checked="true"/> |
| </telerik:RadPageView> |
| </telerik:RadMultiPage> |
RadTabStrip1.SelectedIndex = 0
which the tab os selected but the page that goes with this does not display. I have to select the other tab and tab back in order to see the page.
I have also tried RadMultiPage.SelectedIndex = 0 but it did not work either
Is the RadAjaxManager causing the issue? or is there another step
| Protected Sub btnAddNew_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnAddNew.Click |
| 'Need to reload with fresh data |
| '_LoadData = True |
| tblHeader.Enabled = True |
| Dim myContractService As New ContractService |
| Dim myContractsData As DataTable = myContractService.GetContractObjectives(Session("testid"), Session("ELAFlag")) |
| 'Set the grid and all input fields to the default values for a new record |
| rgContract.Width = 460 |
| rgContract.Columns(2).HeaderStyle.Width = 300 |
| rgContract.Columns(4).Display = False |
| rgContract.Columns(9).Display = False |
| rgContract.Columns(11).Display = False |
| rgContract.Columns(13).Display = False |
| dpStartDate.DbSelectedDate = Date.Now |
| dpEndDate.DbSelectedDate = DateAdd(DateInterval.Day, 30, Date.Now) |
| lblStatus.Text = "" |
| txtNumber.Text = "" |
| chkIndefinate.Checked = False |
| IndefinateCheck(chkIndefinate.Checked) |
| chkNoLimit.Checked = False |
| NoLimitCheck(chkNoLimit.Checked) |
| rgContract.DataSource = myContractsData |
| UnselectRows() |
| rgUsers.Columns(7).Display = True |
| CollapseGrid(rgUsers) |
| btnSave.Enabled = True |
| Session("ContractId") = 0 |
| RTSContractInfo.SelectedIndex = 0 |
| RMSContractInfo.SelectedIndex = 0 |
| end sub |
I have also noticed that when I hit the add new button I get the icon and text Error on the page in the lower left hand corner of the ie task bar. This onl happens when I include <telerik:AjaxUpdatedControl ControlID="RMPContractInfo" />