﻿<?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 R2 rowContextMenu</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-7-R2-rowContextMenu/</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 R2 rowContextMenu</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-7-R2-rowContextMenu/</link><pubDate>Mon, 21 Dec 2009 01:54:24 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Hi Nicolas,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Actually, I am not sure what may cause the error when you use another component such as PowerWeb FileUpload (AJAX component). Perhaps you can give me a simple sample code that can represent your issue using AJAX, because our product should be working fine with other AJAX tools and what is the version of your WebGrid if I may know ?. &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;In fact, we have our built in component that works just like AJAX component, it is called "WebFlyPostBackManager". You can see our sample to have a further information and functionality of it. I hope it helps and please do not hesitate to ask if you have any other questions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Thank you,&lt;br /&gt;Andi Santoso.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Webgrid 7 R2 rowContextMenu</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-7-R2-rowContextMenu/</link><pubDate>Thu, 17 Dec 2009 03:55:25 GMT</pubDate><dc:creator>supporti-track.pmi@pmintl.com</dc:creator><description>&lt;p&gt;Hello Andi,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Yes it worked well.&lt;/p&gt;
&lt;p&gt;We found what causes the error.&lt;/p&gt;
&lt;p&gt;The error occurs only on the pages where we use another component (PowerWeb FileUpload), which is an AJAX component.&lt;/p&gt;
&lt;p&gt;Do you know any problems when we use intersoft components with other AJAX components?&lt;/p&gt;
&lt;p&gt;Nicolas&lt;/p&gt;</description></item><item><title>Webgrid 7 R2 rowContextMenu</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-7-R2-rowContextMenu/</link><pubDate>Tue, 15 Dec 2009 04:54:04 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Hi Nicolas,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Actually, I do not see something wrong with your java-script code. So here, I attached you my aspx file using a northwind database, try and see if it runs fine on yours, if so, then you can modify mine.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I hope it helps and please do not hesitate if you have any other questions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Thank you,&lt;br /&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Webgrid 7 R2 rowContextMenu</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-7-R2-rowContextMenu/</link><pubDate>Tue, 15 Dec 2009 02:55:30 GMT</pubDate><dc:creator>supporti-track.pmi@pmintl.com</dc:creator><description>&lt;p&gt;Hello Andi,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I thank you for your quick answer.&lt;/p&gt;
&lt;p&gt;Yes I tried everything you wrote.&lt;/p&gt;
&lt;p&gt;The error is "Unknown Runtime error". I have a AJAX tabcontainer in my user control but I tried to remove it and the behaviour is the same.&lt;/p&gt;
&lt;p&gt;I open my user control as a window.open. When I do this, nothing happens when I right-click on the webgrid. When I open it normally (Navigate...) the error "Unknown runtime error" occures.&lt;/p&gt;
&lt;p&gt;Nicolas&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Webgrid 7 R2 rowContextMenu</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-7-R2-rowContextMenu/</link><pubDate>Mon, 14 Dec 2009 23:16:48 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Hi Nicolas,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; It seems that I cannot replicate your issue. I have tried your sample code and it works well, all the function are called. The error that you have &lt;/span&gt;&lt;span style="font-size: 9pt"&gt;got, did it say "Unknown Runtime Error" ? or something else ? Have you tried to reset the VS ? or empty your "Temporary ASP.Net Files" &amp;lt;C:\Windows&lt;/span&gt;&lt;span style="font-size: 9pt"&gt;\Microsoft.NET\Framework\&amp;lt;&amp;lt;your version&amp;gt;&amp;gt;\Temporary ASP.NET Files&amp;gt; and do the "iisreset" from cmd prompt.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I hope it helps and please do not hesitate to ask if you have any other questions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Thank you,&lt;br /&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Webgrid 7 R2 rowContextMenu</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-7-R2-rowContextMenu/</link><pubDate>Mon, 14 Dec 2009 09:54:10 GMT</pubDate><dc:creator>supporti-track.pmi@pmintl.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I get a JavaScript Error "Unknown Runtime Error" at the end of my OnRowContectMenu function.&lt;/p&gt;
&lt;p&gt;Here is the ascx code I'm using :&lt;/p&gt;&lt;pre&gt;&amp;lt;ISWebGrid:WebGrid ID="wgPostItList" runat="server" DataSourceID="idsPostItList"
              UseDefaultStyle="True" DefaultStyleMode="Elegant" Width="100%"&amp;gt;
              &amp;lt;RootTable DataKeyField="PostItId" &amp;gt;
                  &amp;lt;SortedColumns&amp;gt;
                        &amp;lt;ISWebGrid:WebGridGroup ColumnMember="RecordDate" SortOrder="Ascending" /&amp;gt;
                  &amp;lt;/SortedColumns&amp;gt;
                  &amp;lt;Columns&amp;gt;
                      &amp;lt;ISWebGrid:WebGridColumn Caption="&amp;lt;%$ Resources:Resources, grdDate %&amp;gt;"
                            DataMember="RecordDate" Name="RecordDate"&amp;gt;
                      &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                      &amp;lt;ISWebGrid:WebGridColumn Caption="&amp;lt;%$ Resources:Resources, grdUser %&amp;gt;"
                            DataMember="UserName" Name="UserName"&amp;gt;
                      &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                      &amp;lt;ISWebGrid:WebGridColumn Caption="&amp;lt;%$ Resources:Resources, grdFileName %&amp;gt;"
                            DataMember="Name" Name="Name"&amp;gt;
                      &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                      &amp;lt;ISWebGrid:WebGridColumn Caption="&amp;lt;%$ Resources:Resources, grdType %&amp;gt;"
                            DataMember="MimeType" Name="MimeType"&amp;gt;
                      &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                  &amp;lt;/Columns&amp;gt;
              &amp;lt;/RootTable&amp;gt;
              &amp;lt;LayoutSettings AllowDelete="Yes" PagingMode="ClassicPaging" PagingLoadMode="Custom" AllowSorting="Yes" 
                       PromptBeforeDelete="true" HeaderClickAction="SortMulti" AllowColumnSizing="No" AllowMultipleSelection="Yes" &amp;gt;
                    &amp;lt;ClientSideEvents OnCellDblClick="OnCellDblClick" OnRowContextMenu="OnRowContextMenu" /&amp;gt;
              &amp;lt;/LayoutSettings&amp;gt;
          &amp;lt;/ISWebGrid:WebGrid&amp;gt;
          
          &amp;lt;isdatasource:isdatasource id="idsPostItList" runat="server"&amp;gt;
            &amp;lt;tables&amp;gt;
                &amp;lt;ISDataSource:ISDataSourceTable
                    SelectMethod="GetData" 
                    SelectCountMethod="GetCount" 
                    TableName="PostIts" 
                    TypeName="PostItByObjectDataProvider" 
                    EnablePaging="true"&amp;gt;
                &amp;lt;/ISDataSource:ISDataSourceTable&amp;gt;
            &amp;lt;/tables&amp;gt;
        &amp;lt;/isdatasource:isdatasource&amp;gt;&lt;/pre&gt;
