Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all 11571 articles
Browse latest View live

Path and name issue workflow

$
0
0

Hello,

Im using Update list item function in a workflow to move a document around mid workflow.

I tested the moving from main folder to sub folder but if i try to go back 1 folder it does not work and gives error.

Example:
folder structure is as follows: test1->in check, approved

New document is worked on test1
Signature process is started and document is moved from test1 to test1->in check

After it is approved it is moved from test1->in check to test1->approved at this stage the workflow gives a error.

Is it possible to move a document around with update list item field path and move like this?

If no is there another solution that would work?


How to reconnect sharepoint in MS Access 2013 vb code?

$
0
0
Hi! I am looking for the vb code that can automatically reconnect the sharepoint from the internet. When the internet is downed, all the tables that link to web sharepoint  in the MS Access 2013 will be disconnected. When the internet is on again, the tables are unable to link to web sharepoint. Usually I can click a button  'Reconnect all the tables' in MS Access 2013, but I disable the 'layout view', 'allow full menu' & others in the 'Access Option'. So, the button reconnect the sharepoint is hidden too . I need a visual basic code that can automatically connect the shapepoint when the internet is on. Thank You!

Kendo ui Map not working with SharePoint 2010

$
0
0
I have to use the kendo ui map for the publishing site. 
I have added all the references like css, js and added all the html Map rendering code and added with the script editor, it only shows the
navigator and zoom in/out buttons. 
Please help me and let me know either its possible or not?
But I got one article which is for office 365 as -
Click here 
And also it's working fine with 
html and asp.net
Thanks in Advance!!!

2010 Client Object model: Forms Authentication- 401 Unauthorized

$
0
0


I am using Client Object model for the forms authentication web application and I get 401 unauthorized error.
Tried with CredentialCache.DefaultCredentials but still no use. Please help me on this.

Thanks in Advance!


Below is my code

static void clientContext_ExecutingWebRequest(object sender, WebRequestEventArgs e)
        {
            e.WebRequestExecutor.WebRequest.Headers.Add("X-FORMS_BASED_AUTH_ACCEPTED", "f");
        }

        public static void AddDocSet(string siteUrl, string listName )
        {

            ClientContext clientContext = new ClientContext(siteUrl);
        clientContext.ExecutingWebRequest += new EventHandler<WebRequestEventArgs>(clientContext_ExecutingWebRequest);
          clientContext.AuthenticationMode = ClientAuthenticationMode.Default;


         clientContext.Credentials = new NetworkCredential("XXXX", "XXX", "YYY");
            Web web = clientContext.Web;
            List list = clientContext.Web.Lists.GetByTitle(listName);

            clientContext.Load(clientContext.Site);

            clientContext.ExecuteQuery();

}

   

SP Data via VBA not returning results correctly.

$
0
0

Not sure if this is an SP question or MS Access, but we have some SP 2010 linked lists in MS Access 2007. And, we query a specific list for a specific record, using VBA in an MS Word doc, that contains a bit of Lookup data. I believe it is less than it's lookup limit.

The issue we have for "some" users is that when the record is returned, one of the column values we ask for is blank. The best way to describe this is:

Computer A, BOB opens a VBA enabled doc which queries for a project record and the results are returned except stakeholder columns data is empty.

Computer B, Stan opens same VBA enabled doc which queries for the same project record and the results are returned correctly.

Computer A, Stan opens same VBA enabled doc which queries for the same project record and the results are returned except stakeholder columns data is empty.

I know we don't have column permissions in SP and I believe, we've had the issue come and go with user profile replacement, though it sounds like an MS Office issue.

I hope I was clear on the issue. Any Idea what is going on?

Ken.

Error: Cannot convert value "Note" to type "System.Type". Error: "Invalid cast from 'Microsoft.SharePoint.SPFieldType' to 'System.Type'."

$
0
0

Hi,

I am trying to access a multiline text field using powershell. I am tring to use "GetFieldValueAsText" option.

I have tried the below code:

 foreach($item in $listItems)
    {
        Write-Host $item.Title


        $calculatedfield = $item.Fields["Test Notes"] -as [Microsoft.SharePoint.SPFieldType]::Note;

        $item["Test Notes"] = $calculatedfield.GetFieldValueAsText($item["Test Notes"]);


        $item.SystemUpdate();

    }


