473,508 Members | 2,133 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

delete from repater / ajax / asp.net 3.5

Hi,
Im using in asp.net 3.5 and ajax.
So, I want to do something like this:

I have repeater [in update panel] with some data and button witch
deletes selected record.
Im clicking at the delete button, and then page is refreshing/
reloading. So, before delete asp must
get data from database [in OnLoad], after that asp deletes record
[repeater itemcommand]
and againg must get data from database [to refresh repeater].

My question is: is there any way, to do this without getting data from
database in OnLoad?
Greetings
Mar 13 '08 #1
1 1167
Just check page IsPostBack or IsAsync property in the OnLoad event.
--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
<la*****@gmail.comwrote in message
news:66**********************************@e23g2000 prf.googlegroups.com...
Hi,
Im using in asp.net 3.5 and ajax.
So, I want to do something like this:

I have repeater [in update panel] with some data and button witch
deletes selected record.
Im clicking at the delete button, and then page is refreshing/
reloading. So, before delete asp must
get data from database [in OnLoad], after that asp deletes record
[repeater itemcommand]
and againg must get data from database [to refresh repeater].

My question is: is there any way, to do this without getting data from
database in OnLoad?
Greetings

Mar 13 '08 #2

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

Similar topics

11
2318
by: Yarco | last post by:
I want to use "Ajax" to create my web for hobby. But i don't know whether "Ajax" is mature... And what about with php? Someone have experience on it? ....
4
4291
by: bobzimuta | last post by:
I'm creating a simple AJAX library. It's an object that will return an array containing the response text or xml. I'm trying to find a way to assign the response as a property of the object, but...
2
20441
by: larax | last post by:
Hi I'm creating now a site which is using heavly AJAX and what comes with it, many Javascript functions are used. However many of these functions are used only once (mainly to load new content...
1
16473
by: www.web20developers.com | last post by:
http://www.web20developers.com http://www.web20developers.com/index.php?option=com_content&task=view... Ajallerix : AJAX, simple, fast Web image gallery demo ; at Novell AJAX -...
1
6937
by: ashish ranjan | last post by:
Hi there, I m new in Ajax and right now i m trying to do small operation on gridview like add row in gridview, update and delete row from gridview with the help of Ajax. Please help me in...
3
1402
by: ashish ranjan | last post by:
Hi there, I created dynamic table from server page which contain all data from a table in database along with a column which contails a checkbox with each row.then i send this response to client...
3
3414
by: bluez | last post by:
I want to design a webpage where user can search the data from the database and list out the related records. Each of the record got a delete button which allow user to delete the record. ...
0
999
by: JamesUmokoro | last post by:
Gridview confirm deleting with confirm box in ajax is not working with ImageButton control. Can any one help me in solving this problem? it works fine with the LinkButton control but does'nt work...
1
2154
by: anish5000 | last post by:
Hi, I have a page abc.jsp...(the page includes strut2 tags s: ) <s:url id="delete" action="delete" > <s:param name="proj.id" value="id" /> </s:url> <s:a...
0
7225
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
7124
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7326
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7385
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
5629
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4707
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1558
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.