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
Hello,
It depends on your scenario whether you need to use UXDesktop or not.
What is your difficulty to use ItemSource in UXDesktop? And, how do you want to apply them? I might need a more details scenario to have a better idea for this issue.
If your scenario works without UXDesktop, then it is not necessary to use/integrate with UXDesktop.
Thank you.
Hello Indah,
I am afraid your scenario is not possible to be implemented because EdityType Dropdownlist is a built-in control in WebGrid, and thus, it does not invoke any of standard dropdownlist events. Also, OnChange event is used to be invoked from Client-side. Therefore, it does not trigger any events from Server-side. Since we need to pass through Server-side in order to retrieve the database, this scenario is most likely not recommended to be implemented.
Hope this helps. Thank you.
Regards,
-Martin-
I use TotalRows method in order to obtain the total grid's rows, and the method also gets the total rows after a record is added.
function GetTotal() { var grid = ISGetObject("WebGrid1"); alert(grid.TotalRows); }
I have created a sample for your reference.
Hello Andre,
First of all, you can add the following namespace into you code-behind:
using Intersoft.Client.UI.Aqua.UXStackMenu;
Next, add the following code in order to get the selected item that is being removed:
String item = ((UXStackItem)(data.SourceElement)).Text;
Here is the complete code to obtain the removed item:
private void UXStackButton1_Drop(object sender, Intersoft.Client.UI.Controls.Interactivity.DragEventArgs e) { DragDropEventData data = e.Data as DragDropEventData; String item = ((UXStackItem)(data.SourceElement)).Text; if (data != null && !data.Cancel) { if (data.Sender.IsRemove()) { MessageBox.Show(item +" is removed."); } else MessageBox.Show(item + " is moved."); } }
Thank you for your patient.
I found out how to trigger the event when we remove an item from UXStackButton. You can use ISDragDrop.DragEndEvent that is available in Routed Events architecture. To learn more about the events, please refer to the following link:
http://www.intersoftpt.com/Support/ClientUI/Documentation/#url=Drag-dropFrameworkOverview.html.
You might want to know about routed events, please refer to the following link:
http://www.intersoftpt.com/Support/ClientUI/Documentation/#url=RoutedEventsOverview.html
Use ISEventManager to register the event handler like following:
public UXStackButton() { InitializeComponent(); ISEventManager.RegisterInstanceHandler( this.UXStackButton1, ISDragDrop.DragEndEvent, new Intersoft.Client.UI.Controls.Interactivity.DragEventHandler(UXStackButton1_Drop), true); }
Then, you can customize any operation you want to perform in the following code:
private void UXStackButton1_Drop(object sender, Intersoft.Client.UI.Controls.Interactivity.DragEventArgs e) { DragDropEventData data = e.Data as DragDropEventData; if (data != null && !data.Cancel) { if (data.Sender.IsRemove()) { MessageBox.Show("The item is removed."); } else MessageBox.Show("The item is moved."); } }
Hello Tom,
You can set BackgroundImage and CustomRules properties in FrameStyle of WebDesktopManager.
Set BackgroundImage to the image url you want to use and set CustomRules to background-position: center;background-repeat: no-repeat.
Hope this helps.
I am currently investigating the event that will be triggered after we remove the stack item. So far, I've been trying to use DragEnter, DragLeave, Drop events with no luck. Those events does not get invoked when we remove an item.
Then, I tried StackOpened and StackClosed, but these events will be triggered when we open/close the stack button.
I will let you know the progress. Thank you for your patient.
Hello Ken,
Could you explain in more details what kind of crashes you are getting? It is better if you can provide a screenshot.
Could you also please explain what are the 30 business examples you want to view and download? Where did you download the samples?
Regards,-Martin-
If you enable AllowRemoveItem property, you will be able to remove the item in UXStackButton.
To remove the item, simply drag and drop the item outsite the UXStackButton area.
I am not clear enough with your question. Could you explain it in more details? Do you want to know what event is triggered when AllowRemoveItem is executed, or do you want to know the code/method to execute remove item?
Glad you have resolved the issue.
Should you have further questions regarding technical issue, please do not hesitate to post it through Community and we will be glad to assist you.
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