﻿<?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 - WebGrid Enterprise - WebGrid 7 + WebCombo + Masterpage</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-7--WebCombo--Masterpage/</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>WebGrid 7 + WebCombo + Masterpage</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-7--WebCombo--Masterpage/</link><pubDate>Wed, 16 Feb 2011 04:41:01 GMT</pubDate><dc:creator>pfletcher</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;Yup I've got it solved now.  I didn't actually mean to have ClientIDMode="static" in the version I sent to you; I tried that to solve my issue.  To actually fix the problem I had to specifically set ClientIDMode="AutoID".  I thought this was the default since I haven't specifically set the ClientIDMode anywhere within my control hierarchy.  Which is the reason I didn't try it.&lt;/p&gt;
&lt;p&gt;Thanks for your help on this issue, I've got another one now though which I'll post in another topic &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;Paul&lt;/p&gt;</description></item><item><title>WebGrid 7 + WebCombo + Masterpage</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-7--WebCombo--Masterpage/</link><pubDate>Wed, 16 Feb 2011 03:02:25 GMT</pubDate><dc:creator>MarTin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I've successfully replicated your issue on my end.&lt;/p&gt;
&lt;p&gt;The error occurs because you set &lt;strong&gt;ClientIDMode&lt;/strong&gt; to &lt;strong&gt;Static&lt;/strong&gt;. When you use Master Page, the combo id will get changed and you could not use static id because it will detect as an incorrect id.&lt;/p&gt;
&lt;p&gt;Try to set the &lt;strong&gt;ClientIDMode&lt;/strong&gt; to &lt;strong&gt;AutoID&lt;/strong&gt; and your project will work without any error.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;</description></item><item><title>WebGrid 7 + WebCombo + Masterpage</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-7--WebCombo--Masterpage/</link><pubDate>Mon, 14 Feb 2011 09:26:39 GMT</pubDate><dc:creator>pfletcher</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I've included a sample of what I can't get working.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your time&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Paul&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;&amp;lt;ISWebGrid:WebGrid ID="WebGrid1" runat="server" UseDefaultStyle="True"
                    Width="100%" Height="100%" DefaultStyleMode="Win7" 
                    DataSourceID="odsEmployees"&amp;gt;
                    &amp;lt;LayoutSettings AllowColumnMove="Yes" AllowEdit="Yes" AllowExport="Yes" AllowFilter="Yes"
                        AllowGrouping="Yes" AllowSelectColumns="Yes" AllowSorting="Yes" GroupByBoxVisible="True"
                        AllowBatchUpdate="True" ColumnFooters="Yes" RowHeightDefault="30px" AllowAddNew="Yes"
                        AutoHeight="True" RowChangedAction="OnTheFlyPostback" ContextMenuAnimation="true" AllowColumnFreezing="Yes"&amp;gt;
                        &amp;lt;BatchUpdateSettings AllowReviewChanges="True" NotifyOnLostFocus="True"&amp;gt;&amp;lt;/BatchUpdateSettings&amp;gt;
                    &amp;lt;/LayoutSettings&amp;gt;
                    &amp;lt;RootTable DataKeyField="Id" HeaderClickAction="SortMulti" GroupTotalVisible="True"&amp;gt;
                        &amp;lt;Columns&amp;gt;
                            &amp;lt;ISWebGrid:WebGridColumn Caption="No." DataMember="Id" DataType="System.Int32" Name="Id"
                                Width="50px" IsAutoIncrement="True"&amp;gt;
                            &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                            &amp;lt;ISWebGrid:WebGridColumn Caption="Payroll Id" DataMember="PayrollId" Name="PayrollId"
                                Width="110px"&amp;gt;
                            &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                            &amp;lt;ISWebGrid:WebGridColumn Caption="Actual Site Code" DataMember="DefaultSiteCode"
                                Name="DefaultSiteCode" Width="175px" EditType="WebComboNET" UseValueListForSorting="Yes"
                                WebComboID="wcDefaultSites" FilterEditType="TextBox"&amp;gt;
                                &amp;lt;ValueList DataMember="DefaultView" DataSourceID="odsSites" DataTextField="Code"
                                    DataValueField="Code"&amp;gt;
                                &amp;lt;/ValueList&amp;gt;
                            &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                        &amp;lt;/Columns&amp;gt;
                    &amp;lt;/RootTable&amp;gt;
                &amp;lt;/ISWebGrid:WebGrid&amp;gt;
                &amp;lt;asp:ObjectDataSource ID="odsEmployees" runat="server" SelectMethod="GetByRole" TypeName="MyNameSpace.Employee"
                    DataObjectTypeName="MyNameSpace.Employee" UpdateMethod="Update" InsertMethod="Insert"&amp;gt;
                &amp;lt;/asp:ObjectDataSource&amp;gt;
                &amp;lt;asp:ObjectDataSource ID="odsSites" runat="server" SelectMethod="GetAll" TypeName="MyNameSpace.Site"&amp;gt;
                &amp;lt;/asp:ObjectDataSource&amp;gt;
                &amp;lt;ISWebCombo:WebCombo ID="wcDefaultSites" ClientIDMode="Static" runat="server" DataSourceID="odsSites"
                    DataTextField="Code" DataValueField="Code" Height="20px" Width="200px" 
                    UseDefaultStyle="True" DataMember=""&amp;gt;
                &amp;lt;/ISWebCombo:WebCombo&amp;gt;&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p /&gt;</description></item><item><title>WebGrid 7 + WebCombo + Masterpage</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-7--WebCombo--Masterpage/</link><pubDate>Mon, 14 Feb 2011 03:37:51 GMT</pubDate><dc:creator>MarTin</dc:creator><description>&lt;p&gt;Hello Paul,&lt;/p&gt;
&lt;p&gt;Have you tried WebGrid's sample on &lt;strong&gt;IntegrationwithWebCombo.NET.aspx&lt;/strong&gt;? This sample inherits from a master page as well that might be the same as your scenario.&lt;/p&gt;
&lt;p&gt;Do you have any simple working sample that I can try from my end?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;</description></item><item><title>WebGrid 7 + WebCombo + Masterpage</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-7--WebCombo--Masterpage/</link><pubDate>Sun, 13 Feb 2011 14:18:46 GMT</pubDate><dc:creator>pfletcher</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I'm currently using the WebGrid as a trial and have run into the problem of inserting a WebCombo control into a cell grid for editing.  I can get this working no problem when I use my code within a standard aspx page along with all my other controls however when I do exactly the same within a page which inherits from a master page I get a javascript pop up saying Title="Message from webpage" Text="Can't find WebCombo.NET instance with ID 'ctl00_MainContent_wcDefaultSites'"&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I'm using ObjectDataSource to bind my grid, and the another ObjectDataSource to bind both my WebCombo and ValueList within the WebGrid Column.  The "MainContent" referenced in the control ID that the message says it can't find is the ID of my ContentPlaceHolder.&lt;/p&gt;
&lt;p&gt;Has anyone had this problem or can replicate it?  A solution would be nice too &lt;img id="" src="http://www.intersoftpt.com/WebResources/Images/Community/Editor/smiley1.gif" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /&gt;&lt;/p&gt; 
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Paul&lt;/p&gt;</description></item></channel></rss>