PC Review


Reply
Thread Tools Rate Thread

delete from repater / ajax / asp.net 3.5

 
 
laziers@gmail.com
Guest
Posts: n/a
 
      13th Mar 2008
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
 
Reply With Quote
 
 
 
 
Eliyahu Goldin
Guest
Posts: n/a
 
      13th Mar 2008
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


<(E-Mail Removed)> wrote in message
news:66c746ba-d64b-41b6-bd70-(E-Mail Removed)...
> 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



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET AJAX samples... I am looking for help with HoverMenu AJAX Toolbox control. JDeats Microsoft ASP .NET 1 5th Oct 2007 08:50 PM
ASP.NET and AJAX: JavaScript files from the Microsoft AJAX Library Nathan Sokalski Microsoft ASP .NET 2 2nd Jun 2007 01:07 AM
ASP.NET AJAX Enabled Website Web.config error (newbie to AJAX) Tony K Microsoft ASP .NET 2 4th May 2007 05:23 AM
Deploying ASP.NET AJAX-Enabled Web site to host without AJAX insta =?Utf-8?B?QnJpYW4gRWR3YXJkcw==?= Microsoft ASP .NET 2 21st Feb 2007 10:22 PM
Repater Control =?Utf-8?B?aGVjc2FuMDc=?= Microsoft C# .NET 1 2nd Feb 2005 01:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:19 AM.