-
August 23rd, 2007, 09:05 AM
#1
change the color of fields and display images(up,down)
hi all
in the example demo(Microsoft ASP.NET AJAX Integration) i have to make what for the color of the fields change when the value fields change and add images(up,down).(the example demo HTML is good ).
thanks.
-
August 27th, 2007, 01:22 PM
#2
Hi, there are many things you could do to customize your application.
In example starting from the ASP.NET AJAX demo you could add cell highlighting simply appending to the formatOT method these lines:
Please check the demo sources for others examples of customization and get back if you have any doubt.
-
August 28th, 2007, 12:13 PM
#3
thanks Mone.
i can change the color fo fields as the example demo, but i dont know to add images(Up,Down) in to field when the value another field change.
as sources demo(HTML) :<span source="lightstreamer" table="1" item="'+i+'" field="16"><img src="images/spacer_4px.gif" width="20" height="8" border="0"></span>
i tried to make in ReorderList of the example demo asp.Net Ajax but it had error?
how do i format the field image?
-
August 28th, 2007, 12:55 PM
#4
What you've done is to add a cell to your table, but any cell you add should have a correspondant field.
field="16"
In the case of the HTML demo the field number 16 is a field added in a callback and contains the html of the img (eg: <img src="arrow.gif" />).
item="'+i+'"
Moreover in that demo the html of the cells is made with a for statement so the i is used to set at any cycle a different item number. The ASP.NET demo does not have such logic.
I advice you to read the "Web Client Dev.pdf" and "Web Client Tutorial.pdf" files located in the distribution under LS_HOME/DOCS-SDKs/sdk_client_web/doc/ and this post: http://www.lightstreamer.com/vb/showthread.php?t=49
Hope that helps.
-
August 29th, 2007, 11:26 AM
#5
thanks Mone.
I could add images(up,down). because i dont remember some of the code lines :
lsTable.setPushedHtmlEnabled(true) so images didnt appear(url is false).
thanks you for detail info.
-
March 4th, 2009, 08:15 AM
#6
Is Pushing of the image field necessary?
I dont understand the code fully.
For the images to work properly, does the field need to be pushed from the server?
-
March 25th, 2010, 05:20 AM
#7
Being a student of Computer Sciences, this forum has been really helpful for me. Let's see what i'll get. Keep up the good work.
-
March 25th, 2010, 09:02 AM
#8
Thanks Billy!
Cheers,
Alessandro
Similar Threads
-
By metero in forum Client SDKs
Replies: 2
Last Post: June 7th, 2012, 01:49 PM
-
By metero in forum General
Replies: 1
Last Post: May 25th, 2012, 09:03 AM
-
By LS_Developer in forum Client SDKs
Replies: 3
Last Post: March 6th, 2012, 08:58 AM
-
By Test6405 in forum Client SDKs
Replies: 1
Last Post: November 2nd, 2009, 04:55 PM
-
By tuongkha in forum Client SDKs
Replies: 4
Last Post: March 19th, 2008, 10:10 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 12:26 PM.
Bookmarks