470,624 Members | 2,179 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,624 developers. It's quick & easy.

Ajax : dynamic control creation at client side

Hi,

I want to add new collapsable panel items using java script at client side.
Is this possible to create Ajax components like collapsable panel without
server round trip?

Thanks in advance.
Apr 11 '07 #1
5 2101
Don't think so. All the AJAX controls (even though they are designed to use
Remote Scripting (xmlhttp and callbacks) are still ASP.NET Server controls.
What's the real goal ?
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Kursat" wrote:
Hi,

I want to add new collapsable panel items using java script at client side.
Is this possible to create Ajax components like collapsable panel without
server round trip?

Thanks in advance.
Apr 11 '07 #2
Thank you for your interest and the goal is that :
I have some business logic components implemented as a web service. I call
web methods asynchronously via client side Javascript and I want to display
returned results on a collapsable panel as a categorized list. So I focus to
create collapsable panel items dynamically at client side.

Do you have any suggestion?

"Peter Bromberg [C# MVP]" <pb*******@yahoo.yabbadabbadoo.comwrote in
message news:81**********************************@microsof t.com...
Don't think so. All the AJAX controls (even though they are designed to
use
Remote Scripting (xmlhttp and callbacks) are still ASP.NET Server
controls.
What's the real goal ?
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Kursat" wrote:
>Hi,

I want to add new collapsable panel items using java script at client
side.
Is this possible to create Ajax components like collapsable panel without
server round trip?

Thanks in advance.

Apr 11 '07 #3
I'm not aware of anything off the top of my head that would allow you to do
this within the collapsable panel itself; though it is very possible to
figure out the format for the panel and somehow manipulate it with script, I
wouldn't recomend it and it wouldn't withstand the test of time.

Another option you could employ is to make your asynchronous web service
call and trigger a partial postback to the server to update the panel and
its contents; this would have a similar effect (might not be as fast, but
the page still wouldn't require a full reload).

If you need help figuring out how to do anything special, give me the
specific details and I can help you knit the code together.

--
~~~~~~~~~~~
Ben Rush
http://www.ben-rush.net/blog
"Kursat" <ku***********@hotmail.comwrote in message
news:O5****************@TK2MSFTNGP04.phx.gbl...
Thank you for your interest and the goal is that :
I have some business logic components implemented as a web service. I call
web methods asynchronously via client side Javascript and I want to
display returned results on a collapsable panel as a categorized list. So
I focus to create collapsable panel items dynamically at client side.

Do you have any suggestion?

"Peter Bromberg [C# MVP]" <pb*******@yahoo.yabbadabbadoo.comwrote in
message news:81**********************************@microsof t.com...
>Don't think so. All the AJAX controls (even though they are designed to
use
Remote Scripting (xmlhttp and callbacks) are still ASP.NET Server
controls.
What's the real goal ?
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Kursat" wrote:
>>Hi,

I want to add new collapsable panel items using java script at client
side.
Is this possible to create Ajax components like collapsable panel
without
server round trip?

Thanks in advance.


Apr 12 '07 #4
Thank you for your interest, Ben.

You may know ComponentArt client side components.(Here is their treeview
demo :
http://atlas.componentart.com/Client...r/Default.aspx)

One can dynamically manipulate these components at client side. No partial
or complete postback required.

I just want to know how to build a component like ComponentArt's treview?
"Ben Rush" <kw*****@yahoo.comwrote in message
news:OF**************@TK2MSFTNGP05.phx.gbl...
I'm not aware of anything off the top of my head that would allow you to
do this within the collapsable panel itself; though it is very possible to
figure out the format for the panel and somehow manipulate it with script,
I wouldn't recomend it and it wouldn't withstand the test of time.

Another option you could employ is to make your asynchronous web service
call and trigger a partial postback to the server to update the panel and
its contents; this would have a similar effect (might not be as fast, but
the page still wouldn't require a full reload).

If you need help figuring out how to do anything special, give me the
specific details and I can help you knit the code together.

--
~~~~~~~~~~~
Ben Rush
http://www.ben-rush.net/blog
"Kursat" <ku***********@hotmail.comwrote in message
news:O5****************@TK2MSFTNGP04.phx.gbl...
>Thank you for your interest and the goal is that :
I have some business logic components implemented as a web service. I
call web methods asynchronously via client side Javascript and I want to
display returned results on a collapsable panel as a categorized list. So
I focus to create collapsable panel items dynamically at client side.

Do you have any suggestion?

"Peter Bromberg [C# MVP]" <pb*******@yahoo.yabbadabbadoo.comwrote in
message news:81**********************************@microsof t.com...
>>Don't think so. All the AJAX controls (even though they are designed to
use
Remote Scripting (xmlhttp and callbacks) are still ASP.NET Server
controls.
What's the real goal ?
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Kursat" wrote:

Hi,

I want to add new collapsable panel items using java script at client
side.
Is this possible to create Ajax components like collapsable panel
without
server round trip?

Thanks in advance.



Apr 12 '07 #5
Ah, well, my guess is the best and quickest (and possibly cheapest involving
time) would be to just buy their component. I don't think it can be done in
ASP.net AJAX stock.

--
~~~~~~~~~~~
Ben Rush
http://www.ben-rush.net/blog
"Kursat" <ku***********@hotmail.comwrote in message
news:Od****************@TK2MSFTNGP02.phx.gbl...
Thank you for your interest, Ben.

You may know ComponentArt client side components.(Here is their treeview
demo :
http://atlas.componentart.com/Client...r/Default.aspx)

One can dynamically manipulate these components at client side. No partial
or complete postback required.

I just want to know how to build a component like ComponentArt's treview?
"Ben Rush" <kw*****@yahoo.comwrote in message
news:OF**************@TK2MSFTNGP05.phx.gbl...
>I'm not aware of anything off the top of my head that would allow you to
do this within the collapsable panel itself; though it is very possible
to figure out the format for the panel and somehow manipulate it with
script, I wouldn't recomend it and it wouldn't withstand the test of
time.

Another option you could employ is to make your asynchronous web service
call and trigger a partial postback to the server to update the panel and
its contents; this would have a similar effect (might not be as fast, but
the page still wouldn't require a full reload).

If you need help figuring out how to do anything special, give me the
specific details and I can help you knit the code together.

--
~~~~~~~~~~~
Ben Rush
http://www.ben-rush.net/blog
"Kursat" <ku***********@hotmail.comwrote in message
news:O5****************@TK2MSFTNGP04.phx.gbl...
>>Thank you for your interest and the goal is that :
I have some business logic components implemented as a web service. I
call web methods asynchronously via client side Javascript and I want to
display returned results on a collapsable panel as a categorized list.
So I focus to create collapsable panel items dynamically at client side.

Do you have any suggestion?

"Peter Bromberg [C# MVP]" <pb*******@yahoo.yabbadabbadoo.comwrote in
message news:81**********************************@microsof t.com...
Don't think so. All the AJAX controls (even though they are designed to
use
Remote Scripting (xmlhttp and callbacks) are still ASP.NET Server
controls.
What's the real goal ?
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Kursat" wrote:

Hi,
>
I want to add new collapsable panel items using java script at client
side.
Is this possible to create Ajax components like collapsable panel
without
server round trip?
>
Thanks in advance.
>
>
>




Apr 12 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by mr_burns | last post: by
5 posts views Thread by Colin Walls | last post: by
10 posts views Thread by Steve | last post: by
5 posts views Thread by darrel | last post: by
31 posts views Thread by Tony | last post: by
6 posts views Thread by HockeyFan | last post: by
4 posts views Thread by ton | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.