Click here to Skip to main content
15,896,269 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all,
this is my client side part where i should pass parameter , here the strCompanyid is the variables which i use in cs code,and the last parameter txtcallerid should be the text box value.

XML
<div id="tabs" >
<ul>
  <li><a href="#tabs-1">Preloaded</a></li>
    <li><a href="Grid.aspx?strCompanyid=<%= strCompanyid %>&strGelocationid=<%= strGelocationid%>&strRoleid=<%=strRoleid %>&strUsername=<%= strUsername %>>&txtcallerid=<%= strCallerid %>">Tab 3 (slow)</a>
    </li>
  <li><a href="accordioncheck.aspx">Tab 4 (broken)</a></li>
</ul>
</div>

jquery:
C#
$(function() {
   $( "#tabs" ).tabs({
     beforeLoad: function( event, ui ) {
       ui.jqXHR.error(function() {
         ui.panel.html(
           "Couldn't load this tab. We'll try to fix this as soon as possible. " +
           "If this wouldn't be a demo." );
       });
     }
   });
 });

Cs:
C#
protected void btnHistory_Click(object sender, EventArgs e)
   {
       fnLoadHistory(txtcallerid.Text);
--> after function only i need to set the parameter to the ahref:grid.aspx
       LoadListData();

     
   }

after function fnLoadHistory(txtcallerid.Text); only i need to set the parameter to the ahref:grid.aspx.
Iam using it inside my div, i cannot set my div as runat=server,because my jquery doesnt works.

pls helpe me out.
Posted
Updated 21-Apr-13 7:52am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900