&lt;p&gt;and the client-code :&lt;/p&gt;&lt;pre&gt;function ShowSelectedRowDetails(controlId) {

var grid = ISGetObject(controlId);

var row = grid.GetSelectedObject().GetRowElement();


grid.AddInput("PostItId", row.keyValue);


grid.SendCustomRequest();

return true; 

}

function OnRowContextMenu(controlId, rowType, rowElement, menuObject) {

var miDetailPostIt = new WebMenuItem();

miDetailPostIt.Text = "&amp;lt;asp:Literal runat="server" Text="&amp;lt;%$ Resources:Resources, lnkViewDetails%&amp;gt;" /&amp;gt;";

miDetailPostIt.Name = "ViewDetails";

miDetailPostIt.OnClick = "ViewDetailsClick";

miDetailPostIt.CustomElement = controlId;

miDetailPostIt.ImageURL = gridDetailIcon;

menuObject.Items.Add(miDetailPostIt); 

alert ('test7'); 

}

function ViewDetailsClick(menuItem) {

return ShowSelectedRowDetails(menuItem.CustomElement);

}

&lt;/pre&gt;

&lt;p&gt;I can see my alert (test7) but just after that, the call of "ViewDetailsClick" seems to return this error...&lt;/p&gt;
&lt;p&gt;The same code is used and works correcty in all our pages.&lt;/p&gt;
&lt;p&gt;I did check my PostItId field exists in my datasource and its value correcty set.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Nicolas&lt;/p&gt;</description></item></channel></rss>