<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2248826462512493415</id><updated>2011-07-07T19:38:44.564-07:00</updated><category term='sharepoint 2010'/><category term='VS 2010 RC'/><category term='sharepoint 2010 videos'/><category term='assign task to mulitple users'/><category term='sharepoint workflow'/><category term='iterate thru hashtable; update workflow task'/><category term='State machine workflow'/><title type='text'>DasPoint.NET</title><subtitle type='html'>My experiences on MOSS 2007, Workflows and ASP.NET...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://daspoint.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248826462512493415/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://daspoint.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Prasad</name><uri>http://www.blogger.com/profile/13992401363395287218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2248826462512493415.post-1300519521414195159</id><published>2010-02-11T07:59:00.000-08:00</published><updated>2010-02-13T00:16:34.418-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2010 videos'/><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2010'/><title type='text'>Sharepoint 2010 is on the way...</title><content type='html'>&lt;p&gt;Those folks who wanted to get a fair idea  about SharePoint 2010 should go thru here :&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://sharepoint2010.microsoft.com/Pages/default.aspx"&gt;http://sharepoint2010.microsoft.com/Pages/default.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;and the videos are posted here: &lt;a href="http://sharepoint2010.microsoft.com/Pages/videos.aspx"&gt;http://sharepoint2010.microsoft.com/Pages/videos.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Happy SharePointing!!!&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2248826462512493415-1300519521414195159?l=daspoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://daspoint.blogspot.com/feeds/1300519521414195159/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2248826462512493415&amp;postID=1300519521414195159' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2248826462512493415/posts/default/1300519521414195159'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248826462512493415/posts/default/1300519521414195159'/><link rel='alternate' type='text/html' href='http://daspoint.blogspot.com/2010/02/sharepoint-2010-is-on-way.html' title='Sharepoint 2010 is on the way...'/><author><name>Prasad</name><uri>http://www.blogger.com/profile/13992401363395287218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2248826462512493415.post-3439109050512804140</id><published>2010-02-11T07:46:00.000-08:00</published><updated>2010-02-11T07:47:57.114-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iterate thru hashtable; update workflow task'/><title type='text'>how to iterate through a hashtable:</title><content type='html'>how to iterate through a hashtable&lt;br /&gt;if you have a hashtable and if you want to extract key/value pair;iterating through a hashtable://declare and define Hashtable htItem = new HashTable();&lt;br /&gt;//now loop thru the key /value pair&lt;br /&gt;foreach (DictionaryEntry de in htItem){splstitem[de.Key.ToString()] = de.Value.ToString();}*********************************suppose if you have acworkflow attached in your custom splist and if you wanna update the workflow task belwo is the LOC:we need to use the SPWorkflowTask.AlterTask. the most imp.part here is ht: a hashtable.&lt;br /&gt;public string UpdateWorkflowTasks(Hashtable ht, int TaskID){string strRequestorsID = string.Empty;using (SPSite site = new SPSite(strUrl)){using (SPWeb web = site.OpenWeb()){web.AllowUnsafeUpdates = true;try{SPListItem taskItem = null;SPList listTasks = web.Lists["Tasks"];taskItem = listTasks.Items.GetItemById(TaskID);SPWorkflowTask.AlterTask(taskItem, ht, false);strRequestorsID = Convert.ToString(taskItem["strRequestorsID "]);}catch (Exception ex){&lt;br /&gt;}web.AllowUnsafeUpdates = false;}}return strRequestorsID;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2248826462512493415-3439109050512804140?l=daspoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://daspoint.blogspot.com/feeds/3439109050512804140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2248826462512493415&amp;postID=3439109050512804140' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2248826462512493415/posts/default/3439109050512804140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248826462512493415/posts/default/3439109050512804140'/><link rel='alternate' type='text/html' href='http://daspoint.blogspot.com/2010/02/how-to-iterate-through-hashtable.html' title='how to iterate through a hashtable:'/><author><name>Prasad</name><uri>http://www.blogger.com/profile/13992401363395287218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2248826462512493415.post-5057806316879434271</id><published>2010-02-09T05:40:00.000-08:00</published><updated>2010-02-09T05:44:24.326-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VS 2010 RC'/><title type='text'>VS 2010 RC</title><content type='html'>&lt;p&gt;Great news to all VS 2010 lovers!!!&lt;/p&gt;&lt;p&gt;Finally the VS 2010 has been released as an RC and its available as download: &lt;/p&gt;&lt;p&gt;Thanks to Soma (&lt;a href="http://blogs.msdn.com/somasegar/archive/2010/02/08/visual-studio-2010-and-net-framework-4-release-candidate-now-available.aspx"&gt;http://blogs.msdn.com/somasegar/archive/2010/02/08/visual-studio-2010-and-net-framework-4-release-candidate-now-available.aspx&lt;/a&gt; ) by announcing the same in his blog.&lt;/p&gt;&lt;p&gt;MSDN subscribers can downlaod the RC in the below link: &lt;/p&gt;&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx"&gt;http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;thanks&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2248826462512493415-5057806316879434271?l=daspoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://daspoint.blogspot.com/feeds/5057806316879434271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2248826462512493415&amp;postID=5057806316879434271' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2248826462512493415/posts/default/5057806316879434271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248826462512493415/posts/default/5057806316879434271'/><link rel='alternate' type='text/html' href='http://daspoint.blogspot.com/2010/02/great-news-to-all-vs-2010-lovers.html' title='VS 2010 RC'/><author><name>Prasad</name><uri>http://www.blogger.com/profile/13992401363395287218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2248826462512493415.post-5737562108599437676</id><published>2009-12-29T23:44:00.000-08:00</published><updated>2009-12-29T23:59:19.102-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='State machine workflow'/><category scheme='http://www.blogger.com/atom/ns#' term='assign task to mulitple users'/><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint workflow'/><title type='text'>assign a  task to multiple  users in SharePoint 2007 workflow</title><content type='html'>In one of my recent projects we have to assign a task to group of users in sharepoint custom statemachine workflow.After some googling I found that ReplicatorContactSelector can not be  applciable to StateMachine WF. So If you are having a  requirement like SendBack to previous Approver/Initiator ReplicatorContactSelector will not work.At last interacting with  our  MSFT consultant Avneesh Kaushik ( &lt;a href="http://www.avneeshnagina.com/"&gt;http://www.avneeshnagina.com/&lt;/a&gt; ) internal MOSS experts, we have came to a conclusion that  the solution is dynamicallly create a SPGroup of users who are supposed to approve/reject the task and assign the task to this dynamic group.&lt;br /&gt;the steps are given below on how to execute this:&lt;br /&gt;1  Create  a splist column -say --&gt;-"GroupToAssign"&lt;br /&gt;2  Store the dynamic group  name created in this list column.&lt;br /&gt;3  Once the WF completes, just  delete the  group, by calling&lt;br /&gt;string groupName = objSPListItem["GroupToAssign"].ToString();&lt;br /&gt; oSPWeb.ParentWeb.SiteGroups.Remove(groupName);&lt;br /&gt;This way we can  assign a  task to mulitple users/groups&lt;br /&gt;Also remember to  assign the Contribute permission  to the members of this group :&lt;br /&gt;&lt;br /&gt;This  discussion can be found in the below thread:&lt;br /&gt;&lt;a href="http://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/eaa3a47d-e274-47ae-9f81-f51ec5c91756"&gt;http://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/eaa3a47d-e274-47ae-9f81-f51ec5c91756&lt;/a&gt;&lt;br /&gt;Hope anybody who is going to implement the same may find it  helpful.&lt;br /&gt;&lt;br /&gt;Happy programming!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2248826462512493415-5737562108599437676?l=daspoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://daspoint.blogspot.com/feeds/5737562108599437676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2248826462512493415&amp;postID=5737562108599437676' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2248826462512493415/posts/default/5737562108599437676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248826462512493415/posts/default/5737562108599437676'/><link rel='alternate' type='text/html' href='http://daspoint.blogspot.com/2009/12/assign-task-to-multiple-users-in.html' title='assign a  task to multiple  users in SharePoint 2007 workflow'/><author><name>Prasad</name><uri>http://www.blogger.com/profile/13992401363395287218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2248826462512493415.post-4413754673064633183</id><published>2008-10-27T03:24:00.000-07:00</published><updated>2008-10-27T03:41:37.172-07:00</updated><title type='text'></title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;For one of my clients  I have to pass /transmit data from one  aspx page to another.Though I  can use  I was  Session ,  hidden fields,Request.QueryString()  for this, i  was curious to know whether I can leverage ASP.NET 2.0 features to achieve this.After little  bit of googling I have found that with the use of postbackurl property of a submit button  and adding a&lt;br /&gt;&lt;%@ PreviousPageType VirtualPath="~/My Web Site/source.aspx" %&gt; directive we can manipulate the information  in the target page.in the code behibnd page we have to write  the follow.  using the Page.PreviousPage property: here i have used  the master page concept and  based on the ContentPlaceHolder id of the master page , I am finding  the controls  listed in the source page&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;if (PreviousPage != null &amp;amp;&amp;amp; PreviousPage.IsCrossPagePostBack &amp;amp;&amp;amp; PreviousPage.IsValid)&lt;br /&gt;{&lt;br /&gt;if ((PreviousPage.Master != null))&lt;br /&gt;{&lt;br /&gt;labelError.Visible = false;&lt;br /&gt;ContentPlaceHolder cph1 = (ContentPlaceHolder)Page.PreviousPage.Master.FindControl("cph");&lt;br /&gt;if (cph1 != null)&lt;br /&gt;{&lt;br /&gt;ListBox lstCountry = (ListBox)cph1.FindControl("lstCountry");                                        //lstCountry is a control the source.aspx page.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;now you can access the  selecteditems/  its value  or or its  index as  we do in the normal way.&lt;br /&gt;if (lstCountry.SelectedItem.Text == "--All--" &amp;amp;&amp;amp; tlstCountry.Items.Count &gt;0)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;{&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;//do some process here.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;}&lt;br /&gt;in the source.aspx  page file if there exists a  submit  button / hyperlink button  &lt;br /&gt;&lt;asp:button id="btnSearch" runat="server" cssclass="goAnchorUpdated" text="Search" onclick="btnSearch_Click" postbackurl="~/My Web Site/target.aspx"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;thats all..&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;the concept is known as CrossPage Postback , a new feature introduce din ASP.NET 2.0.!!!!&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;Happy ASP.Neting...&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2248826462512493415-4413754673064633183?l=daspoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://daspoint.blogspot.com/feeds/4413754673064633183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2248826462512493415&amp;postID=4413754673064633183' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2248826462512493415/posts/default/4413754673064633183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248826462512493415/posts/default/4413754673064633183'/><link rel='alternate' type='text/html' href='http://daspoint.blogspot.com/2008/10/for-one-of-my-clients-i-have-to-pass.html' title=''/><author><name>Prasad</name><uri>http://www.blogger.com/profile/13992401363395287218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2248826462512493415.post-1488470257401879091</id><published>2008-10-19T01:47:00.000-07:00</published><updated>2008-10-19T01:55:26.505-07:00</updated><title type='text'>Silverlight 2  released</title><content type='html'>&lt;span style="font-family:arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;The  .NET centric rich web experience software  known as &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;"&gt; Silverlight 2 has been  released.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;Get more info. from Soma's blog:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.msdn.com/somasegar/archive/2008/10/13/silverlight-2-released.aspx"&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;http://blogs.msdn.com/somasegar/archive/2008/10/13/silverlight-2-released.aspx&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;You can download Silverlight 2,  at &lt;/span&gt;&lt;a href="http://www.microsoft.com/silverlight" target="_blank" closure_hashcode_="387"&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;http://www.microsoft.com/silverlight&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;font-size:85%;"&gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;Anugurihiitosumi,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;prasad. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;&lt;/span&gt; &lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;&lt;/span&gt; &lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;&lt;/span&gt; &lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;&lt;/span&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2248826462512493415-1488470257401879091?l=daspoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://daspoint.blogspot.com/feeds/1488470257401879091/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2248826462512493415&amp;postID=1488470257401879091' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2248826462512493415/posts/default/1488470257401879091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248826462512493415/posts/default/1488470257401879091'/><link rel='alternate' type='text/html' href='http://daspoint.blogspot.com/2008/10/silverlight-2-released.html' title='Silverlight 2  released'/><author><name>Prasad</name><uri>http://www.blogger.com/profile/13992401363395287218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
