OnRowUpdating Event not firing in my DataGrid in custom web part in my production SharePoint 2013 Foundation instance
Hi,
I have a custom visual web part that I've developed for SharePoint 2013 Foundation. I am using Visual Studio 2013 to develop this web part.
In my visual web part I have GridView that I use to update data in a SQL 2008 R@ Server Database. In dev and test the OnRowUpdatingEvent fires properly, but in production it does not. I have the same version of SharePoint running on dev/test/prod.
The main difference between the three environments is the hardware. Production has a much beefier sever than dev and test. Dev and test are also virtual machines where production is.
At first I thought my problem was cache related, and I made adjustments per this article:
http://www.dmcinfo.com/latest-thinking/blog/id/8657/fix-sharepoint-2013-distributed-cache-timeouts
That didn't help because the event is still not firing. I took my test application and pointed it to the production database, and that event still fires in test but not in production. So I believe that eliminates database permission errors since I'm
using the same credentials in both instances.
My guess is that I need to change some settings in the production environment, but I'm not sure at this point what that might be.
Any suggestions on what settings to look at?
Brian
Brian Hochgurtel
My blog
Try this solution :
http://stackoverflow.com/questions/5893373/c-sharp-rowupdating-method-not-called-when-update-is-clicked-in-a-gridview
Similar Messages
-
Manager hierarchy is not showing the Organization web part in my site sharepoint 2013
Hi,
In My Site SP2013,we added a organization web part,manager is available for users but we are unable to see the manager name in the silver light view in organization web part,we are able to see it in html view.
can any one please let me know the problem.
Regards,
phaniHi Phani,
check those links
https://blog.karstein-consulting.com/2011/06/16/problem-and-workaround-organization-browser-silverlight-web-part-is-empty-on-other-site-than-mysite/
http://social.technet.microsoft.com/wiki/contents/articles/23593.sharepoint-2013-organization-browser-web-part-does-not-render-in-html-view-for-windows-claims-users.aspx
http://support.microsoft.com/kb/2643420
Kind Regards,
John Naguib
Technical Consultant/Architect
MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
Please remember to mark your question as answered if this solves your problem -
WHEN-CUSTOM-ITEM-EVENT - not firing. Please Help
Hi Grant,
WHEN-CUSTOM-ITEM-EVENT - not firing. Please Help..
I need a help from you.
1) I have developed an form to browse the client machine and upload the file on server / table
2) Registered the form in Oracle Apps 11.5.10.
3) Currently i am able to open the File_Dialog and browse throught the clients machine
But when ever user selects any file and says Open, i am not able to retrieve the file name. wHEN-CUSTOM-ITEM-EVENT is not
firing. I am sure how we can invoke this CUSTOM-ITEM-EVENT.
To devlop the form i have referred PERWSIMG.fmb - of Oracle (Apps) HRMS which uploads the employee photo in the Database.
Hence i have used the same java code / Implementaion Class.
Please help...
Regards
SameerHi Francois,
You were right. I re-loaded the zip file and the original version works. Odd, as I don't remember ever modifying those files.
But my original issue still remains.
The only code I've added is this:
Color mycolor = this.getBackground() ;
setBackground(mycolor);to the CalendarFrame constructor. How could this be causing the trigger to not fire?
Could it be the way I created the bean? I copied all the java files to my project, attached the libraries, created a deployment profile. Everything compiles without errors or warnings, and the jar is created without issues. The java console doesn't give any errors either.
Thanks for all your help,
A
Edited by: Abigail Parmar on Mar 26, 2009 1:01 PM -
Hi,
SharePoint 2013 RSS
Viewer web part failing to complete loading when the page loads.
This happens when having RSS Viewer and then adding a Custom webpart with an updatepanel and timer control.
I had used Ajax update panel and timer control to load the web part asynchronously after the main page is fully loaded.
The RSS-Viewer web part hangs in loading state while the custom webpart loads just fine.
The issue occurs when an like button click or Timer Tick event fires after the page
is loaded.
Haven't been able to track the issue.
Couple of workaround I tried to call a server side button click event from the custom web part after the page gets fully loaded using JQuery shown below did not work out either.
$(document).ready(function () {
$('#<%= netButton2.ClientID %>').click();
And
document.onreadystatechange = function () {
if (document.readyState == "complete") {
$('#<%= netButton2.ClientID %>').click();
Please let me know how to resolve this issue.
Thanks,
FranklinHi Johan,
The assignment of this user on the given task might be corrupted. Try to remove the resource from the task, publish the project, assign the resource again and publish again the project. If it is not working, try to unpublish the task (column "publish")
and publih it again.
Hope this helps,
Guillaume Rouyre, MBA, MVP, P-Seller | -
Implementing Exception Handling Application Block in custom web parts, event receivers
hi,
I am currently implementing try {} catch(Exception expp) { throw expp;} to handle exceptions in my intranet appln.
I have several custom web parts, event receivers, few console applciations as timer jobs etc. If i want to implement a robust exception handling what should be the approach. by searching, i saw, ms patterns n practices provides the
appln blocks.
But I think[ pls correct me if i am wrong ] those appln blocks are meant for asp.net applns ONLY.
if not, anyone has implemented those appln blocks in SP development? if yes, can anyone provide one sample / link to implement Exception Handling in SP.
help is appreciated!Hi,
Here are some articles for your reference:
Handling Error Centrally in a SharePoint Application
http://www.codeproject.com/Articles/26236/Handling-Error-Centrally-in-a-SharePoint-Applicati
Using Microsoft Enterprise Library Application Block in SharePoint
http://www.codeproject.com/Articles/21389/Using-Microsoft-Enterprise-Library-Application-Blo
Exception Handling in SharePoint
http://spmatt.wordpress.com/2012/02/01/exception-handling-in-sharepoint/
Best Regards
Dennis Guo
TechNet Community Support -
If I create a template on SharePoint 2013 Foundation, then create a site on SharePoint Enterprise (or Office/365) fully configured to support SharePoint 2013 workflows. When I access the site through SharePoint Designer 2013, and attempt to create a workflow
SharePoint 2013 Workflows are not available -- you get message that SharePoint 2013 Workflow platform is not available because it is not configured on the server. This appears to be a bug in SharePoint Designer as the 2013 Workflows are available on the team
site on the same site collection. There is no reason that a site created from a SharePoint 2013 foundation template should have this restriction. To make matters worse if you then save that site as a template on the SharePoint 2013 Enterprise (or
Office/365) system and create a new site from the that template you get the same issue.
Anyone know a workaround/fix to this issue. Have imported the template into Visual Studio but I can not find any way in Visual Studio to enable SharePoint 2013 workflows. A solution that involves Visual Studio import would work fine
for me.
EarllibbyApparently you did not read my question very carefully. The workflow manager is configured properly on this server and for the basic Team site in this site collection the full SharePoint 2013 workflows are available in SharePoint Designer 2013.
BUT they are not available on another site in the SAME SITE COLLECTION that was created from a solution template that was created on a SharePoint Foundation server.
Earllibby -
2013 Custom Web Parts in Page Layouts not showing for users
Custom Web Parts in Page Layouts not showing for users
I have created a master page in the root site collection for a subsite I am developing. I created content types and custom page layouts for the pages within the subsite.
I used the snippet tool in the design manager to create web parts and page field markup which I copied into the custom layout HTML pages in the root site collection. For instance I have an image viewer web part that I place there to serve as a section title.
The problem is that I can see all these customer layout page parts no problem but my users cannot. This leads me to believe its permissions, I am site owner of both the subsite and root site collection.
The users that cannot see the web parts are site members of the site and restricted read users on the root site collection (where the layouts are stored).
What gives I'm finding it hard to understand why a snipet generated web part wouldn't show in all pages created from that layout page.
Any help would be appreciated, Havent found anything on this issue online. weird.It is a permission issue indeed. Fix is simple, make sure you check out the page layout page, then check it back in as published version.
John Architect -
Not able to Enable the Custom Ribbon button On Pages in Sharepoint 2013
Hi Team,
Not able to Enable the Custom Ribbon button On Pages in SharePoint 2013. we have used the button edit properties section of the Pages.
Same is working for Lists but not for Pages.
Thanks,
ShrikantThanks for your reply.
Right now my server is not working to get the code. will share you in some time.
I am just thinking if page get checked out and my control is also present in the Edit properties section then do I need to specify something explicitly to enable the button. The same is working for Lists. -
Do not like the look of Sharepoint 2013 Foundations
Recently, I migrated our Sharepoint 2007 site to Sharepoint 2013 Foundations. We do not like the look at all. The 2007 site looked much better. How would I go about making the 2013 site look like the 2007 site? I found some documents online that show you
can easily do this with Sharepoint 2010 by changing the UIversion # from 4 to 3. Is this possible for Sharepoint 2013? Thanks!No, SharePoint 2013 does not support the 2007 UI. You'll have to do heavy custom development to get this working. To be honest, the time invested and the ongoing maintenance of such customizations is likely not worth it.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
CS Extension, Script UI and events not firing in Photoshop CS5
Hi!
I'm a bit confused with two technologies dealing with SWF panels. There was a technique in the previous versions of Photoshop when SWF content has been loaded into a ScriptUI Window. Is it changed? Or does it still work together with CS Extension extensions?
I have a script that creates ScriptUI Window and then loads an SWF into it. It has a custom 'mousemove' event listener that helped to move this window around the screen. Now - in the new Photoshop CS5 (I tried 12.0.1 as well) - it seems like the 'mousemove' event is not fired for ScriptUI windows containing SWFs.
I'm not sure, maybe it has something to do with the new SWF treament in CS5?
If I'm wrong, then I'm sorry, if this question doesn't fall into this forum's area of expertise.
Thank you!10x,
You saved my ***!
It actually has to include both the PHSP "AND" the PHXS host names for it to work - this is stupid!
If I only use PHXS the extension manager is not able to install the extension, saying it cannot find a host that matches the manifest (even though my photoshop IS the extended variation, so in a sense it's more acurate manifest-wise), and if I only use the PHSP, it IS loaded but doesn't appear in the application!
AND THERE IS NO DOCUMENTATION ON THIS PHENOMENON ANYWHERE!
THIS IS BEYOND IRRESPONSIBLE!
Thank you very much david, but please, as you are an adobe employee, get this message to the right people, if you can.
I know the corporate agenda would probabely be the incentivise people to register to the 1500$ program to get the extension-builder, by keeping the alternative inconvenient, but this issue is beyond inconvenient, it's border-line cruelty! -
Double Click Event not fired for IE 11 with compatibility mode for HTML elemnt table
Hi,
I am facing an issue with Double click event(not getting fired on double click of mouse) for IE 11 with compatibility mode on HTML element "table" for Windows 7 64 bit machine.It runs fine on IE 10 with compatible mode with Windws 7 64 bit
machine -- double click event.
Can you please help to resolve the issue?
Thanks and Regards,
YogeshHi,
f12>Debug tab, click the 'start' button.....(select break on all exceptions from the dropdown on the Debug tab)
click your table and correct any errors that are listed in the Console of the developer tool.... probably you are using attachEvent I/o addEventListener. You should be using addEventListener for IE9 and higher and other web browsers.(it the w3c standard
(recommendation).
Post questions about html, css and scripting for website developers to the MSDN IE Web Development forum. Include with your question a link to your website or a mashup that shows the issue.
Rob^_^ -
JSC on Tomcat 5.5.20 - Session/Applicaton Bean events not firing
Hi,
I am running a JSC app on Tomcat 5.5.20.
Session and application bean events init and destroy are not firing.
they work fine on my development machine using the Sun App server..
Anyone have any ideas?
Thanks
ColinHi,
This is actually a Tomcat bug that was introduced from versions 5.5.20 and higher.
If you create your application in a path that contains spaces you will encounter this problem.
The workaround is to create your application at a path with no spaces.
Here's the bug on Tomcat's website:
http://www.mail-archive.com/[email protected]/msg37222.html
It should be fixed in Tomcat 5.5.24
You won't even need to create a listener or add any jar files.
Hope this helps
Yousuf -
Shopping Cart Workflow - "Wait for change event" not firing?
Hi there,
I have a scenario where if I create a shopping cart above my spending limit it will go into the approver's inbox, that is fine.
Now if I change the total value of the shopping cart to be within my spending limit the original workflow should be "logically deleted" and a "no step approval workflow" should be triggered.
I see when the SC workflow triggers it also branches with a "wait for events", so that if it changes etc it will get caught here.
When I change the SC it does not do anything, the value of the cart changes but it still sits in the approvers inbox and the "no step approval workflow" does not trigger.
We are busy upgrading to SRM 5.0, it worked perfectly in the SRM 3.0 system we had.
Any ideas what would cause the "change event" not to fire?
Thanks for the help
LyntonHey Masa,
You are the man!! That solved it.....I have implemented the BBP_WFL_SECUR_BADI and for whatever reason I set the security level to 4 when it should have been 2.
4 "High" (workflow is never restarted when changes are made)
3 "Medium" (WF restarted conditionally when changes are made)
2 "Low" (workflow is always restarted when changes are made)
1 "None" (changes to the object are not allowed)
0 "Not defined"
Thanks for the help
Lynton -
MenuBar mouse rollover event not firing
Is MenuBar in SDK 4.1/4.5 a little flaky to anyone else?
The rollover events fire as they should at first, but if you move the mouse fast enough, it seems to screw up eventually and at that point only the itemRollOut event is firing (no itemRollOver at all, even though the mouse clearly moved over a new menu item!)
Also sometimes I'm able to get the menu item's background-highlight effect to remain, if I move the mouse cursor away fast enough. Is this a crummy or little used component, or what? I'm using Halo only...Expected response on this, but I can add that it seems to happen mostly when a drop down menu has only one item listed. The plan is to add more (obviously) but it's a little odd - I'm wondering if anyone can reproduce the same result with a MenuBar menu that only has one option. Of course it works "at first", you have to play around with it a bit for the events to get out of sync, so it's tough...
-
Events do not appear on Calendar list viewed as web part
We're recreating a site.
We've got calendars set up that Anonymous can view and read the events (and if they access the calendars directly...they can see everything.
If I embed the calendars in web pages as web parts, the calendars are there...but none of the events appear. (on our original site, Anon. see events and can open them).
Anonymous has access to the entire site... so I don't know where any security issues could be coming in to play.Hi
Carphuntin_god,
It’s ok for anonymous users. I configured anonymous access for the entire site. Create a web page, add the calendar web part,
set its view to all events, then it shows all the events.
Have a try on another site with default master page.
Best Regards.
Kelly Chen
TechNet Community Support
Maybe you are looking for
-
Hi all Could you please tell me what and how to Account Posting Standard for Free Goods. I want to Post Account for Billing Free goods to Cost of Sales. Please tell me how to configure. Thank and Best regards,
-
How to get rid of these reappearing invisible e-mail drafts?
I have a pretty crappy problem with my iPhone. Basically, if I begin to type an e-mail message (doesn't matter what e-mail account I use) and stop typing it (where it makes a draft), if I cancel/delete that draft and never send the e-mail, the draft
-
Working with linked video files in Flash CS5
Hi, I'm working on a project that involves making decisions that affect how a short film plays out. The basic idea is link some video files to the flash file (don't embed because it loses a lot of quality) and have buttons appear at the end of each c
-
How to switch the country in ipad 3
hallo, I am using ipad 3, my home country is India and I work in Kuwait, so my settings are accordingly done. I was able to install free apps directly thru appstore in ipad, but now when I try to do free apps it is saying "ACCOUNT NOT IN THIS STORE
-
[原创] Apache 2.x与WLS9.1集成-Solaris篇
目的:使用Apache做WebLogic Server 9.1集群的负载分发 1. 软件环境描述 Sun Solaris 10 WebLogic Server 9.1 Solaris 10安装自带Apache 2,位置为/usr/apache2 使用weblogic用户安装WebLogic Server 9.1,位置为 ~/bea/weblogic91 2.生成并修改Apache配置文件 最好使用root用户登陆,否则需要修改的地方很多,比如端口,日志文件的位置等,这里不讨论 #cd /etc/