<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Add custom grid to your web page</title>
	<atom:link href="http://aspknowledgebase.wordpress.com/15/custom-grid-add-to-your-web-page/feed/" rel="self" type="application/rss+xml" />
	<link>http://aspknowledgebase.wordpress.com</link>
	<description></description>
	<lastBuildDate>Mon, 20 Jul 2009 22:43:17 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: aspknowledgebase</title>
		<link>http://aspknowledgebase.wordpress.com/15/custom-grid-add-to-your-web-page/#comment-18</link>
		<dc:creator>aspknowledgebase</dc:creator>
		<pubDate>Fri, 06 Jul 2007 09:40:50 +0000</pubDate>
		<guid isPermaLink="false">http://aspknowledgebase.wordpress.com/9/#comment-18</guid>
		<description>Hi S.Suresh,

Most likely your problem has something to do with the single quotes. The weblog editor changed all the quotes (double and single) into so called &#039;smart&#039; quotes. You probably already changed the double quotes into their regular version because they will result in errors when building the project. Please replace the &#039;smart&#039; single quotes also with their regular versions (throughout the whole solution). They do not cause an error directly, but they are used for the HTML attributes (onclick, the designer, etc.) and will result in problems later on. If you have replaced all quotes, the custom grid should work (it does on my pc).

