Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7493003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T16:42:05+00:00 2026-05-29T16:42:05+00:00

When i click on the link button, it does not show the data from

  • 0

When i click on the link button, it does not show the data from DB… if the part i am updating from DB is outside the tabbed panel then it works fine…i guess something is wrong because of the js(tabbed panel)…any ideas??

ASPX CODE

<script type="text/javascript">
        var hh;
        var left;

        function pageLoad(sender, args) {
            if (args.get_isPartialLoad()) {
                //Default Action
                hh = '<div id="convertThis">' + $("#convertThis").html() + '</div>';
                var tab1 = $("#convertThis").advancedTabs({
                    tabPosition: 'top',
                    visibleTabItem: 3,
                    whereAmI: false,
                    width:728,
                    hideTabs: true
                });
            }
        }

    </script>


<asp:UpdatePanel ID="UpdatePanelMainContent" runat="server">
       <ContentTemplate>
    <div class="barbig left padright">
      <div class="ccs2008header">
        <h4 id="h4header" runat="server" class="css2008fontstyle"></h4>
      </div>  

      <div id="convertThis">
                    <div id="tabs">
                        <div rel="divUpdatePanel" >
          <asp:LinkButton ID="LinkButtonDefinitions" runat="server" OnClientClick="LinkButtonDefinitions_Click">Definitions</asp:LinkButton></div>
                        <div rel="divUpdatePanel">Employees</div>
                        <div rel="divUpdatePanel" >Family</div>
                        <div rel="d" >Home Town</div>
                        <div rel="e">Other Than Home Town</div>
                        <div rel="f" >Admissibility</div>
                        <div rel="g" >Types Of LTC</div>
                        <div rel="h" >Block Period</div>
                        <div rel="i">Entitlement</div>
                        <div rel="j" >Advance</div>
                        <div rel="l" >Adjustment of advance</div>
                        <div rel="n" >Reimbursement</div>
                        <div rel="o" >Carry Over & Forfeiture of claim</div>
                        <div rel="o" >Relaxations & Interpretations</div>
                    </div>
                    <div id="divs">
                        <div id="divUpdatePanel" runat="server">

                        </div>

                    </div>
                </div>
    </div>
        </ContentTemplate>

        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="LinkButtonDefinitions" />
        </Triggers>

       </asp:UpdatePanel>

CODE BEHIND

 Public Sub loadContent(ByVal PageName As String)

        Dim _con As New SqlConnection(ConfigurationManager.ConnectionStrings("LeaveDBConnectionString").ConnectionString)
        Dim _da As New SqlDataAdapter("SELECT PageHeader,PageContent FROM PageKeeper WHERE PageName='" & PageName & "'", _con)
        Dim _table As New DataTable

        Try
            _con.Open()
            _da.Fill(_table)
            _con.Close()
            _con.Dispose()
            With _table.Rows(0)
                h4header.InnerText = .Item(0)
                divUpdatePanel.InnerHtml = .Item(1)
                Me.Title = .Item(0)
            End With

        Catch ex As Exception
            MsgBox(ex.Message)
            divUpdatePanel.InnerText = "No Data Found"
        Finally
            _con.Close()
            _con.Dispose()
        End Try
    End Sub

    Protected Sub LinkButtonDefinitions_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles LinkButtonDefinitions.Click
        loadContent("Definitions")
    End Sub
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T16:42:07+00:00Added an answer on May 29, 2026 at 4:42 pm

    Probably you do not initialize the pageLoad no where in your code.

    var prm = Sys.WebForms.PageRequestManager.getInstance();    
    prm.add_endRequest(pageLoad);
    

    This pageLoad is not a function that automatically called from UpdatePanel, you need to initialize that on javascript part. Actually is not a know function, so I guess that you copy paste this code from somewhere with out this part.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have created Array of Linkbutton and when user click on link button it
User click on a link button and it will direct them to a url
I have this code in the end of link button click: Response.ContentType = application/zip;
in my application a link button is there when i click on it it
Suppose, I want to have a link or a button that when user click
Final working code based on accepted answer $('#photo-upload, #photo-upload .close').click(function(){ $('#photo-upload').removeClass('show'); }); $('#upload-button').click(function(){ $('#photo-upload').addClass('show');
When we click with right mouse button on a any site link, there's a
Anyone know why the following does not work? $.each( data.d, function( index, item )
In my application I have some link buttons there but when I right click
When a user clicks on a button or link, I use the SimpleModal jQuery

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.