473,397 Members | 2,116 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Hi i have a static button problem

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.

--
Message posted via http://www.dotnetmonster.com

Aug 22 '06 #1
6 1017
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

"gauravkg via DotNetMonster.com" wrote:
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.

--
Message posted via http://www.dotnetmonster.com

Aug 22 '06 #2
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

Augustin Prasanna wrote:
>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
>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.
--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...p-net/200608/1

Aug 22 '06 #3
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

"gauravkg via DotNetMonster.com" wrote:
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

Augustin Prasanna wrote:
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
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.

--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...p-net/200608/1

Aug 23 '06 #4
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

on preview.aspx i have edit button . i want that on clicking edit button it
goes back to first.aspx with same values how can i do it..
Augustin Prasanna wrote:
>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.
--
Message posted via http://www.dotnetmonster.com

Aug 23 '06 #5
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" wrote:
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

on preview.aspx i have edit button . i want that on clicking edit button it
goes back to first.aspx with same values how can i do it..
Augustin Prasanna wrote:
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.

--
Message posted via http://www.dotnetmonster.com

Aug 23 '06 #6
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
Augustin Prasanna wrote:
>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
>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.
--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...p-net/200609/1

Sep 1 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: lkrubner | last post by:
I'm offering users the ability to type weblog posts into a form and post them. They type the text into a TEXTAREA which is on a form. The form, when submitted, hits a PHP script. Before it is...
3
by: XPhaktor | last post by:
In C#, how do I replace using VB local static variable declarations to handle method reentrancy. Note, if you use a class-scope variable instead of a local one, then you run the risk of...
5
by: Asha | last post by:
hello i'm doing this protected static System.Web.UI.WebControls.Button btnExcel; hoping that it would remain shared but when i run the application i get this error Compiler Error Message:...
3
by: Dan | last post by:
Hi guys I have an aspx page that accepts a posted to field, the id number of a product. On the page it then loads the details and allows editing of the product with a save button. The save...
4
by: HxRLxY | last post by:
I am having a compile-time problem with a simple program I am writing. When I attempt to compile, I get the error "non-static variable this cannot be referenced from a static context". The error...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.