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
How to hook up the server side click event for WebFishEyeButton & WebFishEyeStackButton?
Thanks
Andi,
I found the answers for the server side click event of WebFishEyeStackButton & WebFishEyeButton.
for WebFishEyeButton:in WebFishEye property set ButtonClick event to the name of the event in code behind.give every button unique ItemName in its property. and then in the code behind event, with the parameter WebFishEyeButtonEventArgs e, use e.button to get the itemName. so it knows which button is clicked.by select case/if else, implemet the expected functions.for WebFishEyeStackButton:in WebFishEye property set StackButtonClick event to the name of the event in code behind.give every button unique ItemName in its property. and then in the code behind event, with the parameter WebFishEyeButtonEventArgs e, use e.button to get the itemName. so it knows which button is clicked.by select case/if else, implemet the expected functions.in XAML:
<ISNet_Silverlight_WebAqua:WebFishEye Height="128" HorizontalAlignment="Left" ..............StackButtonClick="WebFishEye_StackButtonClick" ButtonClick="WebFishEye_ButtonClick">
in Code Behind:
private void WebFishEye_StackButtonClick(object sender,WebFishEyeButtonEventArgs e)
{ WebFishEyeStackButton btn = (WebFishEyeStackButton)e.Button; if (btn.ItemName == "gtafCalendar") { forumCalendar.Visibility = Visibility.Visible; } }
private void WebFishEye_ButtonClick(object sender, WebFishEyeButtonEventArgs e)
{ WebFishEyeButton btn = (WebFishEyeButton)e.Button; if (btn.ItemName == "News") { penalNews.Visibility = Visibility.Visible; } }
Hi Jolie,
Unfotunately, we do not have a server side event on the button or image is clicked. However, on the attached file that I provide to you, it will show a workaround to do that scenario.
We will need to use a hidden input value to set the validation based on the item or button name on the server side.
I hope my sample will help you. Thank you and have a nice day.
Best Regards,
Andi Santoso
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