New answers tagged

2

Why you are using SPLinkButton? You can simply use HyperLink with its attribute called Navigateurl from your code. You can follow below steps in below mentioned URL. Open PDF files from a Document Library in a New Window Follow this Open IIS manager (Start | Control Panel | Administrative Tools | Internet Information Services Manager). Expand the ...


0

There's two things to suggest here: In IIS, at the folder level for "CarTracking", you need to create a new Application (in IIS-sense), so your app is hosted in a dedicated app domain (in the sense of .NET). You may also choose to host this new application in a dedicated app pool but that's not mandatory. You need to edit your web.config file in ...


1

Updated Just try below code: Just replace SPUtility line with below code: string url = HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Path) + "?ID=" + wayBillID; SPUtility.Redirect(url, SPRedirectFlags.Default, HttpContext.Current); Hope this will help you.


1

Please try below mentioned code by which you can change the querystring parameter value UPDATED var qs = HttpUtility.ParseQueryString(HttpContext.Current.Request.Url.PathAndQuery); qs.Set("ID", "Your desired value which you want to change"); SPUtility.Redirect(qs, SPRedirectFlags.Default, HttpContext.Current); Please let me know if it works as i haven't ...


1

This is the solution (: SPList wayList = web.Lists["WayBill"]; SPFieldChoice dropdown = wayList.Fields.GetFieldByInternalName("Company") as SPFieldChoice; foreach (string choiceName in dropdown .Choices) { ddCompany.Items.Add(choiceName); }


1

updating a MM field is a little different to a single line of text field! You have to create an object of type TaxonomyFieldValue then set the GUID and label to the field and then you can set the field to this object. (I am a C# programmer, so apology to not be able to give you the code in VB, but you get the idea!) TaxonomyField ...


0

This was used at the end of the page, just passed the piece of Javascript. <div class="portfolioFilter text-center" > <a href="#" style="display:none;" data-filter=".fakeCategory" id="Fake" class="current"><img src="../SiteAssets/all.jpg"/></a> <xsl:call-template name="dvt_1"/> ...



Top 50 recent answers are included