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
Ok, I'm just starting to use Intersoft's controls, so I'm sure that this is my error, but I can't figure it out. All I want to do is replace Microsoft's Update Panel with your WebFlypostbackManager. I've looked at the samples and I've read the forum posts, but I still can't get this simple sample working.
What am I doing wrong? Why won't a <asp:Textbox> update ??
Thanks,
Jim - Using latest version of your controls, Windows 7, and Visual Studio 2010
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestFlyBack.aspx.cs" Inherits="MasterController.Filter.TestFlyBack" %><%@ Register Assembly="ISNet.WebUI.WebDesktop" Namespace="ISNet.WebUI.WebDesktop" TagPrefix="ISWebDesktop" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> <form id="form1" runat="server"> <div> <ISWebDesktop:WebFlyPostBackManager ID="uiService" runat="server" BlockPageUIOnBusy="True" EnableUIMode="True" ServiceUrl="TestFlyBack.aspx"> <FlyPostBackSettings PostControlState="true" PostHiddenFields="true" PostInputControls="True" PostViewState="True" /> </ISWebDesktop:WebFlyPostBackManager> <asp:Button ID="Button_PartLookup" runat="server" Text="Lookup -->" OnClick="Button_PartLookup_Click" /> <br /> <br /> Time = <asp:TextBox ID="TextBox_Time" runat="server" Width="350"></asp:TextBox><br /> </div> </form></body></html>
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using ISNet.WebUI.WebDesktop;namespace MasterController.Filter{ public partial class TestFlyBack : System.Web.UI.Page { WebFlyPostBackListener listener = null; protected void Page_Load(object sender, EventArgs e) { // this is the only code needed for the automatic callback feature listener = new WebFlyPostBackListener(this); if (!IsPostBack) //set a default value when page loads { TextBox_Time.Text = "Initial Time=" + System.DateTime.Now.ToString(); } } protected void Button_PartLookup_Click(object sender, EventArgs e) { TextBox_Time.Text = "Updated Time=" + System.DateTime.Now.ToString(); } }}
Hi Jim,
You need to add some code in your button_click event. Please see the sample that I attach for you.
Hope it helps.
Regards,
Lili Khiung
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