iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi Yudi,
In testing my app I discovered a slight problem and I am hopeful you can assist me further. It seems that I should not make the color bar content text ALL black or ALL white, I need a mixture of black OR white text depending on the color bar background color.
If some of my color bars are dark color and the text is all black, then the text is hard to see/read. If some of my color bars are light colored and the text is all white, then the text is also hard to see/read.
My question is, is it possible to set the color bar text based on the colorbar color? For example:
___________________________
If (SubjectColor == "#800000" || SubjectColor == "#808000")
then make the text white
else
make the text black
------------------------
OR something like this?????????
then make the text white else
If (SubjectColor == "#FF0000" || SubjectColor == "#FFFF00")
Is this possble or am I stuck with either all black or all white color bar content text?
Please advise and best regards - Frank
Tried the above steps and the results are as follows:
1). I can add client side events with the two lines of code REMOVED from the OnEventBound.
2). I can "manually" add client side events with the two lines of code NOT removed from the OnEventBound.
For now, I will just either add manual client side events, or remove the two lines of code, add a new event and then put the two lines of code back. The issue does not seem to affect the performance of the wescheduler control at runtime.
Thanks - Frank
Yudi,
Thank you for your reply. I will look at this next week and post back the results.
Frank
Thanks for the prompt reply. Your solution worked perfectly!
Hi Handy,
I was able to resolve my issue simply by disabling the editing feature, (had not considered that one, thanks for pointing it out!).
Thank you for all your help. Your forum support is truly top notch!
I was able to get it working using your option #1 above. Thank you!
I do have one remaining issue in my configuration. When a user one clicks a color bar, I am trying to "hide" the "Edit Event" button on the fly out dialog. I am able to hide the entire Edit Event dialog completely through the "OnEventSelected" client side event.
However, I would like to show the Edit Event dialog so the user can see the details, but not allow them to click the Edit Event button. Can the Edit Event button be hidden somehow?
Attached is a screen shot. Is this possible?
Thank you for your prompt response.
You stated:
"use dropdown only as options to change the queryWe have server side selecting event in ISDataSource. I think you can interrupt and change the query based on your dropdown value in this event"
This is EXACTLY what I have been trying to do with no success! In the events table adapter it does not appear that I can use compound queries as I get an error "The Declare SQL construct or statement is not supported" so it does not allow me to utilize two different queries or sub queries in the same single query.
I am able to use query 1 by itself and set the parameter on the ISDataSource Events table fine, and I am able to use query 2 by itself and set the parameter on the ISDataSource Events table fine, however I am NOT able to add a compound query for query 1 AND query 2 without getting the above error.
I also do not see a server side selecting event in the ISDATASOURCE anywhere, I have checked from top to bottom.
Can you adivise further?
Thanks! - Frank
Thank you very much for your reply. I am using parameters in other areas of my webscheduler development project so I am very familiar with your suggested solution.
However, I am not certain parameters will work in my scenario since using parameters appears to be based on a SINGLE query. What I want to do is utilize TWO different queries.
How would I accomplish this if I were using an Intersoft dropdown list control? Is is even possible to invoke Events query 1 when user selects dropdown option 1 and invoke Events query 2 when user selects dropdown option 2?
There are basically TWO different select statements and I am not aware of any way to have two different select staements in the same sql query based on a parameter?
I believe I have resolved the problem.
I changed the LoadOnDemandMode from TripleLoad to SingleLoad and the problem appears to be resolved. Whether the json reference is included or not in the webconfig file, setting to SingleLoad resolves the problem.
However, I am now wondering if there will be a future or long term performance "hit" due to the setting change?
Also, the answers to your above posted questions are as follows:
1). The mode does not seem to matter, setting for timeline, day, month etc. invokes the json error in tripleload, however my default view is timeline.
2). Client and server paging are both set to True, setting them to False did not make a difference in TripleLoad.
3). Did not troubleshoot with HttpWatch.
4). There are no recurring events in my application, the tables are empty.
Please advise and thanks!
Thank you for your continued assistance in helping me resolve this issue. I have been unavailable the past several days to continue troubleshooting.
I will however try your suggestions within the next 1-2 days and reply back in this thread with further information.
Thanks again -
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname