473,769 Members | 2,331 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2218
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*******@yaho o.yabbadabbadoo .comwrote in
message news:81******** *************** ***********@mic rosoft.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.comwrot e in message
news:O5******** ********@TK2MSF TNGP04.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*******@yaho o.yabbadabbadoo .comwrote in
message news:81******** *************** ***********@mic rosoft.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.(Her e 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******** ******@TK2MSFTN GP05.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.comwrot e in message
news:O5******** ********@TK2MSF TNGP04.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*******@yaho o.yabbadabbadoo .comwrote in
message news:81******** *************** ***********@mic rosoft.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.comwrot e in message
news:Od******** ********@TK2MSF TNGP02.phx.gbl. ..
Thank you for your interest, Ben.

You may know ComponentArt client side components.(Her e 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******** ******@TK2MSFTN GP05.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.comwrot e in message
news:O5******* *********@TK2MS FTNGP04.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*******@yaho o.yabbadabbadoo .comwrote in
message news:81******** *************** ***********@mic rosoft.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
2897
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 the user selects shirts another combo box called 'size' would contain sizes in relation to shirts (ie. chest/neck size). the same would occur for trousers and hats. when the user selects an option in the garment combo box, the options available...
5
1724
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 downs, select an option from the first fills the available options for the second and so on. Given the current buzz about Ajax this would seem an opportunity to try out some of its features. Could anyone point me at an example of what I am trying...
10
6318
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
1768
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 data back and forth between my page and the server via AJAX. In terms of .net, can someone give me the overall concept? Normally, I'd have a function in my codebehind that grabs a dataset and then binds that to a control on my aspx page.
31
3162
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 around here? If so, do you know if Ajax.NET can be used without prototype.js? -- "The most convoluted explanation that fits all of the made-up facts is the most likely to be believed by conspiracy theorists. Fitting the
6
4020
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 like that. I'm fairly experienced with ASP.Net, but new to AJAX. Please help if you can. Thanx.
1
4917
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 another page in the same domain which also contains infragistics datagid populated with default data retrieved from Data Base. After creating the frame I am attaching it to the HTML DOM and show it as modal popup with OK and Cancel Button inside an...
4
1503
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 possible. I saw the posiibilty of the Ajax control toolkit with the calendar extender. How nice. But is it fast? Thats the question, because the roundtrip to the server would build the full page in postback and only the changes will be posted...
2
1862
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 considering offering Web pages both to browsers that support AJAX and to those that do not support AJAX. Questions: 1. In general, should I look to offer two versions of each page - one for AJAX clients and the other for "non AJAX-supporting"...
0
9589
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10222
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9999
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8876
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7413
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6675
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3570
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.