PC Review


Reply
Thread Tools Rate Thread

Ajax Control Extender in server and client side

 
 
Johnny
Guest
Posts: n/a
 
      28th Sep 2009
Hello All,


I have a small problem with own Business classes because there should be a
method how to update Server side variables from Client side.


Situation is followig: Application opens modal Popup Window and user can
make queries to database in that window.

User can also select rows she wants and selected rows are put into their own
Grid. When user closes her Popup Window rows containing user selected rows
should be passed as Business Objects into Popup Window's Parent Window.


I heard somewhere that it's possible to make an Ajax Extender of own
Business class so that when it's value changes it changes in both client and
server side. Is this possible and if it is how to do it?


I have Googled a lot's of articles considering this issue but haven't get a
picture how to actually do it.

I know that Javascript and Hidden fields in ASP.NET Forms can do this

but because in my case user usually selects 4 to 5 rows (= classes in
collection) I would be very interested about Ajax Extenders.


So can anyone help me?


Thanks,


John


 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      29th Sep 2009
ajax control extenders are for extending client object to have
javascript methods. most of the framework is for supporting writing
server control that render javascript extenders (ajax controls).

you should look at the client data controls or switch to jQuery to do
what you want. in any case you need to learn javascript and the browser dom.

-- bruce (sqlwork.com)

Johnny wrote:
> Hello All,
>
>
> I have a small problem with own Business classes because there should be a
> method how to update Server side variables from Client side.
>
>
> Situation is followig: Application opens modal Popup Window and user can
> make queries to database in that window.
>
> User can also select rows she wants and selected rows are put into their own
> Grid. When user closes her Popup Window rows containing user selected rows
> should be passed as Business Objects into Popup Window's Parent Window.
>
>
> I heard somewhere that it's possible to make an Ajax Extender of own
> Business class so that when it's value changes it changes in both client and
> server side. Is this possible and if it is how to do it?
>
>
> I have Googled a lot's of articles considering this issue but haven't get a
> picture how to actually do it.
>
> I know that Javascript and Hidden fields in ASP.NET Forms can do this
>
> but because in my case user usually selects 4 to 5 rows (= classes in
> collection) I would be very interested about Ajax Extenders.
>
>
> So can anyone help me?
>
>
> Thanks,
>
>
> John
>
>

 
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
How to call Server Side function from Client Side Code usingPageMethods in ASP.NET AJAX Ketki Microsoft C# .NET 0 21st Feb 2008 10:44 AM
Client side object programming model for ASP.NET AJAX Control Toolkit ? Patrice Microsoft ASP .NET 3 24th Jan 2008 05:14 PM
Ajax : dynamic control creation at client side Kursat Microsoft ASP .NET 5 12th Apr 2007 03:46 PM
asp.net ajax server side event handling on client Rodney Microsoft ASP .NET 1 7th Sep 2006 09:53 PM
client-side cache vs server-side cache vs ajax vs asp.net callback =?Utf-8?B?b25l?= Microsoft ASP .NET 1 8th Mar 2006 12:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:59 AM.