I am getting the below error:

Cannot convert value "Note" to type "System.Type". Error: "Invalid cast from 'Microsoft.SharePoint.SPFieldType' to 'System.Type'."
At \RemoveCharacters.ps1:26 char:9+         $calculatedfield = $item.Fields["Test Notes"] -as [Microsoft. ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo          : InvalidArgument: (:) [], RuntimeException+ FullyQualifiedErrorId : InvalidCastIConvertible

You cannot call a method on a null-valued expression.
At \RemoveCharacters.ps1:28 char:9
+         $item["Test Notes"] = $calculatedfield.GetFieldValueAsText($i ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException+ FullyQualifiedErrorId : InvokeMethodOnNull

How to fix this? How to use the option GetFieldValueAsText in powershell for multiline column?

Thanks

on the sharepoint 2010 , How to read the listItems from sharepoint online. use js pls, for example rest api/ECMA/SPServices and so on

$
0
0

on the sharepoint 2010 , How to read the listItems from sharepoint online. use js pls, for example rest api/ECMA/SPServices and so on.

have a example ,

Thanks very much

Nigel Liang

Get count Using SPService

$
0
0

Hi All,

My list is as follows :


Application nameMonthTest cases
AJan100
BFeb200
AJan300
       

I want to find total test cases for Application A in Jan and so on, there are different instances(as in list items) of data and display it in HTML data 

and I want to do it using SPServices, I know how to you SPServices to get all list items using SPServices but I really dont know how to get data when I want to apply a condition in CAML query 

please guide.


Loadbalancer redirecting from Https to Http

$
0
0

Hi All,

I have my ASP.NET 4.5 application running on the server and a F5 load balancer is configured with SSl certificate on it , the initial login page url is accessed as (through load balancer) https:\\server\login.aspx and is working fine but after login when the application redirects it to home page [..\server\home.aspx] it is redirecting with http and thus the page doesn't get loaded.

can some one help me on this.

Regards

-PJ-

Approval workflow tutorials using Visual studio 2010

$
0
0

Hi,

I am new to Sharepoint 2010 and up to this point I have worked with Sharepoint designer 2010 but I have realised that sometimes it limits my work. 

For this reason, I need to start knowing how to develop a workflow (most probably an approval one) using visual studio 2010, I have searched on the Internet but I do not want ready made solutions or to copy paste code, I need a good tutorial. Do you have any ideas of a book a youtube video or something that is a good tutorial to start "playing with approval workflows in SP 2010 and VS 2010?

Calendar View Does Not Display All Items

$
0
0

I'm using SP Foundation.

I started a new calendar (I've not been using SP 2010 for about 2 months so I'm a little rusty).

The calendar view says show all items in this view.  The All Events view is set up the same.

When I open up SP as J Doe and then me, and when I make a calendar item, J Doe cannot see it in Calendar view.  I want Doe and me to see all of our items in Calendar view, not just the All Events view.  The funny thing is though when I go to look at the view settings, for calendar it says Show All Items in This View, so that's why I cannot understand why both Doe and mine are not showing up for each other.

Please advise.


Mike Walton

close SP.UI.ModalDialog on click outside

$
0
0

Hey All

Is there any way to close  SP.UI.ModalDialog when a user clicks outside the dialog box (Black transparent layer) above the base page ??

 

How to create a Custom NewDocSet.aspx

$
0
0

Hi,

I have a Content Type that inherits from Document Set and want to use a custom NewDocSet.aspx page.

I've followed the article: http://msdn.microsoft.com/en-us/library/ff512780.aspx and used PowerShell to point my Content Type to use that as its NewFormUrl and it picks up the custom NewDocSet page successfully (I've called mine CustomNewDocSet.aspx and it's located at the root of _Layouts.

But the only thing the CustomNewDocSet.aspx page displays is the Title of the List and the Title of the Content Type which is fairly useless (that is all the above article's code does).

What I'm looking for is a way to customise it further so it automatically shows all of the fields in my Content Type exactly how the out-of-the-box NewDocSet.aspx page does. Basically I want to mimic how the NewDocSet.aspx page works then add some JavaScript to it (which I'll be fine with).

Does anyone have any idea how I can do this?

Thanks

SharePoint 2010 Versioning problem - DeleteAll does not reclaim space

$
0
0

I have a  horrible problem with SP 2010 document library versioning.  I accidentally left some libraries with versioning enabled when I was programmatically updating metadata.  I ran out of space  on my (hosted) site, and discovered that everytime the metadata was modified in any way,  SP made a new version and created an entire new image of the document in the database.  I discovered the API command SPFile.Versions.DeleteAll() and thought - great.  I ran it on all my documents and now I am really up the creek.  It removed the document version history, but the files still take up the same amount of space.  I think this is a SharePoint bug, and the files' records were not removed from the AllDocStreams table.  I am not 100% certain, since I don't have direct access to the content db, but enumsites reports exactly the same amount of storage used after "DeleteAll()".  Since this is a hosted site, this is an expensive problem.  Has anyone heard of this happening?

Is there a smart way to change a versioned library to unversioned (zero retained) and get ALL the storage back?

 

 


Build month! So much new to know! SharePoint 2010 Gurus needed - to help catalogue all this new stuff!

$
0
0

A wonderful week of news and new technology advances from Build this week have filled our minds with new possiblilities!

So much to play with!

Can you help us document some of the new features coming out over the next year?

Do you have a good grasp on how we should now be doing that thing that we do?

Did you find a knowledge gap in the web for the new features now available?

This is a great chance to jump into the TechNet Guru competition and stamp your authority on your favoutrite subject.

All you have to do is add an article to TechNet Wiki from your own specialist field. Something that fits into one of the categories listed on the submissions page. Copy in your own blog posts, a forum solution, a white paper, or just something you had to solve for your own day's work today.

Drop us some nifty knowledge, or superb snippets, and become MICROSOFT TECHNOLOGY GURU OF THE MONTH!

This is an official Microsoft TechNet recognition, where people such as yourselves can truly get noticed!

HOW TO WIN

1) Please copy over your Microsoft technical solutions and revelations toTechNet Wiki.

2) Add a link to it on THIS WIKI COMPETITION PAGE (so we know you've contributed)

3) Every month, we will highlight your contributions, and select a "Guru of the Month" in each technology.

