﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebDesktop - WebFlyPostBackManager - Updating WebInput.Text</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebFlyPostBackManager---Updating-WebInputText/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>WebFlyPostBackManager - Updating WebInput.Text</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebFlyPostBackManager---Updating-WebInputText/</link><pubDate>Wed, 25 Nov 2009 02:02:21 GMT</pubDate><dc:creator>julia</dc:creator><category>WebInput</category><category>WebFlyPostBackManager</category><category>internet explorer</category><description>&lt;p&gt;Hi Alex,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Glad to hear the solution helps &lt;img style="border-bottom: medium none; border-left: medium none; border-top: medium none; border-right: medium none" src="http://www.intersoftpt.com/WebResources/Images/Community/Editor/smiley1.gif" /&gt; &lt;/p&gt;
&lt;p&gt;I will inform our documentation team regarding your valuable feedback. Currently, our control's documentation is keep improving to provide our customer with complete description regarding our control. For now, if you have question regarding our controls, you can always ask here in the forum. We will try to provide you the best solution.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Julia&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>WebFlyPostBackManager - Updating WebInput.Text</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebFlyPostBackManager---Updating-WebInputText/</link><pubDate>Tue, 24 Nov 2009 22:52:56 GMT</pubDate><dc:creator>alex@millhorn.com</dc:creator><category>WebInput</category><category>WebFlyPostBackManager</category><category>internet explorer</category><description>&lt;p&gt;Julia,&lt;/p&gt;
&lt;p&gt;Yes that helps greatly... thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;How is one supposed to know this?  I'm unable to find a clear document outlining the fundamentals of each control.  Sure, I see the Method and Property list of FlyPostBackManager and WebButton, but the description of each Method/Property isn't always descriptive enough to learn what you stated above?&lt;/p&gt;</description></item><item><title>WebFlyPostBackManager - Updating WebInput.Text</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebFlyPostBackManager---Updating-WebInputText/</link><pubDate>Tue, 24 Nov 2009 22:50:09 GMT</pubDate><dc:creator>julia</dc:creator><category>WebInput</category><category>WebFlyPostBackManager</category><category>internet explorer</category><description>&lt;p&gt;Hi Alex,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;To get the value of WebInput, you need to set PostHiddenFields and PostInputContols properties to true in WebButton&amp;gt;&amp;gt;FlyPostBackSettings.&lt;/p&gt;
&lt;p&gt;Hope this help.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Julia&lt;/p&gt;</description></item><item><title>WebFlyPostBackManager - Updating WebInput.Text</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebFlyPostBackManager---Updating-WebInputText/</link><pubDate>Mon, 23 Nov 2009 10:28:42 GMT</pubDate><dc:creator>alex@millhorn.com</dc:creator><category>WebInput</category><category>WebFlyPostBackManager</category><category>internet explorer</category><description>&lt;p&gt;Thank you for your reply.&lt;/p&gt;&lt;p&gt;Your example demonstrates how to update the property of a Intersoft Control.&lt;/p&gt;
&lt;p&gt;However, I still expreience problems if I'm trying to ACCESS the value of an Intersoft Control.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style="background-color: rgb(255, 255, 0);"&gt;Suppose on a WebButton_Clicked FlyPostBack, I wish to write the value of WebInput.Text to a database.  Currently, I am unable to do so.....  All attempt at doing this result in an empty string being stored to the databse, despite the WebInput control clearly having a Text value.&lt;/p&gt;
&lt;p&gt;Is there a special way to do this using FlyPostBackManager?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>WebFlyPostBackManager - Updating WebInput.Text</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebFlyPostBackManager---Updating-WebInputText/</link><pubDate>Mon, 23 Nov 2009 02:08:05 GMT</pubDate><dc:creator>julia</dc:creator><category>WebInput</category><category>WebFlyPostBackManager</category><category>internet explorer</category><description>&lt;p&gt;Hi Alex,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;RenderControl can only be use for asp.net control (i.e ASP Button, Asp Textbox). But in Intersoft's control, you need to use RequiresUiRefresh. Here is the modified code:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: 13.5pt; margin: 0in 6.75pt 0pt 3pt; background: #fffce1"&gt;&lt;span style="font-family: 'courier new'; color: #3f3f3f; font-size: 9pt"&gt;public void Demo2()
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: 13.5pt; margin: 0in 6.75pt 0pt 3pt; background: #fffce1"&gt;&lt;span style="font-family: 'courier new'; color: #3f3f3f; font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: 13.5pt; margin: 0in 6.75pt 0pt 3pt; background: #fffce1"&gt;&lt;span style="font-family: 'courier new'; color: #3f3f3f; font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ListBox1.Items.Add(new ListItem("Success!", "0"));
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: 13.5pt; margin: 0in 6.75pt 0pt 3pt; background: #fffce1"&gt;&lt;span style="font-family: 'courier new'; color: #3f3f3f; font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WebInput1.Text = "Success!";
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: 13.5pt; margin: 0in 6.75pt 0pt 3pt; background: #fffce1"&gt;&lt;span style="font-family: 'courier new'; color: #3f3f3f; font-size: 9pt"&gt;
&lt;p&gt; &lt;/p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: 13.5pt; margin: 0in 6.75pt 0pt 3pt; background: #fffce1"&gt;&lt;span style="font-family: 'courier new'; color: #3f3f3f; font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WebFlyPostBackManager1.ClientAction.RenderControl(ListBox1);
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: 13.5pt; margin: 0in 6.75pt 0pt 3pt; background: #fffce1"&gt;&lt;span style="font-family: 'courier new'; color: #3f3f3f; font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WebInput1.RequiresUIRefresh = true;
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: 13.5pt; margin: 0in 6.75pt 0pt 3pt; background: #fffce1"&gt;&lt;span style="font-family: 'courier new'; color: #3f3f3f; font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Hope this can help.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Julia&lt;/p&gt;</description></item><item><title>WebFlyPostBackManager - Updating WebInput.Text</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebFlyPostBackManager---Updating-WebInputText/</link><pubDate>Sat, 21 Nov 2009 12:15:53 GMT</pubDate><dc:creator>alex@millhorn.com</dc:creator><category>WebInput</category><category>WebFlyPostBackManager</category><category>internet explorer</category><description>&lt;pre&gt;using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using ISNet.WebUI;
using ISNet.WebUI.WebDesktop;

namespace MDSPortal.Web.Partner
{
    public partial class FlyDemo : System.Web.UI.Page
    {
        WebFlyPostBackListener listener = null;

        protected void Page_Load(object sender, EventArgs e)
        {
            listener = new WebFlyPostBackListener(this);
        }


        [WebFlyPostBackMethod()]
        public void Demo2()
        {
            ListBox1.Items.Add(new ListItem("Success!", "0"));
            WebInput1.Text = "Success!";
            WebFlyPostBackManager1.ClientAction.UpdateViewState();
            //WebFlyPostBackManager1.ClientAction.RenderControl(ListBox1);
            WebFlyPostBackManager1.ClientAction.RenderControl(WebInput1);
        }
    }
}
&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;As always, thank you in advance.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>