Hi i have a static button problem

  • Thread starter Thread starter gauravkg via DotNetMonster.com
  • Start date Start date
G

gauravkg via DotNetMonster.com

I want to place hyperlink button like add ,delet ,update on the head of my
page. i want that on clicking of any button only the content should be opened
that is button should not be reloaded again and again

can anyone help me its urgent.
 
Gaurav,

Can you give more details as to what exactly you are looking for?

if you need common buttons that need to displayed always. you can use frames
to do this. otherwise you can even use AJAX to avoid the entire page from
getting re-loaded.

Regards,
Augustin
http://augustinprasanna.blogspot.com
 
thans augstin for payint attention to my promblem,i am new to asp.net.

i want four common button add,delete,copy,edit button .

what i want is i want to make a user control for that . it should not get
refreshed with the click of button ..

and second can u tell me any site to learn ajax
 
Thanks dear,
can i again ask a problem

i have two pages
in first.aspx
i have a data entry form .
in that i have a preview button it takes me to previw.aspx

gaurav,

check out http://www.w3schools.com/ajax/default.asp. this should be a good
place to start with. you can google and find out lots of related resources on
the web.

Regards,
Augustin
http://augustinprasanna.blogspot.com
thans augstin for payint attention to my promblem,i am new to asp.net.
[quoted text clipped - 22 lines]
 
You can pass valuse from one page to another using querystring or session.

for e.g. You can store the values in the session, redirect to the next page
and access the values from the session. this is one way of doing it.

if you just want to access the control values. you can use server.transfer.
you need to pass 'true' as the second parameter. this indicates that the form
collection needs to be accessible in the second page.

Regards,
Augustin
http://augustinprasanna.blogspot.com

gauravkg via DotNetMonster.com said:
Thanks dear,
can i again ask a problem

i have two pages
in first.aspx
i have a data entry form .
in that i have a preview button it takes me to previw.aspx

gaurav,

check out http://www.w3schools.com/ajax/default.asp. this should be a good
place to start with. you can google and find out lots of related resources on
the web.

Regards,
Augustin
http://augustinprasanna.blogspot.com
thans augstin for payint attention to my promblem,i am new to asp.net.
[quoted text clipped - 22 lines]
can anyone help me its urgent.
 
Problem : I have a nested repeater in which i am showing data through table

| title |
| description |
| title |
| description |

on load the description is hidden using div display:none

on clicking of title it shoul show me the description row..

the code i have used is



<script language="javascript" type="text/javascript">
<!--

// -->


function toggle_display(control)
{


if(control.style.display == "block")
{

control.style.display =

"none";
}


else
{

control.style.display =

"block";
}

}


</script>

<td>

<

div class="result_title_odd" id="result_title1_1" onclick="toggle_display
(result_detail1_1)"


onmouseout="className='result_title_odd'" onmouseover
="className='result_title_onMouseOver'">


Title:

<asp:Label runat=server ID="title" Text=<%#((DataRowView)Container.DataItem)
["Deal_Title"]% ></asp:Label>
</div>

</td>

<

tr><td> <div class="result_detail" id="result_detail1_1">
description:

<asp:Label runat=server ID ="Description" Text=<%#((DataRowView)Container.
DataItem)["Deal_Title"]% ></asp:Label>

</div>

style sheet i have used


<style type="text/css">



.result_group {

background-color: yellow;

width: 100%;

text-align: center;

border-top: black thin solid;
}


.result_title_odd {

background-color: lightcyan;

width: 100%;
}


.result_title_even {

background-color: lightgreen;

width: 100%;
}



.result_title_stars {

float: right;
}


.result_title_onMouseOver {

background-color: LightGrey;

cursor: hand;
}


.result_detail {

background-color: #ccffff;

display: none;

width: 100%;
}

</style>

Plz tell me how to achive this i will be very greatful to u



with regards

gaurav
 
Back
Top