If you win, we will sing your praises in blogs and forums, similar to the weekly contributor awards. Once "on our radar" and making your mark, you will probably be interviewed for your greatness, and maybe eventually even invited into other inner TechNet/MSDN circles!

Winning this award in your favoured technology will help us learn the active members in each community.

Below are February's mighty winners and contenders. We should have March's winners by about mid month.

Guru Award BizTalk Technical Guru - February 2016  

Gold Award Winner

Steef-Jan WiggersBizTalk Server ConvoySandro Pereira: "Explaining what it is and its concepts, it as well, so important as explain how it's done. Very good choice of topic, really well explained and in clearly way. Great job Steef-Jan. For me the best of the month. "
Ed Price: "The diagrams really bring this alive!"
LG: "It is really full description of one of the complex idea in BizTalk." 

Silver Award Winner

Eldert GrootenboerDeploying web services with BizTalk Deployment FrameworkEd Price: "Thank you! This is a much-needed scenario that's very well written!"
Sandro Pereira: "Again well explain and in clearly way, an excellent article for BTDF lovers :). Great job."

Bronze Award Winner

lanaxContinuous deployment - BizTalk Applications built using BTDF and Octopus deploySandro Pereira: "Good article, nice to see people right about new tools and how that they can add value."
Ed Price: "Great scenario on continuous deployment! The code could use a breakdown to explain the parts, but the introduction is very thorough!"

 

Guru Award Forefront Identity Manager Technical Guru - February 2016  

Gold Award Winner

Jeff IngallsMIM 2016: Privileged Access Management (PAM) - FAQEd Price: "Great resource to come back to!"
Søren Granfeldt: "Good start"

Silver Award Winner

Wim BeckFIM2010: Selective Import Attribute FlowSøren Granfeldt: "Nice ideas...."
Ed Price: "Great scenario and thorough Intro and Possible Solutions sections! Could benefit from a breakdown of the code or a conclusion. Great formatting!"

Guru Award Microsoft Azure Technical Guru - February 2016  

Gold Award Winner

Steef-Jan WiggersAccess Azure Redis Cache with an API AppJH: "Nice article about combining Redis and API Apps, especially the integration of Swagger is great."

