Hi Arut. Try this http://msdn.microsoft.com/en-us/library/ms473257.aspx[^] i hope this may help you in deployment.
Chirantan Upadhyay Sr.Software Engineer, chirantan_upadhyay@yahoo.com Infovision Solutions Gurgaon, New Delhi
Hi Arut. Try this http://msdn.microsoft.com/en-us/library/ms473257.aspx[^] i hope this may help you in deployment.
Chirantan Upadhyay Sr.Software Engineer, chirantan_upadhyay@yahoo.com Infovision Solutions Gurgaon, New Delhi
Ok do one thing in your .ASCX file (User Control) add the below line on top. go to GAC and Check the Version and Public Key of assembly and replace here, because in your machine they may be different. <%@ Register Assembly="Microsoft.SharePoint, Version=XX.XX.XX.XX[check with GAC], Culture=neutral, PublicKeyToken=[check with GAC]" Namespace="Microsoft.SharePoint.WebControls" TagPrefix="cc1" %> <%@ Register TagPrefix="SharePointWebControls" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=XX.XX.XX.XX[check with GAC], Culture=neutral, PublicKeyToken==[check with GAC]" %>
Chirantan Upadhyay Sr.Software Engineer, chirantan_upadhyay@yahoo.com Infovision Solutions Gurgaon, New Delhi
your question is not very much clear. If a webpart is working fine then what is relation between webpart and user control. any way go to tools->create GUID and generate new GUID. copy this one and remove {} from guid and place it above the class in webpart. This will have 32 characters separated with 4 - if it doesn't work explain the issue in details, so i could try.
Chirantan Upadhyay Sr.Software Engineer, chirantan_upadhyay@yahoo.com Infovision Solutions Gurgaon, New Delhi
modified on Wednesday, August 18, 2010 5:00 PM
Hi Keyur, This can be fixed using session object. Please review my article this will sort out the problem in minutes. http://www.codeproject.com/Tips/101834/How-to-Maintain-FileUpload-Control-s-State-after-P.aspx Thanks, Chirantan
Chirantan Upadhyay Sr.Software Engineer, chirantan_upadhyay@yahoo.com Infovision Solutions Gurgaon, New Delhi
modified on Monday, August 16, 2010 4:51 AM