The easiest way to incorporate the grid into your page is to create a Release version of the library (change configuration to &#039;release&#039; in the Solution Property Pages). This way the grid will automatically be added to your toolbox. Now you can drag-and-drop the grid onto your web page in design view and you are sure that the DLL is copied and the right reference is set.

I hope you do not mind, but I have deleted the large comments with your code. I cannot replicate your error because I do not have your database. The source code is now included in the article (last page). I hope this will help you in finding the error.

Regards, Jan</description>
		<content:encoded><![CDATA[<p>Hi S.Suresh,</p>
<p>Most likely your problem has something to do with the single quotes. The weblog editor changed all the quotes (double and single) into so called &#8217;smart&#8217; quotes. You probably already changed the double quotes into their regular version because they will result in errors when building the project. Please replace the &#8217;smart&#8217; single quotes also with their regular versions (throughout the whole solution). They do not cause an error directly, but they are used for the HTML attributes (onclick, the designer, etc.) and will result in problems later on. If you have replaced all quotes, the custom grid should work (it does on my pc).</p>
<p>The easiest way to incorporate the grid into your page is to create a Release version of the library (change configuration to &#8216;release&#8217; in the Solution Property Pages). This way the grid will automatically be added to your toolbox. Now you can drag-and-drop the grid onto your web page in design view and you are sure that the DLL is copied and the right reference is set.</p>
<p>I hope you do not mind, but I have deleted the large comments with your code. I cannot replicate your error because I do not have your database. The source code is now included in the article (last page). I hope this will help you in finding the error.</p>
<p>Regards, Jan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: suresh</title>
		<link>http://aspknowledgebase.wordpress.com/15/custom-grid-add-to-your-web-page/#comment-12</link>
		<dc:creator>suresh</dc:creator>
		<pubDate>Thu, 05 Jul 2007 15:18:51 +0000</pubDate>
		<guid isPermaLink="false">http://aspknowledgebase.wordpress.com/9/#comment-12</guid>
		<description>hi,
   sorry, again i get caught with error.  

My solution has web form. this web form uses the WITControlsLibrary.dll(inside bin folder) and i set the reference to this dll.

firstly, In the same solution, i have  WITControlsLibrary Project. after building this project, i take the WITControlsLibrary.dll and put it in bin of the solution.

it is compiled with out any error. But during run time, it gives error.

i got the following exception.  i have given both aspx and error message.   what is the problem? any thing i missed?. if not possible to solve, can you give the code to test the control?

Exception
=========
System.FormatException: String was not recognized as a valid Boolean.

aspx code
=========





    Untitled Page


    
           
       
            
                
            
            
                
                
                
                
                
                
                
                
                
                
                
            
            
                
                
                
                
                
                
                
                
                
                
                
            
                
        
    
    
    
    

    
    



sorry again,

  thank you 

regards,
s.suresh</description>
		<content:encoded><![CDATA[<p>hi,<br />
   sorry, again i get caught with error.  </p>
<p>My solution has web form. this web form uses the WITControlsLibrary.dll(inside bin folder) and i set the reference to this dll.</p>
<p>firstly, In the same solution, i have  WITControlsLibrary Project. after building this project, i take the WITControlsLibrary.dll and put it in bin of the solution.</p>
<p>it is compiled with out any error. But during run time, it gives error.</p>
<p>i got the following exception.  i have given both aspx and error message.   what is the problem? any thing i missed?. if not possible to solve, can you give the code to test the control?</p>
<p>Exception<br />
=========<br />
System.FormatException: String was not recognized as a valid Boolean.</p>
<p>aspx code<br />
=========</p>
<p>    Untitled Page</p>
<p>sorry again,</p>
<p>  thank you </p>
<p>regards,<br />
s.suresh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aspknowledgebase</title>
		<link>http://aspknowledgebase.wordpress.com/15/custom-grid-add-to-your-web-page/#comment-10</link>
		<dc:creator>aspknowledgebase</dc:creator>
		<pubDate>Thu, 05 Jul 2007 07:15:31 +0000</pubDate>
		<guid isPermaLink="false">http://aspknowledgebase.wordpress.com/9/#comment-10</guid>
		<description>Hi Suresh,
I forgot to add the CheckBoxField class. I have added it to the page about &#039;Inner&#039; elements.
This should solves the two errors.

Best Regards, Jan</description>
		<content:encoded><![CDATA[<p>Hi Suresh,<br />
I forgot to add the CheckBoxField class. I have added it to the page about &#8216;Inner&#8217; elements.<br />
This should solves the two errors.</p>
<p>Best Regards, Jan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: suresh</title>
		<link>http://aspknowledgebase.wordpress.com/15/custom-grid-add-to-your-web-page/#comment-9</link>
		<dc:creator>suresh</dc:creator>
		<pubDate>Thu, 05 Jul 2007 03:23:45 +0000</pubDate>
		<guid isPermaLink="false">http://aspknowledgebase.wordpress.com/9/#comment-9</guid>
		<description>hi,
   i got 2 errors in WITGrid.cs and WITGridDesigner.cs

i give you the code where i get the error and the error message.

i tried to solve the error.  but i can&#039;t.  please help me to solve this.



WITGrid.cs
==========
	Code
		CheckBoxField cbf = (CheckBoxField)gf;
		if (cbf.DataField == null) throw (new NullReferenceException(&quot;The data field for &#039;&quot; + cbf.ID + &quot;&#039; is not defined.&quot;));
                                
Errors

1. Cannot convert type &#039;WITControlsLibrary.GridField&#039; to &#039;System.Web.UI.WebControls.CheckBoxField&#039; E:\sureshnotes\samplecustomcontrol\samplecuscontrol\WITConLib\WITControlsLibrary\WITGridDesigner.cs

2. System.Web.UI.WebControls.CheckBoxField&#039; does not contain a definition for &#039;ID&#039; E:\sureshnotes\samplecustomcontrol\samplecuscontrol\WITConLib\WITControlsLibrary\WITGrid.cs


WITGridDesigner.cs
==================
	Code
		s += &quot;[&quot; + ((CheckBoxField)(gf)).DataField + &quot;]&quot;;


Errors
Cannot convert type &#039;WITControlsLibrary.GridField&#039; to  &#039;System.Web.UI.WebControls.CheckBoxField&#039; E:\sureshnotes\samplecustomcontrol\samplecuscontrol\WITConLib\WITControlsLibrary\WITGridDesigner.cs
	
regards,
suresh</description>
		<content:encoded><![CDATA[<p>hi,<br />
   i got 2 errors in WITGrid.cs and WITGridDesigner.cs</p>
<p>i give you the code where i get the error and the error message.</p>
<p>i tried to solve the error.  but i can&#8217;t.  please help me to solve this.</p>
<p>WITGrid.cs<br />
==========<br />
	Code<br />
		CheckBoxField cbf = (CheckBoxField)gf;<br />
		if (cbf.DataField == null) throw (new NullReferenceException(&#8220;The data field for &#8216;&#8221; + cbf.ID + &#8220;&#8216; is not defined.&#8221;));</p>
<p>Errors</p>
<p>1. Cannot convert type &#8216;WITControlsLibrary.GridField&#8217; to &#8216;System.Web.UI.WebControls.CheckBoxField&#8217; E:\sureshnotes\samplecustomcontrol\samplecuscontrol\WITConLib\WITControlsLibrary\WITGridDesigner.cs</p>
<p>2. System.Web.UI.WebControls.CheckBoxField&#8217; does not contain a definition for &#8216;ID&#8217; E:\sureshnotes\samplecustomcontrol\samplecuscontrol\WITConLib\WITControlsLibrary\WITGrid.cs</p>
<p>WITGridDesigner.cs<br />
==================<br />
	Code<br />
		s += &#8220;[" + ((CheckBoxField)(gf)).DataField + "]&#8220;;</p>
<p>Errors<br />
Cannot convert type &#8216;WITControlsLibrary.GridField&#8217; to  &#8216;System.Web.UI.WebControls.CheckBoxField&#8217; E:\sureshnotes\samplecustomcontrol\samplecuscontrol\WITConLib\WITControlsLibrary\WITGridDesigner.cs</p>
<p>regards,<br />
suresh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aspknowledgebase</title>
		<link>http://aspknowledgebase.wordpress.com/15/custom-grid-add-to-your-web-page/#comment-8</link>
		<dc:creator>aspknowledgebase</dc:creator>
		<pubDate>Wed, 04 Jul 2007 09:09:06 +0000</pubDate>
		<guid isPermaLink="false">http://aspknowledgebase.wordpress.com/9/#comment-8</guid>
		<description>@Suresh: you mean a nested control of the same type? I have not tried that. For nested controls you could use a templated custom control. See &lt;a href=&quot;http://msdn2.microsoft.com/en-us/library/aa478964.aspx&quot; rel=&quot;nofollow&quot;&gt;Building Templated Custom ASP.NET Server Controls&lt;/a&gt; for more information.
</description>
		<content:encoded><![CDATA[<p>@Suresh: you mean a nested control of the same type? I have not tried that. For nested controls you could use a templated custom control. See <a href="http://msdn2.microsoft.com/en-us/library/aa478964.aspx" rel="nofollow">Building Templated Custom ASP.NET Server Controls</a> for more information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aspknowledgebase</title>
		<link>http://aspknowledgebase.wordpress.com/15/custom-grid-add-to-your-web-page/#comment-7</link>
		<dc:creator>aspknowledgebase</dc:creator>
		<pubDate>Wed, 04 Jul 2007 09:04:20 +0000</pubDate>
		<guid isPermaLink="false">http://aspknowledgebase.wordpress.com/9/#comment-7</guid>
		<description>@Vasiharan: you do not only programm commands but also talk in commands? :-)
The article is ready so you have want you want</description>
		<content:encoded><![CDATA[<p>@Vasiharan: you do not only programm commands but also talk in commands? <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
The article is ready so you have want you want</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: suresh</title>
		<link>http://aspknowledgebase.wordpress.com/15/custom-grid-add-to-your-web-page/#comment-5</link>
		<dc:creator>suresh</dc:creator>
		<pubDate>Tue, 03 Jul 2007 13:58:41 +0000</pubDate>
		<guid isPermaLink="false">http://aspknowledgebase.wordpress.com/9/#comment-5</guid>
		<description>i need full code of this article.  how can i create the n - level as well as n-child  custom grid view control of my own?  do you have code for this?
   
  if you have, send to my email address</description>
		<content:encoded><![CDATA[<p>i need full code of this article.  how can i create the n &#8211; level as well as n-child  custom grid view control of my own?  do you have code for this?</p>
<p>  if you have, send to my email address</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vasiharan</title>
		<link>http://aspknowledgebase.wordpress.com/15/custom-grid-add-to-your-web-page/#comment-3</link>
		<dc:creator>vasiharan</dc:creator>
		<pubDate>Mon, 02 Jul 2007 12:57:53 +0000</pubDate>
		<guid isPermaLink="false">http://aspknowledgebase.wordpress.com/9/#comment-3</guid>
		<description>I need full code for this article</description>
		<content:encoded><![CDATA[<p>I need full code for this article</p>
]]></content:encoded>
	</item>
</channel>
</rss>