Silver Award Winner

XAML GuyIoT Suite Under The Hood - Predictive MaintenanceJH: "Have played with the template myself. Great to see an article about it. Would love to see an article on how to customize the template in more detail."

Bronze Award Winner

Samir FarhatHow to access an ARM Azure virtual machine from InternetJH: "Had the problem myself in the beginning. Found a way through the portal. Good to see PowerShell scripts to do it in a repeatable fashion."

 

Guru Award Miscellaneous Technical Guru - February 2016  

Gold Award Winner

Geetanjali AroraAn Introduction to Microsoft Graph APIRichard Mueller: "Very well explained with good detailed steps. I like the references."
Peter Laker: "Top marks Geentanjali, nice article"

Silver Award Winner

Gaurav Kumar AroraCruds in NancyFx using ASP.Net and FluentNHibernate Using Repository PatternRichard Mueller: "Lots of good code and images. Grammar needs work."
Peter Laker: "Very interesting, thanks Gaurav"

Bronze Award Winner

SYEDSHANUASP.NET MVC User Role Base Menu Management Using WEB API And AngularJS

Peter Laker: "Wow great article!"
Richard Mueller: "Lots of code and detailed steps."

 

Guru Award SharePoint 2010 / 2013 Technical Guru - February 2016  

Gold Award Winner

Nathanaël StassartOneDrive : Next Generation Sync Client Deployment guideEd Price: "Wow this is thorough! Great formatting, color-coding the tables, including images, code formatting, and a general breakdown of each step, in depth!"
Richard Mueller: "Good use of Wiki guidelines and great links. The "See Also" should be Wiki articles, this is really "Other Resources"."

Silver Award Winner

Rakhi JainSharePoint 2013 : Customize Document Library TreeView Navigation BarRichard Mueller: "Great use of Wiki guidelines."
Ed Price: "Short and sweet. Great scenario and good use of an image and code formatting! Very clear steps."

Bronze Award Winner

TenPartSharePoint 2010: Updating TermStore using PowerShellEd Price: "Good details and formatting. Could benefit from a TOC, breakdown of the code, and a See Also section at the end for Wiki links. Thank you!"
Richard Mueller: "Good code. We could use some references."

Guru Award Small Basic Technical Guru - February 2016  

Gold Award Winner

Ed Price - MSFTSmall Basic 1.2: Installation GuideRichard Mueller: "Good use of Wiki guidelines. Great images that detail the steps."

Silver Award Winner

Nonki TakahashiSmall Basic: DesktopMichiel Van Hoorn: "Realy cool to interact with Windows components."
Richard Mueller: "Excellent use of Wiki guidelines"

Bronze Award Winner

Ed Price - MSFTSmall Basic: How to Publish Your ProgramRichard Mueller: "Good images and useful information."
Michiel Van Hoorn: "Sharing is caring. How much fun is it to share your code with friends and family"

Guru Award SQL BI and Power BI Technical Guru - February 2016  

Gold Award Winner

Benchmark your SQL Server instanceSSIS - Transfer data from Multiple tables using a single DFTPT: "Vinay, this is a very creative and useful solution to a difficult problem. I've seen multiple ETL frameworks for SSIS over the years and I think your approach is quite sound. Congratulations on winning the Guru award this month!"
RB: "Nice walkthrough and solution to a common scenario"

Silver Award Winner

Visakh16SSRS Tips : Implementing OR Based Logic for Dataset FiltersPT: "Visakh, thanks for posting this useful information about report filters. This is a powerful feature that takes a bit of effort to use effectively."

Bronze Award Winner

Greg DecklerDates Prior to 1900 in DAXPT: "Greg, thanks for this insightful contribution. The date range limit is something I run into all the time and is a tough problem to solve. This is a good work-around technique."
RB: "Interesting workaround"

Guru Award SQL Server General and Database Engine Technical Guru - February 2016  

Gold Award Winner

FLaufferWorkaround for Delay in Transaction Log Truncation: Snapshot ReplicationUR: "good and short explanation of a common problem with transaction logs."
DRC: "The article talks about executing sp_repldone as workaround which can be used only as a last resort. "

Guru Award System Center Technical Guru - February 2016  

Gold Award Winner

