473,405 Members | 2,310 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,405 software developers and data experts.

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 2202
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: mr_burns | last post by:
hi, is it possible to change the contents of a combo box when the contents of another are changed. for example, if i had a combo box called garments containing shirts, trousers and hats, when...
5
by: Colin Walls | last post by:
I have been asked to produce a web catalogue of services and associated options, this eventually will be used for ordering the services. My initial thought was to use a set of cascading drop...
10
by: Steve | last post by:
I need to build a very dynamic client and would be interested in knowing the pros and cons of using JSF and Ajax to accomplish this. Thanks. Steve
5
by: darrel | last post by:
I've been playing with prototype.js and scriptaculous to create some nice drag-and-drop interaction on my applications GUI. That's working well. Now I want to take the next step and start passing...
31
by: Tony | last post by:
I just noticed that prototype.js is one of the files in the Ajax.NET distribution - I'm pretty concerned about this. Does anyone know if this is the same "prototype.js" that is not well-liked...
6
by: HockeyFan | last post by:
I'd like to have an AJAX textbox that after the user fills in, will auto-fill another textbox on the page without having a postback occur. It doesn't have to do any filtering or any other thing...
1
by: cdmsenthil | last post by:
I have an Infragistics UltrawebGrid . Each Row in the grid is attached to a context menu using Infragistics CSOM Upon click on the menu, I am creating an Iframe dynamically which points to...
4
by: ton | last post by:
Hi, I wander what to do. I'm developing a webapplication. One of the parts is to show records from a database. To modifiy a value, text of relational link or date I would like to use Ajax where...
2
by: Johnson | last post by:
While I have done a substantial amount of ASP.NET programming, I have only dabbled with AJAX (update panels and a 3rd party JSON setup - jayrock - that directly updates the DOM). In any case, I'm...
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: 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...
0
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.