﻿<?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 - Lounge - Dynamic custom control in intersoft</title><link>http://www.intersoftsolutions.com/Community/Lounge/Dynamic-custom-control-in-intersoft/</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>Dynamic custom control in intersoft</title><link>http://www.intersoftsolutions.com/Community/Lounge/Dynamic-custom-control-in-intersoft/</link><pubDate>Wed, 21 May 2014 00:20:27 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Glad to hear that the snippet code helps.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Should you need further assistance or run into any problems regarding our controls, feel free to post it into our forum. We would be happy to assist you again.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Dynamic custom control in intersoft</title><link>http://www.intersoftsolutions.com/Community/Lounge/Dynamic-custom-control-in-intersoft/</link><pubDate>Tue, 20 May 2014 02:31:42 GMT</pubDate><dc:creator>Rajee</dc:creator><description>&lt;p&gt;It worked!!&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Dynamic custom control in intersoft</title><link>http://www.intersoftsolutions.com/Community/Lounge/Dynamic-custom-control-in-intersoft/</link><pubDate>Wed, 14 May 2014 03:49:40 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I’d like to suggest you to programmatically create the WebCombo in Page_Load event. Next, in PrepareDataBinding (WebGrid’s server-side event) set the EditType property of the column to WebCombo (and CalendarDropDown for the DateTime picker editor).&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Following snippet code has been tested in my local end and it worked just like the WebGrid’s sample mentioned in my previous post.&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;protected void Page_Load(object sender, EventArgs e)
{
    if (!IsPostBack)
    {
        /* populate data as unbound to enable checkbox mode in multiple selection */
        DataView view = SqlDataSource2.Select(DataSourceSelectArguments.Empty) as DataView;

        WebCombo webCombo1 = new WebCombo
        {
            ID = "WebCombo1",
            Height = Unit.Pixel(20),
            Width = Unit.Pixel(200),
            UseDefaultStyle = true,
            DataTextField = "RoleName",
            DataValueField = "RoleId",
            LayoutSettings =
            {
                StatusBoxVisible = false,
                AllowFloatingText = false,
                BoundMode = BoundMode.ForceUnbound,
                TextBoxMode = TextboxMode.ReadOnly
            }
        };
            
        webCombo1.MultipleSelectionSettings.Enabled = true;
        webCombo1.MultipleSelectionSettings.SeparatorChar = ",";
        webCombo1.PopulateUnboundData(view, true);

        form1.Controls.Add(webCombo1);
    }
}

protected void WebGrid1_PrepareDataBinding(object sender, ISNet.WebUI.WebGrid.DataSourceEventArgs e)
{
    WebGrid1.RootTable.Columns.GetNamedItem("Roles").EditType = EditType.WebComboNET;
    WebGrid1.RootTable.Columns.GetNamedItem("Roles").WebComboID = "WebCombo1";

    WebGrid1.RootTable.Columns.GetNamedItem("JoinDate").EditType=EditType.CalendarDropdown;
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Please feel free to let me know whether this helps or not.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Dynamic custom control in intersoft</title><link>http://www.intersoftsolutions.com/Community/Lounge/Dynamic-custom-control-in-intersoft/</link><pubDate>Mon, 12 May 2014 15:17:11 GMT</pubDate><dc:creator>Rajee</dc:creator><description>&lt;p&gt;Thanks for the reply.&lt;/p&gt;&lt;p&gt;I want to create the custom controls Dynamically through code. &lt;/p&gt;&lt;p&gt;Please help&lt;/p&gt;</description></item><item><title>Dynamic custom control in intersoft</title><link>http://www.intersoftsolutions.com/Community/Lounge/Dynamic-custom-control-in-intersoft/</link><pubDate>Mon, 12 May 2014 05:48:40 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;blockquote&gt;&lt;p&gt;... I want multiple selection combo ... Also i need to save the mutiple selections made by user with "|".&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Please check WebGrid sample file, UsingWebComboNETwithMultipleSelection.aspx. The live version of this sample is available in &lt;a href="http://live.intersoftpt.com/cs/WebGrid/UsingWebComboNETwithMultipleSelection.aspx?noframe=1" target="_blank"&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;This sample shows how you can easily edit the multiple values data by using Intersoft WebCombo.NET control. With &lt;em&gt;Mutliple Selection&lt;/em&gt; feature available in WebCombo.NET, WebGrid automatically creates seamlessly interface to WebCombo control in order to edit and return multiple values in the selected cell. In this sample, the &lt;em&gt;SeparatorChar&lt;/em&gt; is set to a comma (,) character. For your scenario, you can set the SeparatorChar property to “|”.&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;... I want ... datetime picker&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;WebGrid provides several edit types as follows: NoEdit, Textbox, MultilineTextbox, Checkbox, DropdownList, CalendarDropdown, CalendarCombo and also WebCombo.NET, etc. About your requirement to use datetime picker, please kindly check EditorTypes.aspx sample file of WebGrid. The live version of this sample is available in &lt;a href="http://live.intersoftpt.com/cs/WebGrid/EditorTypes.aspx?noframe=1" target="_blank"&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style="color: #1f497d;"&gt;In this sample, try to edit the OrderDate or RequiredDate column of WebGrid.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Dynamic custom control in intersoft</title><link>http://www.intersoftsolutions.com/Community/Lounge/Dynamic-custom-control-in-intersoft/</link><pubDate>Mon, 12 May 2014 00:31:27 GMT</pubDate><dc:creator>Rajee</dc:creator><description>&lt;p&gt;Any updates.&lt;/p&gt;</description></item><item><title>Dynamic custom control in intersoft</title><link>http://www.intersoftsolutions.com/Community/Lounge/Dynamic-custom-control-in-intersoft/</link><pubDate>Fri, 09 May 2014 04:10:40 GMT</pubDate><dc:creator>Rajee</dc:creator><description>&lt;p&gt;Its asp.net grid product.&lt;/p&gt;&lt;p&gt;Waiting for reply./&lt;/p&gt;</description></item><item><title>Dynamic custom control in intersoft</title><link>http://www.intersoftsolutions.com/Community/Lounge/Dynamic-custom-control-in-intersoft/</link><pubDate>Fri, 09 May 2014 03:25:49 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Could you please point me to which grid product that you use so that I can assist you further? Is it ASP.Net WebGrid control or ClientUI UXGridView control in Silverlight/WPF?&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Dynamic custom control in intersoft</title><link>http://www.intersoftsolutions.com/Community/Lounge/Dynamic-custom-control-in-intersoft/</link><pubDate>Thu, 08 May 2014 13:46:08 GMT</pubDate><dc:creator>Rajee</dc:creator><description>&lt;p&gt;Hi &lt;/p&gt;&lt;p&gt;I have one grid which need to create the custom controls dynamically. I want multiple selection combo and datetime picker. Also i need to save the mutiple selections made by user with "|". &lt;/p&gt;&lt;p&gt;Can you please guide me on the same. Rest all Editypes I am able to add dynamically.Its Urgent.&lt;/p&gt;&lt;p&gt;Waiting more Quick reply.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;thanks&lt;/p&gt;&lt;p&gt;rajshri&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>