﻿<?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 - ClientUI - webgrid two buttons</title><link>http://www.intersoftsolutions.com/Community/ClientUI/webgrid-two-buttons/</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 two buttons</title><link>http://www.intersoftsolutions.com/Community/ClientUI/webgrid-two-buttons/</link><pubDate>Tue, 23 Jul 2013 23:46:59 GMT</pubDate><dc:creator>Hans</dc:creator><category>webgrid cell buttons</category><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Thank you for your reply.&lt;br /&gt;&lt;br /&gt;Here’s I attached a simple WebGrid sample that perhaps similar with your current scenario.&lt;br /&gt;This sample binds to access data source (Northwind.mdb and Shippers table) and then I add two column that have ColumnType=”Button”.&lt;br /&gt;&lt;br /&gt;I also add an example validation code in OnButtonClick server side event. Here’s the code:&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;protected void WebGrid1_ButtonClick(object sender, ISNet.WebUI.WebGrid.ButtonEventArgs e){
    if(e.Column.Name == "colEdit")
        System.Windows.Forms.MessageBox.Show("Edit");
    else if(e.Column.Name == "colDelete")
        System.Windows.Forms.MessageBox.Show("Delete");
    else
        System.Windows.Forms.MessageBox.Show("Other");
}&lt;/pre&gt;
&lt;p&gt;Please kindly have review on the sample to see the result.&lt;br /&gt;&lt;br /&gt;Thank you.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Hans.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>webgrid two buttons</title><link>http://www.intersoftsolutions.com/Community/ClientUI/webgrid-two-buttons/</link><pubDate>Tue, 23 Jul 2013 09:14:48 GMT</pubDate><dc:creator>gkfahnbulleh@lakepiso.com</dc:creator><category>webgrid cell buttons</category><description>Hans there are two buttons in the same row. One to edit the row and another to edit the image in the row.&amp;nbsp; &lt;br /&gt;</description></item><item><title>webgrid two buttons</title><link>http://www.intersoftsolutions.com/Community/ClientUI/webgrid-two-buttons/</link><pubDate>Sun, 21 Jul 2013 23:45:48 GMT</pubDate><dc:creator>Hans</dc:creator><category>webgrid cell buttons</category><description>Hello,&lt;br /&gt;&lt;br /&gt;Thank you for your question regarding WebGrid.&lt;br /&gt;&lt;br /&gt;If you don’t mind, could you help me to provide me more detail about you current scenario?&lt;br /&gt;Perhaps the step by step guidance how-to implements your current scenario on my end or the simple runnable sample that I can use to investigate.&lt;br /&gt;So I can help you to find the right work around for your current requirement.&lt;br /&gt;&lt;br /&gt;Thank you very much.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Hans.&lt;br /&gt;&lt;br /&gt;</description></item><item><title>webgrid two buttons</title><link>http://www.intersoftsolutions.com/Community/ClientUI/webgrid-two-buttons/</link><pubDate>Fri, 19 Jul 2013 09:58:28 GMT</pubDate><dc:creator>gkfahnbulleh@lakepiso.com</dc:creator><category>webgrid cell buttons</category><description>&lt;p&gt;I have a grid with 2 buttons in it, which fire on the server side.  How do I determine WHICH button was clicked?&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>