Darren JoyceSCOM Reset Health on Alert CloseAlan Carlos: "Thanks for article!"
Ed Price: "Great depth and details in this article! "

Guru Award Transact-SQL Technical Guru - February 2016  

Gold Award Winner

Olaf HelperSQL Server: Implementation of N-Gram Search Index

Richard Mueller: "Very interesting ideas for search. Good use of Wiki guidelines"

Ed Price: "I love how you break down the code and explain it so thoroughly!"

Silver Award Winner

Natig GurbanovSQL SERVER:Using Datalength() function

Richard Mueller: "Interesting. This could use some references."

Ed Price: "Great topic. It could benefit from more explanation of the code."

Guru Award Universal Windows Apps Technical Guru - February 2016  

Gold Award Winner

George ChondrompilasReal-time chat UWP application using Azure Mobile App and SignalR

JH: "Nice and simple example. Would love to see more examples using SignalR."

Ed Price: "The breakdown of the code and the images add great value."

Silver Award Winner

Magnus (MM8)UWP: Disabling Selection Of Items In a ListView

JH: "Nice workaround for disabling items."

Ed Price: "Fantastic formatting and great explanations!"

Guru Award Visual Basic Technical Guru - February 2016  

Gold Award Winner

.paul.calc2 - A VB.Net OOP CalculatorMR: "Nice example!"
Richard Mueller: "Interesting ideas. Lots of well documented code. Good use of Wiki guidelines."

Silver Award Winner

SYEDSHANUControl Chart Using VB.NetMR: "Nice and easy to use chart!"
Richard Mueller: "Nice GUI. Lots of code."

Guru Award Visual C# Technical Guru - February 2016  

Gold Award Winner

SYEDSHANUASP.NET 5 CRUD using Scaffolding and Entity FrameworkCarmelo La Monica: "Very interesting article, very detailed and good images and video."
Jaliya Udagedara: "Good article with a detail explanation. And the sample code is available in MSDN Code Gallery. Hint: you can use EF itself to generate the database and seeding the data rather than running the scripts."

Silver Award Winner

Emiliano MussoBinary Clock in C# and WPFJaliya Udagedara: "This is interesting. Great explanation using code snippets, images and a video. And the sample code is available in MSDN Code gallery. Just great!"
Carmelo La Monica: "Congratulation, very impressive imeges, good video dimostration and lot of funny :)"

Bronze Award Winner

Brian SeekfordHow to access legacy forms checkboxes and ActiveX checkboxes in Word using C#! by Brian SeekfordJaliya Udagedara: "Would love to have a better formatting in the article and of course a sample to download and try it out."
Carmelo La Monica: "Good article. it can benefit format C# code and table of contents."

 

Guru Award Wiki and Portals Technical Guru - February 2016  

Gold Award Winner

Ed Price - MSFTWiki: Dynamics CRM PortalRichard Mueller: "A great portal with great links."

Guru Award Windows PowerShell Technical Guru - February 2016  

Gold Award Winner

Pierre-Alexandre Braeken MCSERSA with PowerShell - PowerRSAEd Price: "Great depth! This article will be a good resource to return to!"

Silver Award Winner

Richard MuellerPowerShell AD Module Cmdlets Cannot Clear, Add, Remove or Replace Back Link AttributesEd Price: "Beautiful formatting, and great use of the different sections!"

Guru Award Windows Presentation Foundation (WPF) Technical Guru - February 2016  

Gold Award Winner

Andy ONeillCombobox Matching Complex Type

Peter Laker: "Nice work Andy. Well presented and useful, just like you!"

Ed Price: "I love how Andy's articles break down each snippet like this!"

Silver Award Winner

Brian SeekfordHow to display a different value in a WPF combobox based on selection i..e None instead of blank by Brian Seekford

Peter Laker: "Thank you Brian, good contribution"

Ed Price: "Good scenario. Could benefit from See Also links and code explanations. Good article!"

Guru Award Windows Server Technical Guru - February 2016  

Gold Award Winner

Kia Zhi Tang (Ryen Tang)Nano Server: Deploying an Internet Information Services (IIS) Web ServerAlan Carlos: "Great article! Congratulations!!! Nano Server is amazing!"
JM: "This is an excellent article on Nano server, thanks for your contribution"
Richard Mueller: "Good references and step by step instructions."
Mark Parris: "Good insight into the one of Nano server's capabilities."

Silver Award Winner

Mahdi TehraniLoad balancers and Active DirectoryMark Parris: "Critical information that people need to be aware of."
JM: "This is a good article that could use an edit pass for clarity"
Richard Mueller: "I share your concern for the need of a load balancer. Any AD integrated app should use AD group memberships."

Good luck!
Pete Laker


#PEJL
Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over toTechNet Wiki, for future generations to benefit from! You'll never get archived again, and you could win weekly awards!

Have you got what it takes o become this month's TechNet Technical Guru? Join a long list of well known community big hitters, show your knowledge and prowess in your favoured technologies!


Reset Dropdown list in sharepoint webpart

$
0
0

Hello Techies,
I have a webpartwhere there are fields like:

  • Year(DropDown)
  • Month(DropDown)
  • Employer(txtbox)
  • CTClakhs(txtbox)
  • CTCthousand(txtbox)
  • Currency(Dropdown)

Here i got the requirement like if Year and Month values are "0" then I need to disable and reset the values of other fields say Employer,CTClakhs,CTCThousandsand Currency
so for this I wrote the validations in javascript which are called onChange event of Year and Month dropdowns

 function clearFunction() {

        if (document.getElementById('ctl00_PlaceHolderMain_form1_ddlYears').value == 0 && document.getElementById('ctl00_PlaceHolderMain_form1_ddlMonth').value == 0) {
            document.getElementById('ctl00_PlaceHolderMain_form1_txtEmployer').value = "";
            document.getElementById('ctl00_PlaceHolderMain_form1_txtLacs').value = "";
            document.getElementById('ctl00_PlaceHolderMain_form1_txtThousand').value = "";
            document.getElementById("ctl00_PlaceHolderMain_form1_ddlCurrency").selectedIndex = 0;
            //document.getElementById("ctl00_PlaceHolderMain_form1_ddlCurrency").value = 0;
            document.getElementById('ctl00_PlaceHolderMain_form1_txtEmployer').disabled = true;
            document.getElementById('ctl00_PlaceHolderMain_form1_txtLacs').disabled = true;
            document.getElementById('ctl00_PlaceHolderMain_form1_txtThousand').disabled = true;
            document.getElementById("ctl00_PlaceHolderMain_form1_ddlCurrency").disabled = true;

        }
        else {

                            document.getElementById('ctl00_PlaceHolderMain_form1_txtEmployer').disabled = false;
                            document.getElementById('ctl00_PlaceHolderMain_form1_txtLacs').disabled = false;
                            document.getElementById('ctl00_PlaceHolderMain_form1_txtThousand').disabled = false;
                            document.getElementById('ctl00_PlaceHolderMain_form1_ddlCurrency').disabled = false;

        }

But here values of all the fields are getting reset except Currency dropdown 
Later I check the value of Currency through console and the value was getting reset but it was not reflected in UI (still shows selected value)

Here I wanted to reset the value of Currency dropdown :( :( 

Again for this i tried to achieve .cs file and made the change on .ascx file like

<asp:UpdatePanel ID="OuterUpdatePanel" runat="server"  UpdateMode="Conditional"><ContentTemplate><tr class="contactForm twoSelects"><td><label for="exp">
                Total Experience <span class="required"></span></label></td><td class="selector" id="uniform-undefined"><div><asp:DropDownList ID="ddlYears" CssClass="uniformselect" onSelectedindexChanged="drp_Commoncleardata" autopostback="true"  runat="server" Width="100%"
                    BackColor="Transparent"></asp:DropDownList></div><div><asp:DropDownList ID="ddlMonth"  CssClass="uniformselect" onselectedindexchanged="drp_Commoncleardata" autopostback="true"  runat="server" Width="100%"
                    BorderStyle="None"><asp:ListItem Value="-1">-- In Months -- </asp:ListItem><asp:ListItem Value="0">0 </asp:ListItem><asp:ListItem Value="1">1</asp:ListItem><asp:ListItem Value="2">2</asp:ListItem><asp:ListItem Value="3">3</asp:ListItem><asp:ListItem Value="4">4</asp:ListItem><asp:ListItem Value="5">5</asp:ListItem><asp:ListItem Value="6">6</asp:ListItem><asp:ListItem Value="7">7</asp:ListItem><asp:ListItem Value="8">8</asp:ListItem><asp:ListItem Value="9">9</asp:ListItem><asp:ListItem Value="10">10</asp:ListItem><asp:ListItem Value="11">11</asp:ListItem></asp:DropDownList></div></td></tr><tr class="contactForm"><td><label for="org">
                Current Organization <!--<span class="required"></span>--></label></td><td><asp:TextBox ID="txtEmployer" runat="server" CssClass="textbox" MaxLength="50" BackColor="Transparent"></asp:TextBox></td></tr><tr class="contactForm"><td></td><td colspan="2"><label style="width: 250px !important;"><!--(Enter NA in case of fresher)--></label></td></tr><tr class="contactForm"><td><label for="CTC">
                Current Compensation (CTC) <!--<span class="required"></span>--></label></td><td><asp:TextBox ID="txtLacs" onkeypress="return numbersonly(event, false)" runat="server"
                CssClass="textbox_CTC" MaxLength="10" BackColor="Transparent"></asp:TextBox>&nbsp;&nbsp;&nbsp;<span
                    class="field_Desc">Lacs</span> &nbsp;&nbsp;<asp:TextBox ID="txtThousand" onkeypress="return numbersonly(event, false)" runat="server"
                CssClass="textbox_CTC" MaxLength="10"></asp:TextBox><br />&nbsp;&nbsp;&nbsp;<span class="field_Desc">Thousand</span></td></tr><tr class="contactForm"><td><label for="currency">
                Currency</label></td><td><asp:DropDownList ID="ddlCurrency" runat="server"  CssClass="combobox_new uniformselect"  Width="100%"  BackColor="Transparent" ></asp:DropDownList></td></tr></ContentTemplate><Triggers><asp:AsyncPostBackTrigger ControlID="ddlYears" EventName="SelectedIndexChanged" /><asp:AsyncPostBackTrigger ControlID="ddlMonth" EventName="SelectedIndexChanged" /></Triggers></asp:UpdatePanel>

.cs code 

protected void drp_Commoncleardata(object sender, EventArgs e)
        {
            if ((ddlMonth.SelectedValue == "0") && (ddlYears.SelectedValue == "0"))
            {
                ddlCurrency.ClearSelection();
            }

        }

the above code is also not helping me 
Please help and let me know what needs to be done to reset DropDown selection 



Approval workflow for list item

$
0
0

Hi All,

We have a requirement when a user submits adds a new item in a SharePoint list, that item should go for a review to a particular group of user, post their approval only the data should show up in the SharePoint list.

Do you think this can be implemented ? Looking for a Designer workflow as work no access to coding.

Please guide.

Site workflows not available after feature activation

$
0
0

Hi there,

I've created 2 custom site workflows via Visual Studio.  When I deploy the solution via Visual Studio....the workflows are available for me to use and execute without issues.

But when I deploy them via powershell, the workflows do no appear and are not available in the site workflow list.

Uninstall-SPSolution -Identity "abc.wsp"
Remove-SPSolution –Identity "abc.wsp" -force
Add-SPSolution -LiteralPath "E:\Deployments\abc.wsp"
Install-SPSolution –Identity abc.wsp  -GACDeployment

I've attempted to deactivate/activate the feature via powershell and site settings.....i've restarted iis a dozen times.....

I've also monitored the ULS while deploying/installing the solution.....no errors.

What is Visual Studio doing that I'm not?

Thanks,
Eric

Unable to see MS Access form on SharePoint

$
0
0

Hi All,

I have a Access 2010 DB and it has only 1 table, I created a form using Form Wizard and published it on my SharePoint site.

I also got a message that said Publish was successfully published on URL

When I go to the URL,I can see the list of tables, list of forms, design with Access option & Settings option but I cannot see my form 

Why cant I find my form ?

Please guide.

Sharepoint 2010 print pdf from Client Desktops Default printer

$
0
0

We have web application under SharePoint 2010. PDf documents are stored in SharePoint sites. SharePoint site is deployed on the server. Our requirement is  when users are going to browse the SharePoint site from their Client machine with the click of Print button on the SharePoint site they should be able to print pdf documents using client machine’s default printer.

We are ready to purchase third party dll or solution to achieve the above requirement. 

Viewing all 11571 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>